Skip to content

Instantly share code, notes, and snippets.

@nouseforname
Forked from alienth/gist:72e52f8dc4177c383b12
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nouseforname/d8757c9542ab1feef200 to your computer and use it in GitHub Desktop.
Save nouseforname/d8757c9542ab1feef200 to your computer and use it in GitHub Desktop.

The reason your diskstation may stop sleeping after this update is due to the 'winbindd' service continually touching a file (/usr/syno/etc/private/winbind_domain_list) which is hosted on disk. The continual touching of the file results in the disks being unable to sleep.

An issue which this update fixed is related to this service, so I suspect it was unintentionally introduced to fix a separate issue (specifically regarding RW access of Guest users).

To get your diskstation sleeping again, you simply have to stop the winbindd service. You can do this via the simple command "stop winbindd" via command line. Note that disabling that service will likely reintroduce the Guest RW issue which was fixed in this update.

Note that this service will automatically restart when your diskstation reboots. The permanent fix will need to come from Synology.

As a side note, you can use the following command line to hunt for any files modified within the last 30 minutes on your diskstation. This is what I used to find the above issue:

find / -path /dev -prune -o -path /proc -prune -o -path /run -prune -o -path /tmp -prune -o -mmin -30 -print

(The 'prune' flags will exclude paths which aren't hosted off of disk, such as /proc and /run)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment