How fix btrfs extent allocation tree chunk allocation ?

aug7744

Member
Joined
Aug 12, 2020
Messages
98
Reaction score
12
Credits
1,020
Hello.
Thanks for reading my topic.

Strangely in an BTRFS partition show the errors below when running
sudo btrfs check --readonly --force --mode original --progress /dev/sdb1

Opening filesystem to check...
Checking filesystem on /dev/sdb1
UUID: 7846f603-7ca7-4f38-9a02-b71583dba767
[1/7] checking root items (0:01:04 elapsed, 2652028 items checked)
super bytes used 946388021248 mismatches actual used 94486411264098682 items checked)
[2/7] checking extents (0:01:35 elapsed, 98682 items checked)
ERROR: errors found in extent allocation tree or chunk allocation


====
The BTRFS volume read correctly files and not any crashes or power failure have happened to do that error.

How fix that error in "extent allocation tree or chunk allocation" ?
 


Is /dev/sdb1 a mounted filesystem?

Do you have a LiveUSB you can boot from?
 
@dos2unix

The filesystem not is mounted.
Is possible boot in another disk for repair.
However the file acces is correct.
Only care about that type of error.

@f33dm3bits

command below can damage the file system
btrfs check --repair

Is more secure copy all files to another disk and reformat that partition.
scrub is much time to finish.
 

Members online


Latest posts

Top