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... but exactly how bad??

Featured Replies

Hello all,

 

I'm running ver. 6.12.6 and I just made a stupid, distracted mistake.

I'm looking for advice how to proceed from here.

I was trying to move about 1 TB of media files off an NVME cache drive to my array, when I ran the cmd

mv /mnt/cache/data/media/movies/* /mnt/user/data/media/movies

Yes, I am fully aware I am an idiot and where I went wrong. Please, hold the lectures as I am just looking for how to move forward from here.

 

Yes, I know the first thing everyone will say is "restore from backups", however, while I DO have *most* of my data backed up, I do not have *ALL* of it backed up (long story, again, no lectures please...) and the array is about 16 TB. 

So, restoring entirely from backups is not possible (and would take approximately six lifetimes to complete, if it were).

I'll restore what I need to (and what is possible to) from backups, but I am trying to minimize that process and retain as much of the original (uncorrupted) media files as possible.

 

My questions are:

  1. 1. What should I do from here?  (I did immediately stop docker / VMs and unmount the array, so as to avoid writing any more data and compounding the problem further)... I think the next step is to scan the filesystem(s) to see what is corrupted/missing... but
  2. 2. Should I do it against the individual disks while unmounted? mount the array in maint. mode and run that way?    (Note: The individual disks are XFS formatted, and the cache drive is BTRFS)
  3. What is the best way to determine exactly which files have been corrupted, if any, and how best to minimize further damage?
  4. Lastly, I do not believe the files that were in the cache drive had files with the same names on the array... so, is it possible nothing was corrupted when I ran the (very, very stupid) command that I ran?  Could they, along with the rest of my files, still be intact, somehow?   (I realize this is a long-shot, but one can hope, right?)

 

Any assistance/advice will be greatly appreciated.

 

Thank you!

 

 

 

  • Community Expert

Look for any 0 size files, that's what usually happens when hitting this issue, and non zero size files should be fine.

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.