All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Orti Alcaine <juan.orti@miceliux.com>
To: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Cannot convert to raid1
Date: Sun, 29 Mar 2015 21:15:26 +0200	[thread overview]
Message-ID: <1427656526.2251.8.camel@miceliux.com> (raw)

Hello, I'm experiencing problems while balancing a filesystem to 
raid1. The versions I'm using are: 
kernel-4.0.0-0.rc5.git1.3.fc22.x86_64
btrfs-progs-3.19.1-1.fc22.x86_64

The filesystem was created with one device, and I have added two more 
devices afterwards. To convert it to raid1, I have used:

# btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt/btrfs_raid1

The balance process has finished, but if I check my filesystem, it 
shows up as single

# btrfs fi show /mnt/btrfs_raid1
Label: 'btrfs_raid1'  uuid: cd7d4b6d-fa6b-4e2e-8b53-116d25ccdf4e
        Total devices 3 FS bytes used 1.19TiB
        devid    1 size 1.81TiB used 410.06GiB path /dev/sdb2
        devid    2 size 1.81TiB used 410.00GiB path /dev/sdc2
        devid    3 size 1.81TiB used 410.00GiB path /dev/sdd2

btrfs-progs v3.19.1

# btrfs fi df /mnt/btrfs_raid1
Data, single: total=1.19TiB, used=1.19TiB
System, DUP: total=32.00MiB, used=176.00KiB
Metadata, DUP: total=5.00GiB, used=3.73GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

# btrfs fi usage /mnt/btrfs_raid1
Overall:
    Device size:                   5.44TiB
    Device allocated:              1.20TiB
    Device unallocated:            4.24TiB
    Device missing:                  0.00B
    Used:                          1.20TiB
    Free (estimated):              4.24TiB      (min: 2.12TiB)
    Data ratio:                       1.00
    Metadata ratio:                   2.00
    Global reserve:              512.00MiB      (used: 0.00B)

Data,single: Size:1.19TiB, Used:1.19TiB
   /dev/sdb2     406.00GiB
   /dev/sdc2     405.00GiB
   /dev/sdd2     409.00GiB

Metadata,DUP: Size:5.00GiB, Used:3.73GiB
   /dev/sdb2       4.00GiB
   /dev/sdc2       5.00GiB
   /dev/sdd2       1.00GiB

System,DUP: Size:32.00MiB, Used:176.00KiB
   /dev/sdb2      64.00MiB

Unallocated:
   /dev/sdb2       1.41TiB
   /dev/sdc2       1.41TiB
   /dev/sdd2       1.41TiB


-- 
Juan Orti
https://miceliux.com

GPG key: https://miceliux.com/pub/pubkey.asc
GPG fingerprint: 61F0 8272 6882 BCA6 3A35  88F6 B630 4B72 DEEB D08B


             reply	other threads:[~2015-03-29 19:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-29 19:15 Juan Orti Alcaine [this message]
2015-03-29 19:40 ` Cannot convert to raid1 Chris Murphy
2015-03-29 20:04   ` Holger Hoffstätte
2015-03-30  6:16     ` Juan Orti Alcaine
2015-03-30  9:59       ` Holger Hoffstätte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1427656526.2251.8.camel@miceliux.com \
    --to=juan.orti@miceliux.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.