Re: Help please: BTRFS fs crashed due to bad removal of USB drive, no help from recovery procedures
ize 4 cache_generation75012 uuid_tree_generation75012 dev_item.uuid 108c02c0-9812-428e-8f90-23bdf88e11bf dev_item.fsid 82651f91-4989-415b-bd83-ae830f12608c [match] dev_item.type 0 dev_item.total_bytes536869842944 dev_item.bytes_used 440259313664 dev_item.io_align 0 dev_item.io_width 0 dev_item.sector_size0 dev_item.devid 1 dev_item.dev_group 0 dev_item.seek_speed 0 dev_item.bandwidth 0 dev_item.generation 0 Regards, Jari > Regards, > Xin > > > > Sent: Monday, December 19, 2016 at 2:32 AM > From: "Jari Seppälä" <lihamakaroonilaati...@gmail.com> > To: linux-btrfs@vger.kernel.org > Cc: "Xin Zhou" <xin.z...@gmx.com> > Subject: Re: Help please: BTRFS fs crashed due to bad removal of USB drive, > no help from recovery procedures > Xin Zhou <xin.z...@gmx.com> kirjoitti 17.12.2016 kello 22.27: >> >> Hi Jari, >> >> Similar with other file system, btrfs has copies of super blocks. >> Try to run "man btrfs check", "man btrfs rescue" and related commands for >> more details. >> Regards, >> Xin > > Hi Xin, > > I did follow all recovery procedures from man and wiki pages. Tools do not > help as they thing there is no BTRFS fs anymore. However if I try to reformat > the device I get: > > btrfs-progs v4.4 > See http://btrfs.wiki.kernel.org for more information. > /dev/sdb1 appears to contain an existing filesystem (btrfs). > > So, recovery tools seem to thing there is no btrfs filesystem. Mkfs seems to > thing there is. > > What I have tried: > btrfsck /dev/sdb1 > mount -t btrfs -o ro /dev/sdb1 /mnt/share/ > mount -t btrfs -o ro,recovery /dev/sdb1 /mnt/share/ > mount -t btrfs -o roootflags=recovery,nospace_cache /dev/sdb1 /mnt/share/ > mount -t btrfs -o rootflags=recovery,nospace_cache /dev/sdb1 /mnt/share/ > mount -t btrfs -o rootflags=recovery,nospace_cache,clear_cache /dev/sdb1 > /mnt/share/ > mount -t btrfs -o ro,rootflags=recovery,nospace_cache,clear_cache /dev/sdb1 > /mnt/share/ > btrfs restore /dev/sdb1 /target/device > btrfs rescue zero-log /dev/sdb1 > btrfsck --init-csum-tree /dev/sdb1 > btrfsck --fix-crc /dev/sdb1 > btrfsck --check-data-csum /dev/sdb1 > btrfs rescue chunk-recover /dev/sdb1 > btrfs rescue super-recover /dev/sdb1 > btrfs rescue zero-log /dev/sdb1 > > No help whatsoever. > > Jari > >> >> >> >> Sent: Saturday, December 17, 2016 at 2:06 AM >> From: "Jari Seppälä" <lihamakaroonilaati...@gmail.com> >> To: linux-btrfs@vger.kernel.org >> Subject: Help please: BTRFS fs crashed due to bad removal of USB drive, no >> help from recovery procedures >> Syslog tells: >> [ 135.446222] BTRFS error (device sdb1): system chunk array too small 0 < 97 >> [ 135.446260] BTRFS error (device sdb1): superblock contains fatal errors >> [ 135.462544] BTRFS error (device sdb1): open_ctree failed >> >> What have been done: >> * All "btrfs rescue" options >> >> Info on system >> * fs on external SSD via USB >> * kernel 4.9.0 (tried with 4.8.13) >> * btrfs-tools 4.4 >> * Mythbuntu (Ubuntu) 16.04.1 LTS with latest fixes 2012-12-16 >> >> Any help appreciated. Around 300G of TV recordings on the drive, which of >> course will eventually come as replays. >> >> Jari >> -- >> *** Jari Seppälä >> >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in >> the body of a message to majord...@vger.kernel.org >> More majordomo info at >> http://vger.kernel.org/majordomo-info.html[http://vger.kernel.org/majordomo-info.html] > -- *** Jari Seppälä -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Help please: BTRFS fs crashed due to bad removal of USB drive, no help from recovery procedures
Hi Jari, The message shows: > [ 135.446260] BTRFS error (device sdb1): superblock contains fatal errors So according this info, before trying to run repair / rescue procedure, would you like to show the 0,1,2 superblock status? Regards, Xin Sent: Monday, December 19, 2016 at 2:32 AM From: "Jari Seppälä" <lihamakaroonilaati...@gmail.com> To: linux-btrfs@vger.kernel.org Cc: "Xin Zhou" <xin.z...@gmx.com> Subject: Re: Help please: BTRFS fs crashed due to bad removal of USB drive, no help from recovery procedures Xin Zhou <xin.z...@gmx.com> kirjoitti 17.12.2016 kello 22.27: > > Hi Jari, > > Similar with other file system, btrfs has copies of super blocks. > Try to run "man btrfs check", "man btrfs rescue" and related commands for > more details. > Regards, > Xin Hi Xin, I did follow all recovery procedures from man and wiki pages. Tools do not help as they thing there is no BTRFS fs anymore. However if I try to reformat the device I get: btrfs-progs v4.4 See http://btrfs.wiki.kernel.org for more information. /dev/sdb1 appears to contain an existing filesystem (btrfs). So, recovery tools seem to thing there is no btrfs filesystem. Mkfs seems to thing there is. What I have tried: btrfsck /dev/sdb1 mount -t btrfs -o ro /dev/sdb1 /mnt/share/ mount -t btrfs -o ro,recovery /dev/sdb1 /mnt/share/ mount -t btrfs -o roootflags=recovery,nospace_cache /dev/sdb1 /mnt/share/ mount -t btrfs -o rootflags=recovery,nospace_cache /dev/sdb1 /mnt/share/ mount -t btrfs -o rootflags=recovery,nospace_cache,clear_cache /dev/sdb1 /mnt/share/ mount -t btrfs -o ro,rootflags=recovery,nospace_cache,clear_cache /dev/sdb1 /mnt/share/ btrfs restore /dev/sdb1 /target/device btrfs rescue zero-log /dev/sdb1 btrfsck --init-csum-tree /dev/sdb1 btrfsck --fix-crc /dev/sdb1 btrfsck --check-data-csum /dev/sdb1 btrfs rescue chunk-recover /dev/sdb1 btrfs rescue super-recover /dev/sdb1 btrfs rescue zero-log /dev/sdb1 No help whatsoever. Jari > > > > Sent: Saturday, December 17, 2016 at 2:06 AM > From: "Jari Seppälä" <lihamakaroonilaati...@gmail.com> > To: linux-btrfs@vger.kernel.org > Subject: Help please: BTRFS fs crashed due to bad removal of USB drive, no > help from recovery procedures > Syslog tells: > [ 135.446222] BTRFS error (device sdb1): system chunk array too small 0 < 97 > [ 135.446260] BTRFS error (device sdb1): superblock contains fatal errors > [ 135.462544] BTRFS error (device sdb1): open_ctree failed > > What have been done: > * All "btrfs rescue" options > > Info on system > * fs on external SSD via USB > * kernel 4.9.0 (tried with 4.8.13) > * btrfs-tools 4.4 > * Mythbuntu (Ubuntu) 16.04.1 LTS with latest fixes 2012-12-16 > > Any help appreciated. Around 300G of TV recordings on the drive, which of > course will eventually come as replays. > > Jari > -- > *** Jari Seppälä > > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majord...@vger.kernel.org > More majordomo info at > http://vger.kernel.org/majordomo-info.html[http://vger.kernel.org/majordomo-info.html] -- *** Jari Seppälä -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Help please: BTRFS fs crashed due to bad removal of USB drive, no help from recovery procedures
Xin Zhou <xin.z...@gmx.com> kirjoitti 17.12.2016 kello 22.27: > > Hi Jari, > > Similar with other file system, btrfs has copies of super blocks. > Try to run "man btrfs check", "man btrfs rescue" and related commands for > more details. > Regards, > Xin Hi Xin, I did follow all recovery procedures from man and wiki pages. Tools do not help as they thing there is no BTRFS fs anymore. However if I try to reformat the device I get: btrfs-progs v4.4 See http://btrfs.wiki.kernel.org for more information. /dev/sdb1 appears to contain an existing filesystem (btrfs). So, recovery tools seem to thing there is no btrfs filesystem. Mkfs seems to thing there is. What I have tried: btrfsck /dev/sdb1 mount -t btrfs -o ro /dev/sdb1 /mnt/share/ mount -t btrfs -o ro,recovery /dev/sdb1 /mnt/share/ mount -t btrfs -o roootflags=recovery,nospace_cache /dev/sdb1 /mnt/share/ mount -t btrfs -o rootflags=recovery,nospace_cache /dev/sdb1 /mnt/share/ mount -t btrfs -o rootflags=recovery,nospace_cache,clear_cache /dev/sdb1 /mnt/share/ mount -t btrfs -o ro,rootflags=recovery,nospace_cache,clear_cache /dev/sdb1 /mnt/share/ btrfs restore /dev/sdb1 /target/device btrfs rescue zero-log /dev/sdb1 btrfsck --init-csum-tree /dev/sdb1 btrfsck --fix-crc /dev/sdb1 btrfsck --check-data-csum /dev/sdb1 btrfs rescue chunk-recover /dev/sdb1 btrfs rescue super-recover /dev/sdb1 btrfs rescue zero-log /dev/sdb1 No help whatsoever. Jari > > > > Sent: Saturday, December 17, 2016 at 2:06 AM > From: "Jari Seppälä" <lihamakaroonilaati...@gmail.com> > To: linux-btrfs@vger.kernel.org > Subject: Help please: BTRFS fs crashed due to bad removal of USB drive, no > help from recovery procedures > Syslog tells: > [ 135.446222] BTRFS error (device sdb1): system chunk array too small 0 < 97 > [ 135.446260] BTRFS error (device sdb1): superblock contains fatal errors > [ 135.462544] BTRFS error (device sdb1): open_ctree failed > > What have been done: > * All "btrfs rescue" options > > Info on system > * fs on external SSD via USB > * kernel 4.9.0 (tried with 4.8.13) > * btrfs-tools 4.4 > * Mythbuntu (Ubuntu) 16.04.1 LTS with latest fixes 2012-12-16 > > Any help appreciated. Around 300G of TV recordings on the drive, which of > course will eventually come as replays. > > Jari > -- > *** Jari Seppälä > > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- *** Jari Seppälä -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Help please: BTRFS fs crashed due to bad removal of USB drive, no help from recovery procedures
Hi Jari, Similar with other file system, btrfs has copies of super blocks. Try to run "man btrfs check", "man btrfs rescue" and related commands for more details. Regards, Xin Sent: Saturday, December 17, 2016 at 2:06 AM From: "Jari Seppälä" <lihamakaroonilaati...@gmail.com> To: linux-btrfs@vger.kernel.org Subject: Help please: BTRFS fs crashed due to bad removal of USB drive, no help from recovery procedures Syslog tells: [ 135.446222] BTRFS error (device sdb1): system chunk array too small 0 < 97 [ 135.446260] BTRFS error (device sdb1): superblock contains fatal errors [ 135.462544] BTRFS error (device sdb1): open_ctree failed What have been done: * All "btrfs rescue" options Info on system * fs on external SSD via USB * kernel 4.9.0 (tried with 4.8.13) * btrfs-tools 4.4 * Mythbuntu (Ubuntu) 16.04.1 LTS with latest fixes 2012-12-16 Any help appreciated. Around 300G of TV recordings on the drive, which of course will eventually come as replays. Jari -- *** Jari Seppälä -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Help please: BTRFS fs crashed due to bad removal of USB drive, no help from recovery procedures
Syslog tells: [ 135.446222] BTRFS error (device sdb1): system chunk array too small 0 < 97 [ 135.446260] BTRFS error (device sdb1): superblock contains fatal errors [ 135.462544] BTRFS error (device sdb1): open_ctree failed What have been done: * All "btrfs rescue" options Info on system * fs on external SSD via USB * kernel 4.9.0 (tried with 4.8.13) * btrfs-tools 4.4 * Mythbuntu (Ubuntu) 16.04.1 LTS with latest fixes 2012-12-16 Any help appreciated. Around 300G of TV recordings on the drive, which of course will eventually come as replays. Jari -- *** Jari Seppälä -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html