Skip to contentSkip to conversation

Balance terminating

DISCUSSION Swasher 2 participants 2 messages Mar 9, 2013 – Mar 10, 2013 Btrfs file system

lore
Share & tools
lore

Swasher

author
#0 lore raw

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?

#1 lore raw
Quoted 9 lines · Swasher

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?

Quoted 1 line

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