The dmesg from the kernel panic can be seen here: http://pastebin.com/3QZqrqAX I've tried to create a btrfs-image but I'm getting a crash of the utility after only 50 MB... Check tree block failed, want=320304799744, have=0 Check tree block failed, want=320305049600, have=0 Check tree block failed, want=320298184704, have=0 Check tree block failed, want=320298184704, have=0 Check tree block failed, want=320305221632, have=0 Check tree block failed, want=320308678656, have=0 Check tree block failed, want=320308678656, have=0 Check tree block failed, want=320297295872, have=0 Check tree block failed, want=320297295872, have=0 Check tree block failed, want=320297295872, have=721320548710005777 Check tree block failed, want=320297295872, have=721320548710005777 Check tree block failed, want=320297295872, have=721320548710005777 read block failed check_tree_block btrfs-image: btrfs-image.c:518: create_metadump: Assertion `!(ret < 0)' failed. [1] 32513 abort (core dumped) On Mon, Apr 8, 2013 at 9:48 AM, Harald Glatt <mail@xxxxxxxxx> wrote: > Hi all, > > I've managed to ruin my btrfs filesystem, but I don't know how. I > basically have it split up into two subvolumes, one for the root and > one for home both of which are creating hourly snapshots. > > I've 'btrfs send' some of those to an external machine every now and > then. (At least once a day) > > At some point 'btrfs send' stopped working but gave no better error > message than invalid argument. > > I did a balance on the drive which resulted in a kernel panic after a > while of working. It then repeated the balance automatically on the > next bootup until it finally said 'balance failed' when I checked with > btrfs fi balance status. > > I'm running a funky setup here where two partitions on the same drive > are both added into the same btrfs volume resulting in this setup: > > Label: none uuid: 4e74fa05-4bf2-40da-946b-8cd53ce92242 > Total devices 2 FS bytes used 54.60GB > devid 1 size 60.52GB used 52.04GB path /dev/sda7 > devid 2 size 16.32GB used 8.03GB path /dev/sda5 > > Data: total=54.00GB, used=53.51GB > System, RAID1: total=32.00MB, used=12.00KB > System: total=4.00MB, used=0.00 > Metadata, RAID1: total=3.00GB, used=1.11GB > > The state that I'm in is that everything is working, I haven't found > any data corruption, scrubs work and confirm that there are no errors > but I can no longer use 'btrfs send' to create differential images and > I can also no longer complete a balance. > > I tried running balance start -dconvert=single to get rid of my second > partition but that also failed (without a panic though) > > I have backed up the newest state of the filesystem via rsync and am > about to wipe and restore from backup with a new fs. > > Is anyone interested in a btrfs-image to debug this state? If so > please tell me what command to run since I have never done this > before... > > Thanks > Harald -- 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
