On Sun, Mar 23, 2014 at 12:10:17PM -0700, Marc MERLIN wrote: > On Sun, Mar 23, 2014 at 05:34:09PM +0000, Hugo Mills wrote: > > xaba on IRC has just pointed out that it looks like you're running > > this on a mounted filesystem -- it needs to be unmounted for > > btrfs-image to work reliably. > > Sorry, I didn't realize that, although it makes sense. btrfs-image really > should fail though: > https://bugzilla.kernel.org/show_bug.cgi?id=72791 > > I got the image, but it's 1.5GB (1TB filesystem), but kernel bugzilla times > out after 1% of upload (repeatedly) > Placeholder bug: > https://bugzilla.kernel.org/show_bug.cgi?id=72801
Here is the image: http://marc.merlins.org/tmp/pool2.image After taking that image for you, I got the filesysetm to recover: legolas:/mnt/btrfs_pool2# for i in *weekly*; do btrfs subvolume delete $i; done Delete subvolume '/mnt/btrfs_pool2/home_weekly_20140309_00:06:01' Delete subvolume '/mnt/btrfs_pool2/home_weekly_20140316_00:06:01' Delete subvolume '/mnt/btrfs_pool2/root_weekly_20140309_00:06:01' Delete subvolume '/mnt/btrfs_pool2/root_weekly_20140316_00:06:01' Delete subvolume '/mnt/btrfs_pool2/tmp_weekly_20140309_00:06:01' Delete subvolume '/mnt/btrfs_pool2/tmp_weekly_20140316_00:06:01' Delete subvolume '/mnt/btrfs_pool2/usr_weekly_20140309_00:06:01' Delete subvolume '/mnt/btrfs_pool2/usr_weekly_20140316_00:06:01' Delete subvolume '/mnt/btrfs_pool2/var_weekly_20140309_00:06:01' ^A Delete subvolume '/mnt/btrfs_pool2/var_weekly_20140316_00:06:01' legolas:/mnt/btrfs_pool2# btrfs fi df . Data, single: total=800.42GiB, used=636.91GiB System, DUP: total=8.00MiB, used=92.00KiB System, single: total=4.00MiB, used=0.00 Metadata, DUP: total=10.00GiB, used=9.50GiB Metadata, single: total=8.00MiB, used=0.00 legolas:/mnt/btrfs_pool2# btrfs balance start -v -dusage=0 /mnt/btrfs_pool2 Dumping filters: flags 0x1, state 0x0, force is off DATA (flags 0x2): balancing, usage=0 Done, had to relocate 91 out of 823 chunks legolas:/mnt/btrfs_pool2# btrfs fi df . Data, single: total=709.01GiB, used=603.85GiB System, DUP: total=8.00MiB, used=88.00KiB System, single: total=4.00MiB, used=0.00 Metadata, DUP: total=10.00GiB, used=7.39GiB Metadata, single: total=8.00MiB, used=0.00 Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/
signature.asc
Description: Digital signature