Re: Balance and RAID-1

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

 



On Fri, Nov 28, 2014 at 01:37:50AM +1100, Russell Coker wrote:
> I had a RAID-1 filesystem with 2*3TB disks and 330G of disk space free 
> according to df -h.  I replaced a 3TB disk with a 4TB disk and df reported no 
> change in the free space (as expected).

Did you btrfs resize that 4TB disk?  If not, btrfs still thinks the 4TB
disk is a 3TB disk, and the rest follows from that.

> I added a 1TB disk to the filesystem and there was still no change!  I 
> expected that adding a 1TB disk would give 3TB+1TB on one side and 4TB on the 
> other so I would instantly get an extra 1TB of free space according to df -h.
> 
> 1072 out of about 2734 chunks balanced (1073 considered),  61% left
> 
> I ran btrfs balance for just over a day and a btrfs balance status reported 
> the above.  But it still only showed 860G free according to df -h.  I've 
> cancelled the balance because 860G of free space is enough for the moment and 
> I don't want that server running slowly and making noise any more.
> 
> I think that the allocation of disk space needs to be improved.  If I added a 
> 1TB disk to a pair of 3TB disks then it would be quite reasonably for some 
> serious reallocation to be required to make use of the extra space.  But when 
> I added a 1TB disk to an array that had a 3TB and a 4TB then it should be able 
> to make use of the space quite easily.
> 
> -- 
> My Main Blog         http://etbe.coker.com.au/
> My Documents Blog    http://doc.coker.com.au/
> --
> 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

Attachment: signature.asc
Description: Digital signature


[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