converting to raid5

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

 



Hi,

Just installed 3.9.0-rc2 and the latest btrfs-progs. 

filesystem is a 4 disk raid1 array.

first, i did the following: `btrfs val start -dconvert=raid5,usage=1` to convert the mostly empty chunks.
This resulted in a lot of allocated space (10's of gigs), with only a few 100 meg used.
i did `btrfs val start -dusage=75` to clean things up.

then i ran `btrfs bal start -dconvert=raid5,soft`.
I noticed how the difference between total and used for raid5 kept growing. 
My guess is that its taking 1 raid1 chunk (2x1 gig disk space, 1 gig data), and moving it to 1 raid5 chunk (4gig disk space, 3gig data), leaving all chunks 33% used.

This is what 3 calls of `btrfs file df /` looks like a few minutes after each other, with the balance still running:

Data, RAID1: total=807.00GB, used=805.70GB
Data, RAID5: total=543.00GB, used=192.81GB
System, RAID1: total=32.00MB, used=192.00KB
Metadata, RAID1: total=6.00GB, used=3.54GB
--
Data, RAID1: total=800.00GB, used=798.70GB
Data, RAID5: total=564.00GB, used=199.30GB
System, RAID1: total=32.00MB, used=192.00KB
Metadata, RAID1: total=6.00GB, used=3.53GB
--
Data, RAID1: total=795.00GB, used=793.70GB
Data, RAID5: total=579.00GB, used=204.81GB
System, RAID1: total=32.00MB, used=192.00KB
Metadata, RAID1: total=6.00GB, used=3.54GB


Remco--
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