I have a WD NAS MyCloud - Firmware Version : 2.21.119 and for some security reasons I cannot use it properly… I leave it mostly turned off.
For many times I need to turn it on for a short period of time.
I know it runs many internal services. I tried “fuser” “lsof”… stop twonkymedia, etc coetera. When I try to umount the data partition, It is still in use.
Does some know what are these services that allocate resources in data partition… so I may stop them and run the “poweroff” command preventing failures to the disk? If I get this succesfully… will my device will be ready for use faster than this “forced poweroff”?
Is there a bash script that allow me to umount, kill process and then poweroff?