I noticed that my cloud was not sleeping as much as it has in the past. So I decided to look into what is happening. I found that the system was changing the time on the /etc/samba/smbpasswd file every 30 seconds. I’ve seen this once before. Not sure what is causing this to happen. The easiest way to see if this happening on your system is to use the “stat” command. You will notice that the change time value is increasing.
With samba enabled it can not sleep for 12 hours or it could sleep normally. There seems to be a condition that causes samba to update the permissions on /etc/samba/smbpasswd file every 30 seconds. What ever the condition it seems to come and go. To see if this is happening on your Cloud. You can SSH into the cloud and “stat /etc/samba/smbpasswd”
The last time called change should not be close to the current time.
Hi,
Since i update my WD mycloud in latest firmware version (v04.04.02-105) , it does’nt go to sleep mode !
In previous firmware, it shutdown hard drive every 30’ of inactivity… (For only few minutes) but it gone to sleep mode…
It’s very bad for the durability of the hard drive, no ?
There are several things you will have to look at to determine why it is not sleeping. On this version of firmware. I found that samba is changing the permissions on the /etc/samba/smbpasswd file. You can verify this by ssh into the My Cloud and run “stat /etc/samba/smbpasswd” The Change time will be within 30 seconds of the current time and every 30 seconds or so it will update. Currently the only fix is to stop samba. But then you will lose the ability to map the drive. Another thing is to stop wdmcserverd and wdphotodbmergerd.
I’ve uploaded a sleep.awk file. If you know how to SSH into the My Cloud you can unzip the file. Copy it to the Public folder. Then you can use this command to see when your My Cloud is sleeping. “cat /var/log/user.log.1 /var/log/user.log|./sleep.awk” sleep.zip (464 Bytes)