Don't turn on HDD until I need it

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
anber

Don't turn on HDD until I need it

Post by anber »

I have PC with 1000 Gb SSD drive and 1000 Gb HDD drive. I use SSD drive always and mount HDD drive very rarely, once a week.
Recently I looked to its Smart and see that it has 520 Start/Stop count and 1800 Load/Unload cycles.
I believe that this in not very healthy for HDD. Is it possible to set up not turn it on until I do it manually?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
ClixTrix

Re: Don't turn on HDD until I need it

Post by ClixTrix »

I doubt it. Normally, power to drives is enabled at system power-up.

Probably a better idea is to use an external USB-SATA caddy and plug-in the drive when needed. If you have USB 3.0, it works well. I have an ICYDOCK that works with both USB 3.0 and eSATA.
Mute Ant

Re: Don't turn on HDD until I need it

Post by Mute Ant »

You can manually tell a drive to spin-down and sleep until it's needed. Drives that are in use will immediately wake up again.
sudo hdparm -Y /dev/sda -----> /dev/sda: issuing sleep command: (drive spins down)
Drives that can't spin-down will just ignore the command. A USB flash stick for example...
sudo hdparm -Y /dev/sdc -----> /dev/sdc: issuing sleep command
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 14 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
anber

Re: Don't turn on HDD until I need it

Post by anber »

Mute Ant wrote: Thu Apr 05, 2018 12:31 pm You can manually tell a drive to spin-down and sleep until it's needed. Drives that are in use will immediately wake up again.
sudo hdparm -Y /dev/sda -----> /dev/sda: issuing sleep command: (drive spins down)
Drives that can't spin-down will just ignore the command. A USB flash stick for example...
sudo hdparm -Y /dev/sdc -----> /dev/sdc: issuing sleep command
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 14 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Yes it works. This command looks similar to sudo udisksctl power-off --block-device /dev/sda.

But is it possible to not start disk on system startup?
Cause it looks a bit strange to execute this command just on system startup.
Locked

Return to “Hardware Support”