I have a Qnap NAS (TS-431P2). To save energy, the hdds go into standby after 20 Minutes. My Raspberry mounts a share from this Nas to store backups there. The Nas needs about 20 to 40 seconds to came out of the hdd standby. In most cases this causes a timeout when mounting the share.
My Dirty Solution is i trigger the NAS bevore the Mount Command start with:
that works but i ist not particularly elegant. Does anyone have a better solution?
BR
My Dirty Solution is i trigger the NAS bevore the Mount Command start with:
Code:
sudo smbclient -L //192.168.0.51 -U=user%passwordsleep 60sudo mount -t cifs.....
that works but i ist not particularly elegant. Does anyone have a better solution?
BR
Statistics: Posted by Timmiotool — Wed Jan 08, 2025 6:21 am