Teemu Likonen:
> All this works nicely but a little before the system is shut down the
> backup hard disk wakes up and starts spinning. I'd guess the cause is
> one of these init scripts:
> 
> /etc/rc0.d:
> lrwxrwxrwx 1 root root  20 2012-06-25 21:02 K10cryptdisks -> 
> ../init.d/cryptdisks
> lrwxrwxrwx 1 root root  14 2012-06-25 21:02 K11lvm2 -> ../init.d/lvm2
> lrwxrwxrwx 1 root root  26 2012-06-25 21:02 K12cryptdisks-early -> 
> ../init.d/cryptdisks-early
> 
> How can I stop this unnecessary spinning and keep the disk sleeping when
> shutting down the system?

You need to luksClose the crypto container and deactivate the volume
group (vgchange -an) yourself if you don't want that to happen on
shutdown.

J.
-- 
My medicine shelf is my altar.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature

Reply via email to