* Permanent uncancellable balance
@ 2013-03-02 10:07 Gabriel de Perthuis
2013-03-02 11:12 ` Roman Mamedov
0 siblings, 1 reply; 3+ messages in thread
From: Gabriel de Perthuis @ 2013-03-02 10:07 UTC (permalink / raw)
To: linux-btrfs
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Permanent uncancellable balance
2013-03-02 10:07 Permanent uncancellable balance Gabriel de Perthuis
@ 2013-03-02 11:12 ` Roman Mamedov
2013-03-02 12:45 ` Gabriel de Perthuis
0 siblings, 1 reply; 3+ messages in thread
From: Roman Mamedov @ 2013-03-02 11:12 UTC (permalink / raw)
To: Gabriel de Perthuis; +Cc: linux-btrfs
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-02 12:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 10:07 Permanent uncancellable balance Gabriel de Perthuis
2013-03-02 11:12 ` Roman Mamedov
2013-03-02 12:45 ` Gabriel de Perthuis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).