btrfs raid-0 array not possible to mount
by yeslow from LinuxQuestions.org on (#6CFBT)
Hello,
I have a dual boot system with Windows 10 Pro and Linux Kubuntu 22.04.
I have created a btrfs raid-0 volume in my Linux system with 2 SSD drives to store not very important files, where the speed is most important. I then use winbtrfs in the Windows 10 system to be able to access the btrfs volume, when using Windows 10.
Everything worked fine for several months until recently. I deleted some files on the btrfs volume in Windows 10, which always worked fine, but this time I noticed that after the file deletion the volume in Linux was not showing the expected free space. When trying to have this fixed, I decided to give it a try and use the command:
Code:btrfs check --clear-space-cache v2Wrong decision, because after that I got a warning message, and the next time I booted my computer the volume was not possible to mount.
Now, when I run the command:
Code:sudo btrfs check --readonly /dev/sda1I get the following:
Code:Opening filesystem to check...
checksum verify failed on 18266193920 wanted 0x34bed84997ecd963 found 0x9ee6d0c7b17903ec
checksum verify failed on 18266193920 wanted 0x0000000000000000 found 0x3e76427c81028f58
checksum verify failed on 18266193920 wanted 0x34bed84997ecd963 found 0x9ee6d0c7b17903ec
bad tree block 18266193920, bytenr mismatch, want=18266193920, have=6237172951202995731
ERROR: cannot read chunk root
ERROR: cannot open file systemI have tried googling these error messages but could not find a proper answer, if my btrfs volume is recoverable or not.
Like I said, this volume is not of important data, still, I would like to try if I could recover it, before simply quit and just create a new volume.
My thanks in anticipation.
I have a dual boot system with Windows 10 Pro and Linux Kubuntu 22.04.
I have created a btrfs raid-0 volume in my Linux system with 2 SSD drives to store not very important files, where the speed is most important. I then use winbtrfs in the Windows 10 system to be able to access the btrfs volume, when using Windows 10.
Everything worked fine for several months until recently. I deleted some files on the btrfs volume in Windows 10, which always worked fine, but this time I noticed that after the file deletion the volume in Linux was not showing the expected free space. When trying to have this fixed, I decided to give it a try and use the command:
Code:btrfs check --clear-space-cache v2Wrong decision, because after that I got a warning message, and the next time I booted my computer the volume was not possible to mount.
Now, when I run the command:
Code:sudo btrfs check --readonly /dev/sda1I get the following:
Code:Opening filesystem to check...
checksum verify failed on 18266193920 wanted 0x34bed84997ecd963 found 0x9ee6d0c7b17903ec
checksum verify failed on 18266193920 wanted 0x0000000000000000 found 0x3e76427c81028f58
checksum verify failed on 18266193920 wanted 0x34bed84997ecd963 found 0x9ee6d0c7b17903ec
bad tree block 18266193920, bytenr mismatch, want=18266193920, have=6237172951202995731
ERROR: cannot read chunk root
ERROR: cannot open file systemI have tried googling these error messages but could not find a proper answer, if my btrfs volume is recoverable or not.
Like I said, this volume is not of important data, still, I would like to try if I could recover it, before simply quit and just create a new volume.
My thanks in anticipation.