Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 4329  / 3 Years ago, tue, september 7, 2021, 2:39:19

I'm getting a laptop tomorrow with an SSD as the primary (operating system) drive, and I will be putting my old laptop's HDD into it as a secondary drive for holding music etc.



Since HDDs use power when idle, just to keep themselves spinning, I was wondering what the optimum settings for 'spinning down' the drive might be, as well as any other tips. I remember seeing reference to a settings file where I would be able to choose how long the drive can sit idle for before spinning down, but I don't know where it was.



Additionally, if the drive uses an NTFS file system, will the system write or read anything from the drive by itself which could prevent the spin-down from happening? I was intending to permanently mount it using the installer to /windows, but would be open to any better methods if this would cause a problem.



Thanks for any assistance.


More From » hard-drive

 Answers
2

To put your second HDD (I suppose /dev/sdb) to standby immediately, you can use



sudo hdparm -y /dev/sdb


To put it to standby after a minute of inactivity, you can use



sudo hdparm -S 12 /dev/sdc


(time is counted in 5s for 5s to 20min)



To make this setting permanent, you can write it in /etc/hdparm.conf:



sudo gedit /etc/hdparm.conf


and there:



[...]
/dev/sdb {
spindown_time = 12
}

[#35265] Thursday, September 9, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
llianconclad

Total Points: 65
Total Questions: 109
Total Answers: 127

Location: Mali
Member since Fri, Dec 3, 2021
2 Years ago
llianconclad questions
Sun, May 1, 22, 08:47, 2 Years ago
Tue, Nov 8, 22, 02:33, 2 Years ago
Mon, Aug 23, 21, 15:58, 3 Years ago
Sun, Jul 25, 21, 18:19, 3 Years ago
;