Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mps0 driver - idle/standby/sleep (ie. spin down) supported (SATA drives)?

10 views
Skip to first unread message

milhousevh

unread,
Apr 23, 2011, 7:29:10 PM4/23/11
to
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&lt;ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc&gt;
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.
_______________________________________________
freebs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
To unsubscribe, send any mail to "freebsd-scsi...@freebsd.org"

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

milhousevh

unread,
Jul 16, 2011, 12:21:44 PM7/16/11
to
What is the status of spin-down support in the mps0 driver - are there any
plans to add support?

--
View this message in context: http://freebsd.1045724.n5.nabble.com/mps0-driver-idle-standby-sleep-ie-spin-down-supported-SATA-drives-tp4335508p4594274.html

0 new messages