Show 3ware raid status / SMART of harddisks



  • Found this topic, but I can not reply there.
    http://forum.pfsense.org/index.php/topic,30708.0.html

    How can I read out the raid status of my 3ware 8000 series controller?

    [2.0-RC3][root@pfsense.local]/root(10): mount
    /dev/twed0s1a on / (ufs, local)
    
    [2.0-RC3][root@pfsense.local]/root(11): smartctl -a /dev/twa0 -d 3ware,2
    smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.1-RELEASE-p4 amd64] (local build)
    Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
    
    Smartctl open device: /dev/twa0 [3ware_disk_02] failed: No such file or directory
    
    [2.0-RC3][root@pfsense.local]/root(12): smartctl -a /dev/twed0s1a -d 3ware,2
    smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.1-RELEASE-p4 amd64] (local build)
    Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net
    
    Smartctl open device: /dev/twed0s1a [3ware_disk_02] failed: Operation not permitted
    

  • Rebel Alliance Developer Netgate

    Check the boot log and see if it was actually detected. (cat /var/log/dmesg.boot) It may not be twa0, it's probably twe0.

    $ apropos 3ware
    twa(4)                   - 3ware 9000/9500/9550/9650 series SATA RAID controllers driver
    twe(4)                   - 3ware 5000/6000/7000/8000 series PATA/SATA RAID adapter driver
    


  • @ jimp,

    found it in the dmesg.boot, but how can I see the raid status now?  ???

    twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xec00-0xec0f mem 0xfbfffc00-0xfbfffc0f,0xfb000000-0xfb7fffff irq 20 at device 0.0 on pci6
    twe0: [GIANT-LOCKED]
    twe0: [ITHREAD]
    twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048
    twed0: <unit 0,="" twinstor,="" normal=""> on twe0
    twed0: 476939MB (976771120 sectors)</unit>
    

  • Rebel Alliance Developer Netgate

    The same commands you used before, just use twe not twa.



  • You're right, thank you.


Locked