JustinChase Posted September 28, 2014 Author Share Posted September 28, 2014 I'm guessing this isn't recoverable ? ... root@media:/mnt# btrfs check /dev/sdh1 parent transid verify failed on 350928896 wanted 183324 found 183322 parent transid verify failed on 350928896 wanted 183324 found 183322 parent transid verify failed on 350928896 wanted 183324 found 183322 parent transid verify failed on 350928896 wanted 183324 found 183322 Ignoring transid failure leaf parent key incorrect 350928896 Couldn't setup csum tree parent transid verify failed on 350928896 wanted 183324 found 183322 Ignoring transid failure leaf parent key incorrect 350928896 parent transid verify failed on 351535104 wanted 183324 found 183322 parent transid verify failed on 351535104 wanted 183324 found 183322 parent transid verify failed on 351535104 wanted 183324 found 183322 parent transid verify failed on 351535104 wanted 183324 found 183322 parent transid verify failed on 352174080 wanted 183324 found 182094 parent transid verify failed on 352174080 wanted 183324 found 182094 parent transid verify failed on 352174080 wanted 183324 found 182094 parent transid verify failed on 352174080 wanted 183324 found 182094 Ignoring transid failure leaf parent key incorrect 352174080 parent transid verify failed on 349978624 wanted 183324 found 183321 parent transid verify failed on 349978624 wanted 183324 found 183321 Checking filesystem on /dev/sdh1 UUID: 41b225a8-8987-4a49-b730-6d9c98dff27c checking extents parent transid verify failed on 350928896 wanted 183324 found 183322 Ignoring transid failure parent transid verify failed on 352223232 wanted 183324 found 182094 ^^this repeats about 100 more times parent transid verify failed on 350928896 wanted 183324 found 183322 Ignoring transid failure leaf parent key incorrect 350928896 bad block 350928896 Chunk[256, 228, 0] stripe[1, 0] is not found in dev extent Chunk[256, 228, 4194304] stripe[1, 4194304] is not found in dev extent Chunk[256, 228, 12582912] stripe[1, 12582912] is not found in dev extent Chunk[256, 228, 20971520]: length(8388608), offset(20971520), type(34) is not found in block group Chunk[256, 228, 20971520] stripe[1, 20971520] is not found in dev extent Chunk[256, 228, 20971520] stripe[1, 29360128] is not found in dev extent Chunk[256, 228, 29360128]: length(1073741824), offset(29360128), type(36) is not found in block group Chunk[256, 228, 29360128] stripe[1, 37748736] is not found in dev extent Chunk[256, 228, 29360128] stripe[1, 1111490560] is not found in dev extent Chunk[256, 228, 1103101952]: length(1073741824), offset(1103101952), type(1) is not found in block group Chunk[256, 228, 1103101952] stripe[1, 2185232384] is not found in dev extent Chunk[256, 228, 2176843776]: length(1073741824), offset(2176843776), type(1) is not found in block group Chunk[256, 228, 2176843776] stripe[1, 3258974208] is not found in dev extent more similar stuff... Chunk[256, 228, 25799163904] stripe[1, 26881294336] is not found in dev extent Chunk[256, 228, 26872905728]: length(1073741824), offset(26872905728), type(1) is not found in block group Chunk[256, 228, 26872905728] stripe[1, 27955036160] is not found in dev extent Chunk[256, 228, 27946647552]: length(1073741824), offset(27946647552), type(1) is not found in block group Chunk[256, 228, 27946647552] stripe[1, 29028777984] is not found in dev extent Chunk[256, 228, 29020389376] stripe[1, 30102519808] is not found in dev extent Chunk[256, 228, 30094131200] stripe[1, 31176261632] is not found in dev extent Chunk[256, 228, 31167873024] stripe[1, 32250003456] is not found in dev extent Chunk[256, 228, 32241614848] stripe[1, 33323745280] is not found in dev extent Chunk[256, 228, 33315356672] stripe[1, 34397487104] is not found in dev extent Chunk[256, 228, 34389098496]: length(1073741824), offset(34389098496), type(1) is not found in block group Chunk[256, 228, 34389098496] stripe[1, 35471228928] is not found in dev extent Chunk[256, 228, 35462840320] stripe[1, 36544970752] is not found in dev extent Chunk[256, 228, 36536582144] stripe[1, 37618712576] is not found in dev extent Chunk[256, 228, 37610323968] stripe[1, 38692454400] is not found in dev extent Chunk[256, 228, 38684065792]: length(1073741824), offset(38684065792), type(1) is not found in block group more similar stuff... Chunk[256, 228, 198671597568] stripe[1, 199753728000] is not found in dev extent Chunk[256, 228, 199745339392]: length(1073741824), offset(199745339392), type(1) is not found in block group Chunk[256, 228, 199745339392] stripe[1, 200827469824] is not found in dev extent Chunk[256, 228, 200819081216]: length(1073741824), offset(200819081216), type(1) is not found in block group Chunk[256, 228, 200819081216] stripe[1, 201901211648] is not found in dev extent more similar stuff... Chunk[256, 228, 458517118976] stripe[1, 459599249408] is not found in dev extent more similar stuff... parent transid verify failed on 350928896 wanted 183324 found 183322 Ignoring transid failure leaf parent key incorrect 350928896 Couldn't find free space inode -1 checking fs roots Segmentation fault Link to comment
jphipps Posted September 28, 2014 Share Posted September 28, 2014 I don't know much about btrfs, but that doesn't look good... Did you have much data on the cache? You may just have to reformat it to get it working again. Link to comment
JustinChase Posted September 28, 2014 Author Share Posted September 28, 2014 not much data, but all my docker appdata files were there Not the end of the world, but no so much fun to set everything up again. Of course, none of this has been any fun. Link to comment
jphipps Posted September 28, 2014 Share Posted September 28, 2014 Since you have to wait to get the array back up, you could see if LT or someone has any ideas before blowing it away. I keep all my app data on the array, but mine is mostly just testing it out. Link to comment
dgaschk Posted September 28, 2014 Share Posted September 28, 2014 Google "btrfs scrub". Link to comment
JustinChase Posted September 28, 2014 Author Share Posted September 28, 2014 doesn't seem to work for me... root@media:/mnt# btrfs scrub start /dev/sdh ERROR: '/dev/sdh' is not a mounted btrfs device root@media:/mnt# mount -t btrfs /dev/sdh /mnt/cachedisk mount: wrong fs type, bad option, bad superblock on /dev/sdh, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so am I doing it wrong? Link to comment
jphipps Posted September 28, 2014 Share Posted September 28, 2014 You are missing the partition number, it should be sdh1... Link to comment
JustinChase Posted September 28, 2014 Author Share Posted September 28, 2014 hmmm... root@media:/mnt# mount -t btrfs /dev/sdh1 /mnt/cachedisk mount: wrong fs type, bad option, bad superblock on /dev/sdh1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so root@media:/mnt# btrfs scrub start /dev/sdh1 ERROR: '/dev/sdh1' is not a mounted btrfs device Link to comment
jphipps Posted September 28, 2014 Share Posted September 28, 2014 Maybe if you dump the formating you could see what is there. Try a : fdisk -l /dev/sdh My btrfs cache volume is showing a id of 83 for the 1 partition. Link to comment
JustinChase Posted September 28, 2014 Author Share Posted September 28, 2014 Interesting... root@media:/mnt# fdisk -l /dev/sdh Disk /dev/sdh: 500.1 GB, 500107862016 bytes 1 heads, 63 sectors/track, 15504336 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdh1 64 976773167 488386552 83 Linux Link to comment
jphipps Posted September 28, 2014 Share Posted September 28, 2014 Looks like the btrfs wiki has a page with a few things to try: https://btrfs.wiki.kernel.org/index.php/Problem_FAQ There is one for mounting as recovery to try to get data off. I think you just add a "-o recovery" Link to comment
JustinChase Posted September 28, 2014 Author Share Posted September 28, 2014 hmmm, I thought I'd already tried that, but in trying it again just now, it worked!! I'm currently copying from the cache to an array disk. Fingers crossed it finishes okay. thanks again for all your help!! Link to comment
jphipps Posted September 28, 2014 Share Posted September 28, 2014 Cool, glad that worked... From my experience, I am not really a fan of BTRFS... Link to comment
JustinChase Posted September 28, 2014 Author Share Posted September 28, 2014 After this, me neither. I'll convert my cache to XFS when I end up having to reformat it, since docker doesn't need it anymore. It will be late tomorrow before the copying is finished, assuming it finishes without issue. Link to comment
IsSidha Posted November 30, 2014 Share Posted November 30, 2014 very weird thing.... my cache drive showed as unformatted at every reboot (2 drives).. after formatting it works well until reboot after another reboot and again an unformatted cache drive i decided to do a "new config" and reassign the drives after reassigning the drives they were no longer unformatted and the data was present after another reboot the docker was alive and the apps running :o Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.