From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from c.mail.sonic.net ([64.142.111.80]:35246 "EHLO c.mail.sonic.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbbFVXmb convert rfc822-to-8bit (ORCPT ); Mon, 22 Jun 2015 19:42:31 -0400 Received: from mail-vn0-f53.google.com (mail-vn0-f53.google.com [209.85.216.53]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t5MNgTqP032511 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 22 Jun 2015 16:42:30 -0700 Received: by vnbg1 with SMTP id g1so10462207vnb.3 for ; Mon, 22 Jun 2015 16:42:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 22 Jun 2015 16:42:29 -0700 Message-ID: Subject: Re: raid 1 to 10 conversion From: Suman Chakravartula To: Gareth Pye Cc: =?UTF-8?Q?Guilherme_Gon=C3=A7alves?= , linux-btrfs Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: 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 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 > 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@vger.kernel.org >> 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@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in