You are not logged in.
Pages: 1
I have 2 lvm raid1 based on 4 drives. /dev/md0 = /dev/sdb & /dev/sdc and /dev/md1 = /dev/sdd & /dev/sdd .
Having the discs to spin down is very important to me, as I want my computer to be as quiet as possible (using it for music-playback). I've added:
hdparm -B 1 -S 120 /dev/sdb
hdparm -B 1 -S 120 /dev/sdc
hdparm -B 1 -S 20 /dev/sdd
hdparm -B 1 -S 20 /dev/sde
to my /etc/rc.local, but it doesn't seem to work. And when I'm booting I'm getting something that looks like "BKGD". And somethings worries me as "hdparm -i 7'/dev/sdb | grep Adv" gives that "AdvancedPM=no".
I've also added:
#!/bin/sh
if [ -n "$1" ] && ([ "$1" = "resume" ] || [ "$1" = "thaw" ]); then
hdparm -B 1 /dev/sdb > /dev/null
hdparm -B 1 /dev/sdc > /dev/null
hdparm -B 1 /dev/sdd > /dev/null
hdparm -B 1 /dev/sde > /dev/null
fi
to /etc/sleep.d/50-hdparm_pm
I really need my discs to spin down, how do I do it, and is it even possible? If not, I actually have to go back to windows
Lenovo ThinkPad x61
Core2Duo 2ghz, 4gig ram, 16gig SSD.
Archlinux x64 + Fluxbox!
Offline
Good news, I can spin-down the discs one by one using "hdparm -y /dev/sdx", but I want it to automatic.
Lenovo ThinkPad x61
Core2Duo 2ghz, 4gig ram, 16gig SSD.
Archlinux x64 + Fluxbox!
Offline
If your disks don't support advanced power management, hdparm -B 1 will do nothing. I have a similar setup, LVM, Raid5, and my disks spin down, and I have done this:
*) I have moved /var/log onto an usb thumb drive as it is access all the time
*) I have installed and configured laptop-mode-tools
*) I set hdparm -S180 /dev/sd[abc] in /etc/rc.local
Kind regards, enrique
Offline
Pages: 1