auanasgheps / snapraid-aio-script

The definitive all-in-one SnapRAID script on Linux. Diff, sync, scrub are things of the past. Manage SnapRAID and much, much more!
GNU General Public License v3.0
239 stars 37 forks source link

Problem with disk spin down #99

Closed andreapx closed 5 months ago

andreapx commented 5 months ago

In line 330 there is the command to spin down the disk: hd-idle -t /dev/"$DRIVE" but it trows the error /dev//dev/sda: No such file or directory. It seems that hd-idle just needs the drive name like sda, not the whole path.

phidauex commented 5 months ago

Unfortunately spin down doesn’t work with the hd-idle binaries in most default repos, you need to switch to the adelomo version that includes fixes not yet available in the mainline repos. See this section of the documentation to install: https://github.com/auanasgheps/snapraid-aio-script?tab=readme-ov-file#installing-hd-idle-for-automatic-disk-spindown

andreapx commented 5 months ago

I've missed that, thanks!

auanasgheps commented 5 months ago

Thanks @phidauex for the response!