Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have a hard disk in my computer that I use to make backups of my data. I do not use this disk otherwise.

How can I stop this disk from spinning once my backup is finished? Also how would I make it spin back up again before the backup takes place later on?

The drive is a regular SATA drive.

share|improve this question
add comment

1 Answer

Umount the filesystem and then run hdparm -S 1 /dev/sdb to set it to spin down after five seconds (replace /dev/sdb with the actual device for the hard disk). This will minimize the power used and heat generated by the hard disk.

share|improve this answer
1  
With respect to spinning it back up, you shouldn't have to do anything other than access/use the HDD. unix.stackexchange.com/questions/10930/spin-up-drive-in-linux/… –  slm Feb 2 at 6:07
    
Thanks! How can I restore the default standby timeout value then? I also saw hdparm -Y in the man which seems to set the drive in a deeper sleep mode. Is that not recommended? –  Totor Feb 2 at 17:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.