Hello,
I have created a pi4 backend with a USB3 caddie containing a 4tb purple hard drive.
In my wisdom I purchased a caddie that has a sleep function this however is now causing problems and is causing the backend to deadlock.
Any ideas on how I can get round this?
Many thanks
Rob.
USB hard Drive spinnign down and causing deadlock
-
- Junior
- Posts: 16
- Joined: Sun Jun 25, 2017 2:38 pm
Re: USB hard Drive spinnign down and causing deadlock
I have never run into a case where the enclosure caused a drive to spin-down due to inactivity. Usually this is due to a setting in the drive, itself. You can check if that's the case here with:
(where X is the appropriate drive letter.) If it is in standby mode, you should be able to prevent that permanently with:
Code: Select all
hdparm -C /dev/sdX
Code: Select all
hdparm -S 0 /dev/sdX