-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Wednesday 2007-06-20 at 15:48 +0200, Joachim Schrod wrote:

> > Now, external drives... that's interesting. I would report the problem to
> > bugzilla, the kernel should survive a disk sleep.
> 
> I'll think about that -- have to judge the entry writing effort with the
> anticipated results of a 10.0 kernel error report.

Ah, 10.0... you are right, it should be reported against a 10.2 system at 
least.


> But anyhow, you helped me further a lot:

And you me, because...

> > nimrodel:~ # hdparm -C /dev/sdb
> > 
> > /dev/sdb:
> >  drive state is:  unknown
> 
> This did not work here either, but I got reminded that there is sdparm to
> check and change the SCSI disk parameters. And voila, here we are:

...I had completely forgotten 'sdparm' :-)


> sdparm --command=ready /dev/sdc               # check ready state
> sdparm --command=start /dev/sdc               # start a sleeping disk
> sdparm --command=stop /dev/sdc                # put a disk in standby
> sdparm -al -f /dev/sdc                        # list all known mode flags
> sdparm -6 -p po --clear=STANDBY /dev/sdc # turn off standby feature
> sdparm -6 -p po --defaults /dev/sdc   # establish it again


I have looked at the man page, but didn't find out more. Perhaps there is 
another one to learn the sleep timeout. Anyway, the sequence doesn't seem 
to work on mine:

nimrodel:~ # sdparm --command=stop /dev/sda
    /dev/sda: ST360020  A                 0000
nimrodel:~ # sdparm --command=ready /dev/sda
    /dev/sda: ST360020  A                 0000
Ready


It is not stopped, even with the device umounted.


> Now I just need to observe if the disk gets too hot after I turned off the
> standby feature. Sadly, smartctl doesn't work for that disk, so I have no
> reliable method of checking its temperature.

No, smartctl doesn't work because the chipset of the usb boxes do not 
support the necessary commands; at least that's what I read somewhere.


> But that's a minor inconvenience compared to the state before.
> Muchas gracias!

De nada :-)

- -- 
Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGeaQitTMYHG2NR9URArxnAJ9M2tklxPPGBHaHsINSBm8wsL9d4gCfQ3u8
S+D+chBsbJfRxCNEkNnwjl4=
=rKu2
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to