Date: Sat, 23 Apr 2011 16:29:10 -0700 (PDT) From: milhousevh <freebsdml@nmacleod.com> To: freebsd-scsi@freebsd.org Subject: mps0 driver - idle/standby/sleep (ie. spin down) supported (SATA drives)? Message-ID: <1303601350238-4335508.post@n5.nabble.com>
next in thread | raw e-mail | index | archive | help
Hi, I've searched but am unable to find any discussion (good or bad) relating to idle, standby and sleep support in the mps0 driver. Presumably this means it's supported and working, or nobody is using it if it's not! I have an LSI 9211-8i flashed with the latest IT firmware, it's working great in FreeBSD 8.2 and 9.0 (using zfsguru distribution) with 8 Samsung drives on an AMD64-based HP Proliant Microserver N36L. I would like to put the drives into standby (spin down) after they have been idle for 30 minutes, however executing "camcontrol idle da0 -t 30" (where da0 is a Samsung F4 2TB disk) results in the following response in FreeBSD 8.2 and 9.0: [root@zfsguru /]# camcontrol idle da0 -t 30 (pass0:mps0:0:0:0): IDLE. ACB: e3 00 00 00 00 40 00 00 00 00 06 00 (pass0:mps0:0:0:0): CAM status: Function Not Available standby and sleep are similar: [root@zfsguru /]# camcontrol standby da0 -t 30 (pass0:mps0:0:0:0): STANDBY. ACB: e2 00 00 00 00 40 00 00 00 00 06 00 (pass0:mps0:0:0:0): CAM status: Function Not Available [root@zfsguru /]# camcontrol sleep da0 -t 30 (pass0:mps0:0:0:0): SLEEP. ACB: e6 00 00 00 00 40 00 00 00 00 00 00 (pass0:mps0:0:0:0): CAM status: Function Not Available I have the following entries in dmesg relating to mps0: [root@zfsguru /]# dmesg|grep mps0 mps0: <LSI SAS2008> port 0xd000-0xd0ff mem 0xfe8fc000-0xfe8fffff,0xfe880000-0xfe8bffff irq 18 at device 0.0 on pci2 mps0: Firmware: 09.00.00.00 mps0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc> da0 at mps0 bus 0 scbus0 target 0 lun 0 da1 at mps0 bus 0 scbus0 target 1 lun 0 da2 at mps0 bus 0 scbus0 target 2 lun 0 da3 at mps0 bus 0 scbus0 target 3 lun 0 da4 at mps0 bus 0 scbus0 target 4 lun 0 da5 at mps0 bus 0 scbus0 target 5 lun 0 da6 at mps0 bus 0 scbus0 target 6 lun 0 da7 at mps0 bus 0 scbus0 target 7 lun 0 Is it possible to configure idle/standby/sleep with the mps0 driver, as I would like to spin down my disks after a configurable period to save power/noise. Or am I attempting to configure the standby/idle disk timeouts in the wrong way? I'd rather not depend on APM for the Samsung F4 disks as the latest APM profile used by the F4 disks is extremely aggressive, spinning down the disks only a few seconds after each access. Using ataidle -I 15 -S 30 works absolutely fine on the F4 disk in FreeBSD 7.2 (spinning the disks down after 30 minutes inactivity) but this is when the F4 disks are connected to a "standard" motherboard SATA controller (eg. AMD SB700), and obviously ataidle isn't working at all for the LSI 9211-8i with mps0 driver. Any guidance on this problem will be much appreciated! Many thanks Neil -- View this message in context: http://freebsd.1045724.n5.nabble.com/mps0-driver-idle-standby-sleep-ie-spin-down-supported-SATA-drives-tp4335508p4335508.html Sent from the freebsd-scsi mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1303601350238-4335508.post>