- Minor
Hello all,
yes, I'm pretty new to UnRAID but I might have discovered a bug, which bothers me.
I was doing my first step in datamigration and migrated 1:1 copies of a laptop-backup folder. This 1:1 copy contained special files like "socket" or "named pipes". These files are created by steam and can be leftovers.
The mover tried to move my files from the cache to the array but at some point it stopped. I figured out, that the move executable stalls when "mover" tries to move the files. During the progress of cleaning up my cache, I learned about different mover cli commands (mover stop) and worked my head around what's going on. Before I needed to shutdown the system, I ended up with 5 or 6 "move" processes, unable to terminate with SIGTERM or SIGKILL (this is a real issue, IMHO).
The main problem is, that "mover" keeps stuck at those items and you can't easily get around this issue.
Like said above, I already rebooted the system. I try to recreate it (pretty sure I can) and will upload the diagnostic data and logs as soon as I have it reproduced.
Best regards
Matthias
logfile of test:
root@Raven:/mnt/user/testing# ls -l total 0 prw------- 1 matze 1000 0 Oct 12 2022 steam.pipe| root@Raven:/mnt/user/testing# mover mover: started file: /mnt/cache/testing/steam.pipe ------ # 2nd Window root@Raven:/proc# ps -ef | grep move root 1889 25989 0 15:45 pts/0 00:00:00 /bin/bash /usr/local/sbin/mover root 1906 1889 0 15:45 pts/0 00:00:00 /usr/local/bin/move root 2359 31832 0 15:45 pts/1 00:00:00 grep move root@Raven:/proc/1906# ls fd -l total 0 lr-x------ 1 root root 64 Oct 1 15:45 0 -> pipe:[176677] lrwx------ 1 root root 64 Oct 1 15:45 1 -> /dev/pts/0 lrwx------ 1 root root 64 Oct 1 15:45 2 -> /dev/pts/0 lr-x------ 1 root root 64 Oct 1 15:45 3 -> /mnt/user/ root@Raven:/proc# kill 1906 root@Raven:/proc# ps -ef | grep move root 1889 25989 0 15:45 pts/0 00:00:00 /bin/bash /usr/local/sbin/mover root 1906 1889 0 15:45 pts/0 00:00:00 /usr/local/bin/move root 5248 31832 0 15:48 pts/1 00:00:00 grep move root@Raven:/proc# kill -9 1906 root@Raven:/proc# ps -ef | grep move root 1889 25989 0 15:45 pts/0 00:00:00 /bin/bash /usr/local/sbin/mover root 1906 1889 0 15:45 pts/0 00:00:00 /usr/local/bin/move root 5430 31832 0 15:48 pts/1 00:00:00 grep move root@Raven:/proc# mover stop mover: stopped ---- # first window Terminated root@Raven:/mnt/user/testing# root@Raven:/mnt/user/testing# ps -ef | grep move root 1906 1 0 15:45 pts/0 00:00:00 /usr/local/bin/move root 6231 25989 0 15:49 pts/0 00:00:00 grep move