Files are missing


Go to solution Solved by trick.tar,

Recommended Posts

I had some files in /root and /home/plex/scripts/

but I found they were all gone after a reboot. Only empty directories were left.

I searched online quickly and read some about array stop/start, so instead I just rebooted the system again.

But before doing that, I created an empty file in those directoreis to see if it goes missing again.

After another reboot, to my surprise, this time I even found the 'scripts' directory went missing under the 'plex' folder.

How can this happen? Why files / directories disappear every time I reboot?

 

root@Tower:/home/plex/scripts# ls
root@Tower:/home/plex/scripts# touch test
root@Tower:/home/plex/scripts# ls
test
root@Tower:/home/plex/scripts# cd ~
root@Tower:~# touch test
root@Tower:~# ls
mdcmd@  test
root@Tower:~# 
Broadcast message from root@Tower (Mon Feb 28 09:33:55 2022):

The system is going down for reboot NOW!

Session was closed
Linux 5.10.28-Unraid.
root@Tower:~# ls
mdcmd@
root@Tower:~# cd ../home/plex/
root@Tower:/home/plex# ls
root@Tower:/home/plex# ls
root@Tower:/home/plex# ls

So you get what I mean with this.

First reboot: just files were gone. empty directories were left. created empty test files in those directories.

Second reboot: the empty directories were gone. Newly created files also went missing.

 

Edited by trick.tar
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.