Hello,
I'm having trouble getting an external, USB connected SATA HDD enclosure to spin down the hard drive. In other enclosures I can issue a stop command with sdparm and it works, however, on this particular one I can't get it to work.
Code:
# sdparm -vv -C ready /dev/sda
>>> about to open device name: /dev/sda
inquiry cdb: 12 00 00 00 24 00
/dev/sda: Hitachi HDS721616PLA380
test unit ready cdb: 00 00 00 00 00 00
Ready
# sdparm -vv -C stop /dev/sda
>>> about to open device name: /dev/sda
inquiry cdb: 12 00 00 00 24 00
/dev/sda: Hitachi HDS721616PLA380
Start stop unit command: 1b 00 00 00 00 00
Nothing happens.
I know next to nothing about how sdparm works, so how would I go about pinpointing where the problem is? Is it possible to query the device for all supported commands? I'm assuming the problem is with the enclosure itself, and not the hard drive.