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.

How screwed am I? Missing Shares, Docker Containers, VM, and Data after flash drive transfer

Featured Replies

Serve crashed during jellyfin library scan (too many parallel scans, I believe, unrelated) and I could not boot up again, with no boot drive registered in bios.

 

usb backup: Thought it must be usb- removed usb, repaired with windows. Since the usb seemed fine, I copied contents to pc to use instead of a week old backup (had setup nextcloud since then ). Zipped old usb contents, inserted new usb and used Unraid usb creator with that zip.

 

Booted up server. Went through "replace key" process for new usb, logged into unraid and replaced. Noticed I have files missing (15tb), no docker containers, and random missing shares. Appdata is intact on cache_nvme drive.

 

Missing files: All drives show significantly decreased used storage. For all my movie files, the video file is missing, but the images (.jpg, .png art) are still intact. The video files are not shown when browsing with smb form windows or unraid GUI

 

I did not save syslog before rebooting.

 

Missing shares: Seems random, have a recently created nextcloud share, but not other older ones. Missing shares "Projects" for instance are listed in the config folder in my usb backup.

 

Rebooted- no change. Shutdown- and swapped new usb for old usb (did not make any changes to old usb, though unraid key should be invalid, no change. Restored new usb again using proper flashdrive backup- no change. DIagnosis files (attached) show "# Share does not exist" note.

 

missing-shares-docker-containers-and-data-after-flash-drive-v0-2apj1s31x5yd1.jpg

missing-shares-docker-containers-and-data-after-flash-drive-v0-cfw6jihtw5yd1.jpg

missing-shares-docker-containers-and-data-after-flash-drive-v0-vi3fyzp7x5yd1.jpg

buster-diagnostics-20241101-0941.zip

  • Community Expert

Assuming all the previous disks are assigned, the missing files will be unrelated to the flash replacement, Unraid will import the assigned disks as they were, with the same data they had.

 

For the docker/VMs, diags show that both images are new, for docker and assuming you have the old appdata and restore the user templates folder to the flash drive, you can just recreate the image:

 

https://docs.unraid.net/unraid-os/manual/docker-management/#re-create-the-docker-image-file
Then:
https://docs.unraid.net/unraid-os/manual/docker-management/#re-installing-docker-applications
Also see below if you have any custom docker networks:
https://docs.unraid.net/unraid-os/manual/docker-management/#docker-custom-networks

 

For the VMs, see if there's another image, post the output from:

 

find /mnt -name libvirt.img


 

 

 

  • Author
56 minutes ago, JorgeB said:

Assuming all the previous disks are assigned, the missing files will be unrelated to the flash replacement, Unraid will import the assigned disks as they were, with the same data they had.

 

For the docker/VMs, diags show that both images are new, for docker and assuming you have the old appdata and restore the user templates folder to the flash drive, you can just recreate the image:

 

https://docs.unraid.net/unraid-os/manual/docker-management/#re-create-the-docker-image-file
Then:
https://docs.unraid.net/unraid-os/manual/docker-management/#re-installing-docker-applications
Also see below if you have any custom docker networks:
https://docs.unraid.net/unraid-os/manual/docker-management/#docker-custom-networks

 

For the VMs, see if there's another image, post the output from:

 

find /mnt -name libvirt.img


 

 

 

 

Thank you so much for your reply.

 

Re VMs- Terminal results as follows:

 

/mnt/user/system/libvirt/libvirt.img
/mnt/cache_nvme/system/libvirt/libvirt.img

 

On the data loss- any idea how I can find out what happend? Maybe somthing with duplicacy pruning (duplicacy had root acces, to all shares).

 

Should I plug the drives into a pc and search for data, or if its gone its gone? The array data would be the real loss here, since I can recreate docker and VM setups. And if its gone, id rather rebuild than go forward with a system that was nonexistent shares hanging around. How do you suggest moving forward in creating a fresh environment (preclear all disks, then start rebuild dockers, VMs, and libraries)?

 

Additionally, how do I deal with the missing shares? Diagnosis shows the following on shareDisks.txt:

appdata                           shareUseCache="only"    # Share exists on cache_nvme
C----------------s                shareUseCache="yes"     # Share does not exist
domains                           shareUseCache="prefer"  # Share exists on cache
isos                              shareUseCache="no"      # Share exists on disk1
m---a                             shareUseCache="yes"     # Share exists on disk1, disk2, disk3
n-------d                         shareUseCache="no"      # Share exists on disk2, disk3
P------s                          shareUseCache="yes"     # Share does not exist
S------------s                    shareUseCache="no"      # Share exists on disk3
system                            shareUseCache="prefer"  # Share exists on cache_nvme
u---------p                       shareUseCache="no"      # Share does not exist

  • Community Expert
2 hours ago, Tunasub96 said:

/mnt/user/system/libvirt/libvirt.img
/mnt/cache_nvme/system/libvirt/libvirt.img

There's only one, do you have a backup and are the vdisks still present?

 

As for the missing data, you can run a file recovery app like UFS explorer, if the files were just deleted they should be mostly recoverable.

 

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.