linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Balance terminating
@ 2013-03-09 12:03 Swasher
  2013-03-10 19:11 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Swasher @ 2013-03-09 12:03 UTC (permalink / raw)
  To: linux-btrfs

Hello, i'm started balancing on my raid0:

$ btrfs fi show
Label: none  uuid: efdcd026-f5f0-49e7-a173-8eb777018119
        Total devices 3 FS bytes used 4.57TB
        devid    3 size 1.82TB used 1.82TB path /dev/sdd
        devid    1 size 1.82TB used 1.82TB path /dev/sdc
        devid    2 size 1.82TB used 1.82TB path /dev/sdb

Btrfs Btrfs v0.19

After it, I'm start watch for progress via 'balance status', and I can see how 
progress run. But only for 83% left. 

I'm wait few hours and try cancel it with 'balance cancel'.
More than 12 hours had passed, but balance stalled in this state:

$ btrfs fi balance status /mnt/raid/  
Balance on '/mnt/raid/' is running, cancel requested
386 out of about 2231 chunks balanced (387 considered),  83% left

Question: Can I'm safetly reboot server? Or should I do something else?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Balance terminating
  2013-03-09 12:03 Balance terminating Swasher
@ 2013-03-10 19:11 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2013-03-10 19:11 UTC (permalink / raw)
  To: Swasher; +Cc: linux-btrfs

On Sat, Mar 09, 2013 at 12:03:07PM +0000, Swasher wrote:
> After it, I'm start watch for progress via 'balance status', and I can see how 
> progress run. But only for 83% left. 
> 
> I'm wait few hours and try cancel it with 'balance cancel'.
> More than 12 hours had passed, but balance stalled in this state:
> 
> $ btrfs fi balance status /mnt/raid/  
> Balance on '/mnt/raid/' is running, cancel requested
> 386 out of about 2231 chunks balanced (387 considered),  83% left

What's the kernel version?

> Question: Can I'm safetly reboot server? Or should I do something else?

Yes it's safe. Please note that an interrupted balance will continue on
next mount unless 'skip_balance' is specified (and then balance cancel
will clear the state from the fs).

david

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-10 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-09 12:03 Balance terminating Swasher
2013-03-10 19:11 ` David Sterba

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).