Command Line Version
# cd /usr/ports/sysutils/tw_cli
# make install
# tw_cli help
# tw_cli info
# tw_cli info c0
# tw_cli info c0 u0
# tw_cli /c0 show
You can also get very concise status reports:
# tw_cli info c0 u0 status
Web-based Version
# cd /usr/ports/sysutils/3dm
# make install
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Don't forget to edit '/usr/local/etc/3dm2/3dm2.conf'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Visit https://bsd-fs.local:888/
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Edit /usr/local/etc/3dm2/3dm2.conf file
# vi /usr/local/etc/3dm2/3dm2.conf
To run 3DM2 at startup, add twdm2_enable="YES" to your /etc/rc.conf
# vi /etc/rc.conf
twdm2_enable="YES"
start 3dm
# /usr/local/etc/rc.d/3dm2 start
Visit https://localhost:888/
Open up your browser and visit https://localhost:888/.
The default password is 3ware.
Note: make sure you do change the admin password right away.
Note: if you got a blank page returned, make sure you visit "https".
HOW TO ADD A HOTSPARE DRIVE TO A 3WARE ARRAY/CONTROLLER RAID5
You can add a hotspare drive to a 3ware controller using the tw_cli utility:
# tw_cli /c0 show
# tw_cli /c0 add type=spare disk=3
Note:
c0 // it is the controller.
3 // it is the port number.
# tw_cli /c0 show all
/c0 Driver Version = 3.80.06.003 /c0 Model = 9650SE-4LPML /c0 Available Memory = 224MB /c0 Firmware Version = FE9X 4.08.00.006 /c0 Bios Version = BE9X 4.08.00.001 /c0 Boot Loader Version = BL9X 3.08.00.001 /c0 Serial Number = L326010A9510460 /c0 PCB Version = Rev 035 /c0 PCHIP Version = 2.00 /c0 ACHIP Version = 1.90 /c0 Number of Ports = 4 /c0 Number of Drives = 4 /c0 Number of Units = 2 /c0 Total Optimal Units = 2 /c0 Not Optimal Units = 0 /c0 JBOD Export Policy = off /c0 Disk Spinup Policy = 1 /c0 Spinup Stagger Time Policy (sec) = 1 /c0 Auto-Carving Policy = off /c0 Auto-Carving Size = 2048 GB /c0 Auto-Rebuild Policy = on /c0 Rebuild Mode = Adaptive /c0 Rebuild Rate = 1 /c0 Verify Mode = Adaptive /c0 Verify Rate = 1 /c0 Controller Bus Type = PCIe /c0 Controller Bus Width = 4 lanes /c0 Controller Bus Speed = 2.5 Gbps/lane Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy ------------------------------------------------------------------------------ u0 RAID-5 OK - - 256K 931.303 RiW ON u1 SPARE OK - - - 465.753 - OFF VPort Status Unit Size Type Phy Encl-Slot Model ------------------------------------------------------------------------------ p0 OK u0 465.76 GB SATA 0 - WDC WD5001AALS-00L3 p1 OK u0 465.76 GB SATA 1 - WDC WD5001AALS-00L3 p2 OK u0 465.76 GB SATA 2 - ST3500320AS p3 OK u1 465.76 GB SATA 3 - ST3500630AS
No comments:
Post a Comment