Re: corrupt leaf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> What are the details of the storage stack? What are the Btrfs devices backed by on the host? Physical partitions, or qcow2, or raw files? If they are files, is chattr +C set?
6x 2tb scsi drives. Raw physical partitions, working through LUKS.
Proxmox passes the devices directly through to the VM without touching
them.

> btrfs ins dump-tree -b 2533706842112 /dev/dm-0
btrfs-progs v5.4
leaf 2533706842112 items 9 free space 5914 generation 360253 owner CSUM_TREE
leaf 2533706842112 flags 0x1(WRITTEN) backref revision 1
fs uuid 8c1dea88-fa40-4e6e-a1a1-214ea6bcdb00
chunk uuid c3b187d2-64c1-46f0-a83f-d0aeb0e37fe4
        item 0 key (EXTENT_CSUM EXTENT_CSUM 68754231296) itemoff 16279
itemsize 4
                range start 68754231296 end 68754235392 length 4096
        item 1 key (EXTENT_CSUM EXTENT_CSUM 68754235392) itemoff 13167
itemsize 3112
                range start 68754235392 end 68757422080 length 3186688
        item 2 key (EXTENT_CSUM EXTENT_CSUM 68757422080) itemoff 12891
itemsize 276
                range start 68757422080 end 68757704704 length 282624
        item 3 key (EXTENT_CSUM EXTENT_CSUM 68757819392) itemoff 12767
itemsize 124
                range start 68757819392 end 68757946368 length 126976
        item 4 key (EXTENT_CSUM EXTENT_CSUM 68757946368) itemoff 11359
itemsize 1408
                range start 68757946368 end 68759388160 length 1441792
        item 5 key (EXTENT_CSUM EXTENT_CSUM 68759388160) itemoff 9567
itemsize 1792
                range start 68759388160 end 68761223168 length 1835008
        item 6 key (EXTENT_CSUM EXTENT_CSUM 68761178112) itemoff 9363
itemsize 204
                range start 68761178112 end 68761387008 length 208896
        item 7 key (EXTENT_CSUM EXTENT_CSUM 68761387008) itemoff 7739
itemsize 1624
                range start 68761387008 end 68763049984 length 1662976
        item 8 key (EXTENT_CSUM EXTENT_CSUM 68763049984) itemoff 6139
itemsize 1600
                range start 68763049984 end 68764688384 length 1638400

> btrfs check --force /dev/mapper/luks0
Opening filesystem to check...
WARNING: filesystem mounted, continuing because of --force
Checking filesystem on /dev/mapper/luks0
UUID: 8c1dea88-fa40-4e6e-a1a1-214ea6bcdb00
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space cache
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
there are no extents for csum range 68757573632-68757704704
Right section didn't have a record
there are no extents for csum range 68754427904-68757704704
csum exists for 68750639104-68757704704 but there is no extent record
there are no extents for csum range 68760719360-68761223168
Right section didn't have a record
there are no extents for csum range 68757819392-68761223168
csum exists for 68757819392-68761223168 but there is no extent record
there are no extents for csum range 68761362432-68761378816
Right section didn't have a record
there are no extents for csum range 68761178112-68836831232
csum exists for 68761178112-68836831232 but there is no extent record
there are no extents for csum range 1168638763008-1168638803968
csum exists for 1168638763008-1168645861376 but there is no extent record
ERROR: errors found in csum tree
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 3165125918720 bytes used, error(s) found
total csum bytes: 3085473228
total tree bytes: 4791877632
total fs tree bytes: 1177714688
total extent tree bytes: 94617600
btree space waste bytes: 492319296
file data blocks allocated: 3160334041088
 referenced 3157401378816



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux