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.

[6.6.6] Accidentally deleted BTRFS signature on cache drive, possible to recover data?

Featured Replies

So I was an idiot and was trying to format an unassigned NVME drive nvme1n1, but accidentally ran cfdisk /dev/nvme0n1, which prompted me to press any key to delete a btrfs signature, and I proceeded. I then realized my mistake and went back and formatted the correct drive. Unfortunately, after a reboot I now get "Unmountable: No file system" next to the drive.

 

I tried running "mount -o recover,ro /dev/nvme0n1 /x" and "mount -o degraded,recover,ro /dev/nvme0n1 /x" but they both gave me "mount: /x: wrong fs type, bad option, bad superblock on /dev/nvme0n1, missing codepage or helper program, or other error."

 

I then tried "btrfs restore -v /dev/nvme0n1 /mnt/disk3/cache_recovery" which gave me

"No valid Btrfs found on /dev/nvme0n1
Could not open root, trying backup super
No valid Btrfs found on /dev/nvme0n1
Could not open root, trying backup super
ERROR: superblock bytenr 274877906944 is larger than device size 250059350016
Could not open root, trying backup super"

 

I then tried "btrfs check --repair /dev/nvme0n1" which gave me

"enabling repair mode
No valid Btrfs found on /dev/nvme0n1
ERROR: cannot open file system"

 

Is there any hope for recovering the data? I can live with losing the data, but the drive contained a VM image that would take a long time to set up again, so I'd rather recover it.

  • Community Expert

You can try asking for help on the btrfs mailing list, IMO only place you might get some help with that.

Archived

This topic is now archived and is closed to further replies.

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.