But that will not stop the HDD to “start” it will just stop it from mounting!
To avoid automouting of just one of 2 drives you would have to reconfigure udisk.glue.
Alternative is to mount your fist disk via fstab and disable udisk-glue overall.
Ok! Thanks.
I have an rpi always on with an usb hdd. I thought to connect another unit and activate it when I want from the terminal. I don’t want to keep the second unit always on for electricity consumption. The problem could be that if the energy goes away and the RPi restart and the two HDD start, and I don’t need it. I want start one of this and if it is necessary I want start the second hdd through terminal.
A lot of the external USB hard drives will spin down on their own after a period of inactivity. Additionally OSMC issues a command to spin down the platter after 20 minutes of inactivity. These are both specific to the drive/USB adapter and may either not work, or work but not turn off or blink the activity LED like it might in a different OS (due to it being a spin down and not sleep). In any event, even if the drive stays spinning the power consumption of a driving spinning but not being accessed should be very low.
Hi, when I send the command “sudo umount /media/HDD” it working properly. How do I set the time for spin down? or is possible to spin down with fast command?
When I connect this USB HDD with Windows OS and I not use it for some minutes it spin down and led off. How could I have this function on RPi OSMC?
It is possible to change the spin down time but it would have no positive effect to do so. Having a short spindown is hard on the drive, saves an infinitesimal amount of energy, and can cause issues with built in power saving on some drives usb to sata adapters. What your seeing on windows is likely usb selective suspend and that is not something supported by the pi. There is a thread about this topic on this forum where I went back and forth on the spindown. After a bunch of research and testing with both a Seagate and WD drive I could not find settings for either that worked better than when I started.