Re: btrfs balance resume + raid5/6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 16, 2013 at 06:00:10AM +0000, Tim Castle wrote:
> Greetings! 
> 
> I'm testing raid6, and recently added two drives. 
> I haven't been able to properly resume a balance operation: the number of
> total chunks is always too low.  
> 
> It seems that the balance starts and pauses properly, but always resumes
> with ~7 chunks. 

Hi Tim,

This is the expected behaviour.  Balance does not actually remember
which chunks it had processed before it was paused, instead it uses a
heuristic which is based on the amount of space used out of each chunk.
As you have an almost full filesystem, all of your chunks, except for
those ~7, are fully (or almost fully) used, and balance resume simply
skips them.  If you really want to balance everything (why?) you would
have to run balance to completion, w/o pausing it.

Thanks,

		Ilya
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux