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 Messed Up, Btrfs file system restore

Featured Replies

When adding a second cache disk i managed to format my existing cache SSD. Im still unsure of how i manged this but when adding the disk it asked me to confirm that i wanted to format the drive (assuming this was the new one i went ahead) 

 

Anyway, im looking to restore the drive either to the same disk or a new one with the existing file tree etc whats the best way to do this if its possible? btrfs gives me a generation error and im not sure how to get round that so its been left as is for now. Theres no specific files on there that i want, however i have weeks if not monthss of resetting up VMs and docker containers if im not able to restore.

 

Any help would be greatly appreciated

  • Community Expert

Original cache was using xfs, that fs only supports single device pool.

 

Post the output of

xfs_repair -v /dev/sdo1

 

  • Community Expert

Now unassign the new cache device, start array, stop array, assign the old cache device, change cache slots to 1, click on the device and make sure the filesystem is set to xfs, start array.

  • Author

hello, i have now done this but everything is within a lost + found Folder

  • Community Expert

See what you can salvage from there or restore from a backup.

  • Author

ok thank you for your help, presume theres no way to restore the original file structure?

  • Community Expert
1 minute ago, jdavies94 said:

ok thank you for your help, presume theres no way to restore the original file structure?

The files/folders in lost+found are ones where the repair process could not locate the directory information to give them their correct name and position in the file structure.

  • Author

ahhh ok makes sense, so being that there is absolutely no remaining directories it would imply its completely lost?

 

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.