Re: ERROR: error during balancing '.' - No space left on device

Hugo Mills
2014-03-23T17:34:12Z

[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]

On Sun, Mar 23, 2014 at 10:03:14AM -0700, Marc MERLIN wrote:
> On Sun, Mar 23, 2014 at 04:28:25PM +0000, Hugo Mills wrote:
> > Before you do this, can you take a btrfs-image of your metadata,
> > and add a report to bugzilla.kernel.org? You're not the only person
> > who's had this problem recently, and I suspect there's something
> > still lurking in there that needs attention.
> >
> > > Hopefully this will be handled better in later code.
> >
> > With the info you can provide from a btrfs-image... let's hope so. :)
>
> Mmmh, this may not be good :-/
>
> legolas:/mnt/btrfs_pool2# btrfs-image -c 9 -t 6 /dev/mapper/disk2 /tmp/pool2.image
> parent transid verify failed on 295965446144 wanted 51493 found 51495
> parent transid verify failed on 295965446144 wanted 51493 found 51495
> parent transid verify failed on 295965446144 wanted 51493 found 51495
> parent transid verify failed on 295965446144 wanted 51493 found 51495
> Ignoring transid failure
> leaf parent key incorrect 295965446144
> parent transid verify failed on 106205184 wanted 51468 found 51528
> parent transid verify failed on 106205184 wanted 51468 found 51528
> parent transid verify failed on 106205184 wanted 51468 found 51528
> parent transid verify failed on 106205184 wanted 51468 found 51528
[snip]
> Segmentation fault
>
> Is it a bug in the tool, or do I have real corruption?
>
> Are there magic options I can give it to make it work around this?

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.

Hugo.

--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- Unix: For controlling fungal diseases in crops. ---

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]