Re: raid 1 to 10 conversion

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

 



I can confirm that convert works now with 4.1 kernel and btrfs-progs

Suman

On Tue, Jun 9, 2015 at 10:31 PM, Gareth Pye <gareth@xxxxxxxxxxxxxx> wrote:
> btrfs has a small bug at the moment where balance can't convert raid
> levels (it just does nothing), it is meant to be fixed with the next
> kernel release.
>
> On Wed, Jun 10, 2015 at 3:28 PM, Guilherme Gonçalves
> <agamennon@xxxxxxxxx> wrote:
>> Hello!, i think i made a mistake
>> i had two 3tb drivre on a raid 1 setup, i bought two aditional 3tb
>> drives to make my raid 10 array
>> i used this commands
>>
>> btrfs -f device add /dev/sdc /mnt/nas/    (i used -f because i
>> formatted my new drives using gpt)
>> btrfs -f device add /dev/sdf /mnt/nas/
>>
>> finally:
>> btrfs balance start -dconvert=raid10 -mconvert=raid10 /mnt/nas/
>>
>> after a couple of hours i ran:
>>
>> btrfs filesystem  df /mnt/nas/
>>
>> Data, RAID1: total=963.00GiB, used=962.69GiB
>> System, RAID1: total=32.00MiB, used=176.00KiB
>> Metadata, RAID1: total=6.00GiB, used=4.59GiB
>> GlobalReserve, single: total=512.00MiB, used=0.00B
>>
>> should that not read raid 10 ?
>>
>> output for btrfs fi usage /mnt/nas
>>
>> Overall:
>>     Device size:  10.92TiB
>>     Device allocated:   1.89TiB
>>     Device unallocated:   9.02TiB
>>     Device missing:     0.00B
>>     Used:   1.89TiB
>>     Free (estimated):   4.51TiB (min: 4.51TiB)
>>     Data ratio:      2.00
>>     Metadata ratio:      2.00
>>     Global reserve: 512.00MiB (used: 0.00B)
>>
>> Data,RAID1: Size:963.00GiB, Used:962.69GiB
>>    /dev/sdc 481.00GiB
>>    /dev/sdd1 482.00GiB
>>    /dev/sde1 482.00GiB
>>    /dev/sdf 481.00GiB
>>
>> Metadata,RAID1: Size:6.00GiB, Used:4.59GiB
>>    /dev/sdc   4.00GiB
>>    /dev/sdd1   2.00GiB
>>    /dev/sde1   2.00GiB
>>    /dev/sdf   4.00GiB
>>
>> System,RAID1: Size:32.00MiB, Used:176.00KiB
>>    /dev/sdd1  32.00MiB
>>    /dev/sde1  32.00MiB
>>
>> Unallocated:
>>    /dev/sdc   2.25TiB
>>    /dev/sdd1   2.26TiB
>>    /dev/sde1   2.26TiB
>>    /dev/sdf   2.25TiB
>>
>>
>> I think i made a mess here...  why is system only on two drives? why
>> is it not showing raid 10?
>> If i actually failed how do i acheive this? i want all four drives in
>> a raid 10 setup.
>>
>> Thanks in advance
>> --
>> 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
>
>
>
> --
> Gareth Pye
> Level 2 MTG Judge, Melbourne, Australia
> "Dear God, I would like to file a bug report"
> --
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in



[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