btrfs reports bad key ordering after out of memory situation

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

 



Hi Chris,

after reducing all partition sizes to 2TB I run my system now since 3 months without any problems. Many reboots and still very stable. Yesterday I run into a situation where I run out of memory on my 48Gbyte Virtual machine and suddenly the home partition was mounted read only. After a reboot the system did not come back.

I did a btrfs check —readonly /dev/sda2 and it reported 

btrfs restore -l  /dev/sdb2 test
 tree key (EXTENT_TREE ROOT_ITEM 0) 278911795200 level 2
 tree key (DEV_TREE ROOT_ITEM 0) 279226892288 level 0
 tree key (FS_TREE ROOT_ITEM 0) 22118400 level 0
 tree key (CSUM_TREE ROOT_ITEM 0) 437370880 level 2
 tree key (QUOTA_TREE ROOT_ITEM 0) 279164583936 level 0
 tree key (UUID_TREE ROOT_ITEM 0) 460750848 level 0
 tree key (257 ROOT_ITEM 0) 22642688 level 0
 tree key (258 ROOT_ITEM 0) 279163060224 level 1
 tree key (259 ROOT_ITEM 0) 278998171648 level 2
 tree key (260 ROOT_ITEM 0) 279162814464 level 2
 tree key (261 ROOT_ITEM 0) 594477056 level 0
 tree key (262 ROOT_ITEM 0) 278959783936 level 1
 tree key (263 ROOT_ITEM 0) 279005970432 level 2
 tree key (264 ROOT_ITEM 0) 279162961920 level 2
 tree key (265 ROOT_ITEM 0) 655015936 level 0
 tree key (266 ROOT_ITEM 0) 654376960 level 1
 tree key (267 ROOT_ITEM 0) 461029376 level 0
 tree key (268 ROOT_ITEM 0) 279156670464 level 2
bad key ordering 192 193
bad key ordering 192 193
 tree key (DATA_RELOC_TREE ROOT_ITEM 0) 43673436160 level 0


Could you please help me to repair this system?

Which command I can use ?

For the btrfs restore command I used the newest btrfs version.
The btrfs version the system was running on is 4.19 

Thanks a lot,

Chris





[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