sazrocks Posted January 1, 2019 Share Posted January 1, 2019 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. Quote Link to comment
JorgeB Posted January 2, 2019 Share Posted January 2, 2019 You can try asking for help on the btrfs mailing list, IMO only place you might get some help with that. Quote Link to comment
Recommended Posts
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.