Each time I want to use my usb external hard drive for the first time there is a short latency for allowing it to run, how to make it run at all time, so that while for example I watch a movie, stop and goes back to it it run instantly.
It would be best to have a script that stop it from shutting down for a certain period of time
You could use
hdparm
to do this. Runsudo hdparm -S /dev/sdx | grep level
to see what the current spin-down time of the drive is. Replace/dev/sdx
with your hard drive.You can change the spin-down time to 0 with
sudo hdparm -S 0 /dev/sdx
, changing/dev/sdx
to the identifier for your hard drive.I do not recommend disabling the spin-down time, as it will decrease the lifespan of the hard drive.