This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Tuesday, October 01, 2013

Ubuntu HDD idle time

sudo hdparm -S 200 /dev/sda

/dev/sda:
 setting standby to 200 (16 minutes + 40 seconds)

#hdd status 
hdparm -C /dev/sda
 
#config file
cat /etc/hdparm.conf 


hdparm -B 1 -Y /dev/device
hdparm -B 255 /dev/device

The first hdparm put the device standby immediately. The second one turn off APM, so the disk stay in standby mode till the next disk access.

Notes for repairing degraded RAID 1


cat /etc/fstab
cat /proc/mdstat
sudo mdadm --query --detail /dev/md127
sudo mdadm /dev/md127 --remove /dev/sda2
sudo mdadm --add /dev/md127 /dev/sda2
watch -n3 cat /proc/mdstat