LSI 9305-16i hba, how to spin down and up a hard drive?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

lbjm

New Member
May 29, 2017
17
0
1
I am using a Broadcom/Avago/LSI 9305-16i that I want to connect drives to and backup data from my raid arrays on other controllers.
It is really hard to find the commands in storcli that the hba can use.
I read many links online including this one
So I have one SAS drive plugged into the HBA and how to I spin the drive down without shutting down the system? The drive is in port 6.
I have tried the following:



storcli /c0/s6 spindown

results
CLI Version = 007.2405.0000.0000 Sep 28, 2022
Operating system = Windows 10
Controller = 0
Status = Failure
Description = Unsupported command



storcli /c0/s6 set offline

results
CLI Version = 007.2405.0000.0000 Sep 28, 2022
Operating system = Windows 10
Controller = 0
Status = Failure
Description = Un-supported command


If you want the details on the controller it's here:
Adapter Selected is a Avago SAS: SAS3224(A1)

Num Ctlr FW Ver NVDATA x86-BIOS PCI Addr
----------------------------------------------------------------------------

0 SAS3224(A1) 16.00.12.00 10.00.00.05 08.37.02.00 00:21:00:00

Finished Processing Commands Successfully.
Exiting SAS3Flash.

Do I seriously need to get another raid controller just to be able to spin drives up and down via a JBOD mode?
 

i386

Well-Known Member
Mar 18, 2016
4,250
1,548
113
34
Germany
With hbas ("dumb controllers") you move that "responsibility" from the controller to other software.
I'm not a linux expert, but I think for linux you could use hdparm to set a spindown timer (first link on google points to hdparm - ArchWiki)
 
  • Like
Reactions: vincele6

mattventura

Active Member
Nov 9, 2022
448
217
43
Yep, and most of the StorCLI commands are specific to MegaRAID and don't work on pure HBAs. I can confirm that `hdparm -y` works for a manual spindown on a 9400 so I'd imagine the 9305 should support that as well.
 
  • Like
Reactions: vincele6

i386

Well-Known Member
Mar 18, 2016
4,250
1,548
113
34
Germany
(I read the thread title and the first paragraph and my brain instantly went "that's zfs/software raid, so it's linux" :D)
Operating system = Windows 10
I just saw that...
Google shows no tools that come with a default windows isntallation/powershell commands that can do that. You will need a third party tool if you want to spin down hdds.

Edit: extend post with "that come with a default windows isntallation"
 

lbjm

New Member
May 29, 2017
17
0
1
Thank you both for the replies. There looks to be a hdparm for windows and I'll check that out.

hdparm can't see beyond /dev/hde and same goes for /dev/sde.

Better to just use a different controller. Thanks again.
 
Last edited: