Re: drives spin 100% of the time, idle down?
> That makes sense.These WD drives I got to sleep automatically after 10m are > 2013 Blue desktop drives. There's a chance that you just got lucky and the time that the drive decides to use is similar to the time you set. In any case this behavior was not really documented anywhere so it might have only applied to some drives, but I remember finding some website that made me think it probably affected most WD drives (and that it was not considered as a bug). > The firmware on new ones may behave differently. My info is pretty old, so it should apply to 2013 drives. > The Seagate Barracudas in the NAS do respond to a sleep command > (hdparm -y) but Indeed `hdparm -y` has worked fairly reliably for me for all drives. Stefan
Re: drives spin 100% of the time, idle down?
That makes sense.These WD drives I got to sleep automatically after 10m are 2013 Blue desktop drives.The firmware on new ones may behave differently.The Seagate Barracudas in the NAS do respond to a sleep command (hdparm -y) but not any command to change the auto sleep time - they stay spinning forever unless you tell them to stop.I have two brand new 1TB Blue turning up today so will see how they work. -- James B portoteache...@fastmail.com Em Qui, 12 Nov ʼ20, às 14:47, Stefan Monnier escreveu: > > You can set the sleep time in the firmware of most drives, although some > > respond better than others. I've been able to set the sleep time in WD > > drives but not Seagate, but both go to sleep when instructed. > > FWIW, the `hdparm -S` doesn't really work for WD drives last I checked. > More specifically, IIUC WD drives will mostly disregard the "time to spin > down" you specify and instead they'll use their own idea of what the > time to spin down should be based on the power-management level > you specified. > > > Stefan > >
Re: drives spin 100% of the time, idle down?
> You can set the sleep time in the firmware of most drives, although some > respond better than others. I've been able to set the sleep time in WD > drives but not Seagate, but both go to sleep when instructed. FWIW, the `hdparm -S` doesn't really work for WD drives last I checked. More specifically, IIUC WD drives will mostly disregard the "time to spin down" you specify and instead they'll use their own idea of what the time to spin down should be based on the power-management level you specified. Stefan
Re: drives spin 100% of the time, idle down?
Hi, another option is hd-idle package available via backports for stable and oldstable. On 11/12/20 1:18 PM, Thomas Anderson wrote: Hello List, I have two drives (setup in a RAID 1 array). The drives are mostly for archive purposes, and accessible via SMB on my local network. They are not constantly accessed, and performance/speed is irrelevant. I would rather they idle/sleep when not being directly accessed. I know they are supposed to spin, and spinning them up and down is not good for them. But, in my particular use case, it seems acceptable. Am I off base? Can anyone recommend a way to do this in debian? Is there a program that will allow me to set this?
Re: drives spin 100% of the time, idle down?
Sorry it's 'hdparm -S' to set sleep time, not small s! -- James B portoteache...@fastmail.com Em Qui, 12 Nov ʼ20, às 12:25, James B escreveu: > You can set the sleep time in the firmware of most drives, although > some respond better than others. I've been able to set the sleep time > in WD drives but not Seagate, but both go to sleep when instructed. I > have an old Iomega ix2-200 running Arch ARM.I use 'hdparm' to instruct > the drives to sleep for exactly the same reasons as you. > > The package is 'hdparm' in Debian.Simply (as root) enter 'hdparm -y > /dev/sdx to manually put the drive to sleep. > > I believe 'hdparm -s ' allows you to set the sleep time, but the > options will be shown to you if you enter 'hdparm -h' > > Hope that helps! > > > -- > James B > portoteache...@fastmail.com > > Em Qui, 12 Nov ʼ20, às 12:18, Thomas Anderson escreveu: > > Hello List, > > > > I have two drives (setup in a RAID 1 array). > > > > The drives are mostly for archive purposes, and accessible via SMB on my > > local network. > > > > They are not constantly accessed, and performance/speed is irrelevant. > > > > I would rather they idle/sleep when not being directly accessed. I know > > they are supposed to spin, and spinning them up and down is not good for > > them. But, in my particular use case, it seems acceptable. > > > > Am I off base? > > > > Can anyone recommend a way to do this in debian? Is there a program that > > will allow me to set this? > > > > > >
Re: drives spin 100% of the time, idle down?
You can set the sleep time in the firmware of most drives, although some respond better than others. I've been able to set the sleep time in WD drives but not Seagate, but both go to sleep when instructed. I have an old Iomega ix2-200 running Arch ARM.I use 'hdparm' to instruct the drives to sleep for exactly the same reasons as you. The package is 'hdparm' in Debian.Simply (as root) enter 'hdparm -y /dev/sdx to manually put the drive to sleep. I believe 'hdparm -s ' allows you to set the sleep time, but the options will be shown to you if you enter 'hdparm -h' Hope that helps! -- James B portoteache...@fastmail.com Em Qui, 12 Nov ʼ20, às 12:18, Thomas Anderson escreveu: > Hello List, > > I have two drives (setup in a RAID 1 array). > > The drives are mostly for archive purposes, and accessible via SMB on my > local network. > > They are not constantly accessed, and performance/speed is irrelevant. > > I would rather they idle/sleep when not being directly accessed. I know > they are supposed to spin, and spinning them up and down is not good for > them. But, in my particular use case, it seems acceptable. > > Am I off base? > > Can anyone recommend a way to do this in debian? Is there a program that > will allow me to set this? > >