Peter Ruskin wrote:
On Wednesday 26 November 2008, Andrea Momesso wrote:
You could use hdparm to put the drive to sleep.
I get something like this:

cubotto ~ # hdparm -Y /dev/sdb

/dev/sdb:
  issuing sleep command
  HDIO_DRIVE_CMD(sleep) failed: Invalid exchange

How about hdparm -y /dev/sdb
?

AFAIR hdparm doesn't work on usb drives, as they use the SCSI transport with a SCSI to ATA translation on a protocol bridge chip in the usb enclosure.

You would think to use sdparm then, but the translation is apparently minimal, so unfortunately you can't do things like spin down, etc.

I would guess you could unload the usb modules (uhci, ehci) but then you would loose all usb...
--
Iain Buchanan <iaindb at netspace dot net dot au>

If voting could change the system, it would be illegal.  If not voting
could change the system, it would be illegal.

Reply via email to