Bad fsid on block ...


Go to solution Solved by JorgeB,

Recommended Posts

Hi. I recently upgraded to 6.9.2 (I had lots of VM issues with 6.9.2 previously, and stayed with 6.9.1 until now), and moved my NVMe M.2 drive from slot 2 to slot 1 on the MB (it's faster, and I removed GPU #2 so it would release the bus). Yesterday all worked perfectly, and I got my Windows VM up and running. Today I tried booting a Linux VM. It resulted in a hang, and I had to do a power button hold to stop it. After that, the main cache drive (the NVMe I moved) says it's unmountable. In the syslog it says there's a "bad fsid on block ... (long number)". I tried disabling VM Manager and Docker, but it does not help. Moving the NVMe back to slot 2 also doesn't change anything. The array is working fine, but since docker and VMs are running on the cache, it is not a good situation... Can anyone help?

t-tower-diagnostics-20220317-1703.zip t-tower-syslog-20220317-1502.zip

Link to comment

None of the options worked... What's left - reformat and restore manually..?

 

======

root@T-TOWER:/mnt/disk1# mount -o degraded,usebackuproot,ro /dev/nvme0n1p1 /x
mount: /x: wrong fs type, bad option, bad superblock on /dev/nvme0n1p1, missing codepage or helper program, or other error.

======

root@T-TOWER:/mnt/disk1# btrfs restore -vi /dev/nvme0n1 /mnt/disk1/restore
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
No valid Btrfs found on /dev/nvme0n1
Could not open root, trying backup super

======

root@T-TOWER:/mnt/disk1# btrfs check --repair /dev/nvme0n1
enabling repair mode
WARNING:

        Do not use --repair unless you are advised to do so by a developer
        or an experienced user, and then only after having accepted that no
        fsck can successfully repair all types of filesystem corruption. Eg.
        some software or hardware bugs can fatally damage a volume.
        The operation will start in 10 seconds.
        Use Ctrl-C to stop it.
10 9 8 7 6 5 4 3 2 1
Starting repair.
Opening filesystem to check...
No valid Btrfs found on /dev/nvme0n1
ERROR: cannot open file system

======

Link to comment

Successfully ran a restore. Then I tried a --repair. Does the result below mean a reformat is needed..?

 

======

root@T-TOWER:/mnt/disk1# btrfs check --repair /dev/nvme0n1p1
enabling repair mode
WARNING:

        Do not use --repair unless you are advised to do so by a developer
        or an experienced user, and then only after having accepted that no
        fsck can successfully repair all types of filesystem corruption. Eg.
        some software or hardware bugs can fatally damage a volume.
        The operation will start in 10 seconds.
        Use Ctrl-C to stop it.
10 9 8 7 6 5 4 3 2 1
Starting repair.
Opening filesystem to check...
bad tree block 22036480, bytenr mismatch, want=22036480, have=30425088
ERROR: cannot read chunk root
ERROR: cannot open file system

 

 

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.