1 |
Peter Ruskin wrote: |
2 |
> On Wednesday 26 November 2008, Andrea Momesso wrote: |
3 |
>>> You could use hdparm to put the drive to sleep. |
4 |
>> I get something like this: |
5 |
>> |
6 |
>> cubotto ~ # hdparm -Y /dev/sdb |
7 |
>> |
8 |
>> /dev/sdb: |
9 |
>> issuing sleep command |
10 |
>> HDIO_DRIVE_CMD(sleep) failed: Invalid exchange |
11 |
> |
12 |
> How about hdparm -y /dev/sdb |
13 |
> ? |
14 |
|
15 |
AFAIR hdparm doesn't work on usb drives, as they use the SCSI transport |
16 |
with a SCSI to ATA translation on a protocol bridge chip in the usb |
17 |
enclosure. |
18 |
|
19 |
You would think to use sdparm then, but the translation is apparently |
20 |
minimal, so unfortunately you can't do things like spin down, etc. |
21 |
|
22 |
I would guess you could unload the usb modules (uhci, ehci) but then you |
23 |
would loose all usb... |
24 |
-- |
25 |
Iain Buchanan <iaindb at netspace dot net dot au> |
26 |
|
27 |
If voting could change the system, it would be illegal. If not voting |
28 |
could change the system, it would be illegal. |