sdparm not stopping SATA disk in Squeeze

Need help with peripherals or devices?
Post Reply
Message
Author
felita
Posts: 33
Joined: 2011-02-09 11:54

sdparm not stopping SATA disk in Squeeze

#1 Post by felita »

I recently updated from Lenny to Squeeze. In Lenny I used to spin down my internal SATA backup drive like this:

Code: Select all

# sdparm --command=stop /dev/sdb
It worked well in Lenny, but it doesn't work in Squeeze:

Code: Select all

XXXX:~>sudo sdparm --command=stop /dev/sdb
    /dev/sdb: ATA       WDC WD2500AAJS-2  01.0
All I can hear is a click indicating drive head movement but the disk keeps spinning.

Am I missing something here?

hurga88
Posts: 1
Joined: 2011-03-03 20:25

Re: sdparm not stopping SATA disk in Squeeze

#2 Post by hurga88 »

sdparm seems to be buggy.

Use sg_start (part of sg3-utils) instead.

sg_start --readonly --stop <device>

Don't forget --readonly option as sg_start then would behave as sdparm.

Kind regards,

hurga88

Post Reply