Skip to contentSkip to conversation

Permanent uncancellable balance

DISCUSSION Gabriel de Perthuis 2 participants 3 messages Mar 2, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 19 lines · On Sat, 2 Mar 2013 10:07:45 +0000 (UTC) Gabriel de Perthuis…

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?

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected]
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.

Signature · 2 lines
With respect,
Roman