All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <tch@virtall.com>
To: Shilong Wang <wangshilong1991@gmail.com>
Cc: Wang Shilong <wangsl.fnst@cn.fujitsu.com>,
	"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: kernel BUG at fs/btrfs/relocation.c:1062
Date: Sat, 21 Dec 2013 01:41:10 +0900	[thread overview]
Message-ID: <20131221014110.606c2ca8@virtall.com> (raw)
In-Reply-To: <CAP9B-Q=SyEbQP1fLto2buR7jRqQHcD37ACuAguSxT4Td07KV9Q@mail.gmail.com>

On Sat, 21 Dec 2013 00:07:19 +0800
Shilong Wang <wangshilong1991@gmail.com> wrote:

> 2013/12/20 Tomasz Chmielewski <tch@virtall.com>:
> > -o  skip_balance - didn't know this.
> >
> > Actually, I was able to "skip" the balance, sort of, with this:
> >
> > mount /mnt/btrfs ; btrfs fi balance cancel /mnt/btrfs
> 
> From your previous email, i suspend your filesystem is nearly fully.
> "mount -o skip_balance" will avoid balance continuing while use btrfs
> balance cancel still
> can not avoid balance totally, so i recommend you use skip_balance
> option when remounting.

My other thread a few days ago ("no space left, metadata usage almost
full?"), if that's what you're referring to, was about a different
filesystem.

This one should have enough free space left:

# btrfs fi
show /mnt/lxc1 Label: lxc1  uuid: 8d08ad6d-4543-4fe5-8b1b-640dc1423d41
        Total devices 2 FS bytes used 2.02TiB
        devid    1 size 2.62TiB used 2.02TiB path /dev/sda5
        devid    2 size 2.62TiB used 2.02TiB path /dev/sdb5

Btrfs v3.12

# btrfs fi df /mnt/lxc1
Data, RAID1: total=1.97TiB, used=1.97TiB
System, RAID1: total=32.00MiB, used=300.00KiB
Metadata, RAID1: total=50.00GiB, used=49.21GiB


I've tried using skip_balance - it mounted, but breaks soon after I try
to remove any snapshot.


-- 
Tomasz Chmielewski
http://wpkg.org

  reply	other threads:[~2013-12-20 16:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19 12:09 kernel BUG at fs/btrfs/relocation.c:1062 Tomasz Chmielewski
2013-12-19 12:14 ` Wang Shilong
2013-12-19 12:30   ` Tomasz Chmielewski
2013-12-19 12:49     ` Wang Shilong
2013-12-19 13:07       ` Tomasz Chmielewski
2013-12-20 15:06         ` Tomasz Chmielewski
2013-12-20 15:52           ` Shilong Wang
2013-12-20 15:59             ` Tomasz Chmielewski
2013-12-20 16:07               ` Shilong Wang
2013-12-20 16:41                 ` Tomasz Chmielewski [this message]
2013-12-20 17:11                   ` Shilong Wang
2013-12-21  3:08                     ` Tomasz Chmielewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131221014110.606c2ca8@virtall.com \
    --to=tch@virtall.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=wangshilong1991@gmail.com \
    --cc=wangsl.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.