IBM M1015 in IT Mode - Drive spin down

JJ Johnson

Gawd
Joined
Jun 26, 2008
Messages
802
I have a home file server running Windows Server 2008 R2. The motherboard has 6 SATA ports, on which I have a system SSD and 5 additional drives. I also have a Supermicro AOC-SAT2-MV8 PCI-X HBA and 8 drives on it.

I'm thinking of replacing the Supermicro PCI-X card with an M1015 PCI-e card and running it in pass-through IT mode, then possibly using some type of non-realtime parity storage. The Supermicro card has been just a little unreliable, and I think one of its ports may be bad.

Question:

All of the HDDs connected to SATA ports on the motherboard spin down when not in use, but none of the drives connected to the Supermicro card spin down. Any idea whether hard drives will spin down when connected to the M1015 in IT mode?
 
I run FreeBSD and use this script i found somewhere as a daemon: http://pastebin.com/AwAiTK2P

It basically forces a spindown using camcontrol after X minutes.
Works for me, but I had to make sure any "status reporting" script that uses smartctl uses the "-n standby" flag in order not to wake them again.

I may have made things too complicated, who knows :)
 
That's interesting as under freenas (FreeBSD 9.2) I can't get drives to spin down behind a M1015. Just recieve a CAM status: function not avaliable.

Which version of FreeBSD? Wonder if they've sorted it in a later driver release.
 
Ah, I just realized that its an LSI 9220-8i flashed to IT firmware, although it should effectively be an IBM m1015? Maybe there are minor differences?
It is also attached to an HP port expander.

mpslsi0: <LSI SAS2008> port 0x6000-0x60ff mem 0xd2600000-0xd2603fff,0xd2640000-0xd267ffff irq 16 at device 0.0 on pci19
mpslsi0: Firmware: 14.00.00.00, Driver: 14.00.00.00
mpslsi0: IOCCapabilities: 1285c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,EventReplay,HostDisc>

[root@freebsd:/]# uname -a
FreeBSD freebsd 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Mon Jul 30 09:18:34 UTC 2012

camcontrol stop <drive>
Works to spin them down...

EDIT:
[root@freebsd:/]# camcontrol devlist | grep da21
<ATA WDC WD30EFRX-68A 0A80> at scbus3 target 35 lun 0 (da21,pass24)
[root@freebsd:/]# camcontrol inquiry da21
pass24: <ATA WDC WD30EFRX-68A 0A80> Fixed Direct Access SCSI-6 device
pass24: Serial Number WD-xxxxxxxxxxxxxxxx
pass24: 300.000MB/s transfers, Command Queueing Enabled
[root@freebsd:/]# camcontrol stop da21
Unit stopped successfully
 
Last edited:
Ah interesting, left mine with the IR firmware on as passthrough seems to work fine and left me more options. Wonder if that's what is breaking it will have to flash it to IT and see what effect it has.

Got it backing a vmfs iscsi zvol now so it wouldn't get chance to spindown anyway but will give it a try.
 
Back
Top