New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btrfs scrub error super=1 after clone-restore #180
Comments
With
|
According to https://btrfs.wiki.kernel.org/index.php/On-disk_Format#Superblock, there should be a copy of the superblock at 0x04000000. Looking at the domain map file produced with Checking a freshly created filesytstem, there is indeed data at this location:
The magic "_BHRfS_M" at 0x40 identifies this as a btrfs superblock and this seems to be a copy of the first superblock at 0x10000 (a different checksum at offset 0x0 and block location at offset 0x30 is expected):
It seems that Note that larger filesystems have a 3rd copy at 0x4000000000 (256 GiB in) according to the above link. |
oh yes, We should add to btrfs check. thank you. |
Hi, Please kindly give it a try later. Thank you. |
An empty btrfs filesystem is not restored fully, triggering an "super=1" error in a scrub run. (
btrfs check
, however, does not find anything wrong.)Version tested: v0.3.11 (931b4a4), shipped with openSUSE Leap 15.3
Steps to reproduce:
Observed output:
Issue #176 suggests that some data written by
mkfs.btrfs
is not included.Error message mentioned (but not explained) in
https://unix.stackexchange.com/questions/239765/how-to-fix-btrfs-superblock-error-after-resize-shrink-btrfs-couldnt-get-super
Related:
The text was updated successfully, but these errors were encountered: