Code: Select all
sideswipe:~# camcontrol devlist
<NECVMWar VMware IDE CDR10 1.00> at scbus1 target 0 lun 0 (pass0,cd0)
<VMware Virtual disk 1.0> at scbus2 target 0 lun 0 (pass1,da0)
<ATA Hitachi HUA72302 A840> at scbus3 target 0 lun 0 (pass2,da1)
<ATA Hitachi HUA72302 A840> at scbus3 target 1 lun 0 (pass3,da2)
<ATA Hitachi HUA72302 A840> at scbus3 target 2 lun 0 (pass4,da3)
<ATA Hitachi HUA72302 A840> at scbus3 target 3 lun 0 (pass5,da4)
<ATA Hitachi HUA72302 A840> at scbus3 target 4 lun 0 (pass6,da5)
<ATA Hitachi HUA72302 A840> at scbus4 target 0 lun 0 (pass7,da6)
<ATA Hitachi HUA72302 A840> at scbus4 target 1 lun 0 (pass8,da7)
<ATA Hitachi HUA72302 A840> at scbus4 target 2 lun 0 (pass9,da8)
<ATA Hitachi HUA72302 A840> at scbus4 target 3 lun 0 (pass10,da9)
<ATA Hitachi HUA72302 A840> at scbus4 target 4 lun 0 (pass11,da10)
<ATA INTEL SSDSA2CW12 0362> at scbus4 target 5 lun 0 (pass12,da11)
<ATA INTEL SSDSA2CW12 0362> at scbus4 target 6 lun 0 (pass13,da12)
etc.
Code: Select all
sideswipe:~# camcontrol identify /dev/da1
sideswipe:~#
Code: Select all
sideswipe:~# camcontrol inquiry da1
pass2: <ATA Hitachi HUA72302 A840> Fixed Direct Access SCSI-6 device
pass2: Serial Number YFHSMMZA
pass2: 600.000MB/s transfers, Command Queueing Enabled
Code: Select all
sideswipe:~# camcontrol standby da1
(pass2:mps0:0:0:0): STANDBY_IMMEDIATE. ACB: e0 00 00 00 00 40 00 00 00 00 00 00
(pass2:mps0:0:0:0): CAM status: Function Not Available
Code: Select all
sideswipe:~# dmesg|grep mps0
mps0: <LSI SAS2008> port 0x5000-0x50ff mem 0xd2500000-0xd2503fff,0xd2540000-0xd257ffff irq 19 at device 0.0 on pci11
mps0: Firmware: 16.00.00.00, Driver: 14.00.00.01-fbsd
mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
da1 at mps0 bus 0 scbus3 target 0 lun 0
da2 at mps0 bus 0 scbus3 target 1 lun 0
da3 at mps0 bus 0 scbus3 target 2 lun 0
da4 at mps0 bus 0 scbus3 target 3 lun 0
da5 at mps0 bus 0 scbus3 target 4 lun 0
sideswipe:~# dmesg | grep mps1
mps1: <LSI SAS2008> port 0x6000-0x60ff mem 0xd2600000-0xd2603fff,0xd2640000-0xd267ffff irq 16 at device 0.0 on pci19
mps1: Firmware: 16.00.00.00, Driver: 14.00.00.01-fbsd
mps1: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>
da11 at mps1 bus 0 scbus4 target 5 lun 0
da12 at mps1 bus 0 scbus4 target 6 lun 0
da7 at mps1 bus 0 scbus4 target 1 lun 0
da8 at mps1 bus 0 scbus4 target 2 lun 0
da10 at mps1 bus 0 scbus4 target 4 lun 0
da9 at mps1 bus 0 scbus4 target 3 lun 0
da6 at mps1 bus 0 scbus4 target 0 lun 0
Code: Select all
sideswipe:~# ataidle /dev/da1
Model:
Serial:
Firmware Rev:
ATA revision: unknown/pre ATA-2
LBA 48: no
Geometry: 0 cyls, 0 heads, 0 spt
Capacity: 0MB
SMART Supported: no
Write Cache Supported: no
APM Supported: no
AAM Supported: no
Code: Select all
sideswipe:~# ataidle -S 5 /dev/da0
ataidle: the device does not support power management
I would like it if it is possible to get my HDD's in spindown by using the web interface. But it seems that this only works for AHCI/SATA controllers and not for SCSI controllers. There is a tool to spindown SCSI HDD's in BSD: http://www.noresult.net/freebsd/spindown/
Who to get my HDD's in spindown by using the web interface?




