On Wed, Mar 16, 2011 at 03:43:52PM -0400, Chris Mason wrote: > Excerpts from Leon Meßner's message of 2011-03-15 13:26:17 -0400: > > On Tue, Mar 15, 2011 at 12:58:43PM -0400, Chris Mason wrote: > > > Excerpts from Leon Meßner's message of 2011-03-14 20:28:56 -0400: > > > > Hi, > > > > > > > > i'm having a problem with a damaged btrfs after power loss. When i try > > > > to mount the fs mount either segfaults (trace at bottom) or hangs in > > > > "D" state together with [btrfs-transacti]. > > > > > > > > Please CC me as i'm not an the list. > > > > # btrfsck -s 1 /dev/sdb2 > > > > > > Does btrfsck /dev/sdb2 work? -s 1 selects a different super, hopefully > > > all the supers are the same. If plain btrfsck runs without failing we > > > can easily work around the log tree crash. > > > > Yes it does (i think), output is below. > > Ok, if you have the latest btrfs-progs from git, you can > > make btrfs-zero-log > ./btrfs-zero-log /dev/xxx That worked. I could mount the partition with the following log message: # dmesg | tail -n 4 Btrfs loaded device label rootext4 devid 1 transid 45013 /dev/sdb2 Btrfs detected SSD devices, enabling SSD mode btrfs: unlinked 13 orphan Thanks a lot, leon -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
