January 20, 20251 yr Hi all, A friend of mine is running Unraid 6.12.14, it seems a process is randomly deleting folders (with contents). I have attempted to use both inotify and the "file activity" plugin to troubleshoot, unfortunately both of these very annoyingly do not show the name of the process that triggered the deletion. I suspect either sab, sonarr, or radarr is triggering this deletion. They have processes setup to download files to .../mnt/disks/< .... nvme unassigned ...>/complete/tv. After download the files are moved to a share on the array. This part is working. Unfortunately something is causing the /tv dir to delete, resulting in having to manually recreate the dir every day or so. I encouraged them to place a random .txt file into the directory. The process deleted the folder along with this txt file. I would like to run a log to determine what process is causing the file to delete. As noted inotify and file activity both seem to be unhelpful - as they do not indicate the process that initiated the deletion. Thank-you all.
January 20, 20251 yr Community Expert Double check and mover setting and backup script settings as rsync has a delete option as well when ran... A disk should only have a primary disk under the share tab when not in use the files will move to the secondary or vise versa depending on how you tell mover to move files. I have seen mover delete files from the source/primary disk, but all files are on the cache per a default example... you may have a docker or other script running that is deleting. Open files plugin only captures at that moment when opened. and what process touched what. you would need to use that to find the culprit pid/application, then locate where and why that application did what it did. Most likely something in the process setup you have to download... based on info in post... more info is needed to assist... Edited January 20, 20251 yr by bmartino1 Typo
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.