Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I screwed up and may have lost all my data. Please help.

Featured Replies

I have been having issues with my docker image filling up. I deleted orphaned images and volumes etc. which seemed to help, but the docker settings page was still saying there was no available space and my server kept freezing. So I started trying to check for issues in the docker image. I ran the scrub on the docker settings page, then I ran

btrfs check --readonly /mnt/user/system/docker/docker.img

and then attempted to balance the docker image.

This is where it gets bad.

I tried to mount the docker image to run the balance and used the command

mount -o loop /mnt/user/system/docker/docker.img /mnt

This replaced everything in my /mnt directory, so it looks like all my data is gone.

I know what I did was incredibly stupid and careless. I was rushing and overtired and not thinking. But I don't even know where to start with trying to recover from this. Is there anything I can do to try and get the data back?
Thankfully I do have cloud backups of the most important stuff, but I would still hate to lose the rest of the data (mostly media), and starting again from the backup would not be fun.

Thanks in advance.

Array.png

tower-diagnostics-20241221-0038.zip

Solved by itimpi

  • Community Expert
  • Solution

You could either umount the image you have just mounted or perhaps even simpler to just reboot your server.

  • Author

Oh, that sounds hopeful! :) I was scared to reboot in case it made things worse. And yes I think I'll take the simple option of rebooting if it will work just as well.
Here goes...

  • Author

Oh my goodness. It's all there. Such a relief! Thank you so much!

 

I guess the mount configs must be saved on the flash drive or something and restarting just resets them to that config?

 

Now I think I will just recreate the docker image and stop trying to balance it to solve that problem.

  • Community Expert
47 minutes ago, Janddy said:

Oh my goodness. It's all there. Such a relief! Thank you so much!

 

I guess the mount configs must be saved on the flash drive or something and restarting just resets them to that config?

 

Now I think I will just recreate the docker image and stop trying to balance it to solve that problem.

Actually the ‘mount’ you did just hid the existing contents of the /mnt location.  The reboot undid your manual mount and so the standard locations reappeared.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.