From: Roman Mamedov <rm@romanrm.ru>
To: Gabriel de Perthuis <g2p.code@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Permanent uncancellable balance
Date: Sat, 2 Mar 2013 17:12:37 +0600 [thread overview]
Message-ID: <20130302171237.00afdc78@natsu> (raw)
In-Reply-To: <kgsj1h$oo1$1@ger.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]
On Sat, 2 Mar 2013 10:07:45 +0000 (UTC)
Gabriel de Perthuis <g2p.code@gmail.com> wrote:
> Hello,
> I have a filesystem that has become unusable because of a balance I can't
> stop. It is very close to full, and the balance is preventing me from
> growing it.
>
> It was started like this:
> sudo btrfs filesystem balance start -v -musage=60 -dusage=60 /srv/backups
>
> It has been stuck at 0% across reboots and kernel upgrades (currently on
> 3.8.1), and cancelling it had no effect:
>
> Balance on '/srv/backups' is running
> 0 out of about 5 chunks balanced (95 considered), 100% left
>
> According to atop it is writing but not reading anything.
> Unmounting never terminates, so does remounting ro, the only way to
> temporarilly kill it is to reboot. SIGKILL has no effect either. Is there
> *any* way I can get rid of it?
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Mount with the "skip_balance" option
https://btrfs.wiki.kernel.org/index.php/Mount_options
then you can issue "btrfs fi balance cancel" and it will succeed.
--
With respect,
Roman
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-03-02 11:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-02 10:07 Permanent uncancellable balance Gabriel de Perthuis
2013-03-02 11:12 ` Roman Mamedov [this message]
2013-03-02 12:45 ` Gabriel de Perthuis
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=20130302171237.00afdc78@natsu \
--to=rm@romanrm.ru \
--cc=g2p.code@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/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.