* Cannot convert to raid1
@ 2015-03-29 19:15 Juan Orti Alcaine
2015-03-29 19:40 ` Chris Murphy
0 siblings, 1 reply; 5+ messages in thread
From: Juan Orti Alcaine @ 2015-03-29 19:15 UTC (permalink / raw)
To: linux-btrfs
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot convert to raid1
2015-03-29 19:15 Cannot convert to raid1 Juan Orti Alcaine
@ 2015-03-29 19:40 ` Chris Murphy
2015-03-29 20:04 ` Holger Hoffstätte
0 siblings, 1 reply; 5+ messages in thread
From: Chris Murphy @ 2015-03-29 19:40 UTC (permalink / raw)
To: Juan Orti Alcaine; +Cc: linux-btrfs
On Sun, Mar 29, 2015 at 1:15 PM, Juan Orti Alcaine
<juan.orti@miceliux.com> wrote:
> 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
Yeah, I'm kinda stumped. The only thing I'm thinking is if you're
absolutely sure it's mounted at /mnt/btrfs_raid1 – because I've made
this mistake before. (Oops.)
--
Chris Murphy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot convert to raid1
2015-03-29 19:40 ` Chris Murphy
@ 2015-03-29 20:04 ` Holger Hoffstätte
2015-03-30 6:16 ` Juan Orti Alcaine
0 siblings, 1 reply; 5+ messages in thread
From: Holger Hoffstätte @ 2015-03-29 20:04 UTC (permalink / raw)
To: linux-btrfs
On Sun, 29 Mar 2015 13:40:56 -0600, Chris Murphy wrote:
> On Sun, Mar 29, 2015 at 1:15 PM, Juan Orti Alcaine
> <juan.orti@miceliux.com> wrote:
>
>> 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
>
> Yeah, I'm kinda stumped. The only thing I'm thinking is if you're
> absolutely sure it's mounted at /mnt/btrfs_raid1 – because I've made
> this mistake before. (Oops.)
Nope, known bug in 4.0-rc:
http://thread.gmane.org/gmane.comp.file-systems.btrfs/43117
..nag, nag..
-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot convert to raid1
2015-03-29 20:04 ` Holger Hoffstätte
@ 2015-03-30 6:16 ` Juan Orti Alcaine
2015-03-30 9:59 ` Holger Hoffstätte
0 siblings, 1 reply; 5+ messages in thread
From: Juan Orti Alcaine @ 2015-03-30 6:16 UTC (permalink / raw)
To: linux-btrfs
El 2015-03-29 22:04, Holger Hoffstätte escribió:
> On Sun, 29 Mar 2015 13:40:56 -0600, Chris Murphy wrote:
>
>> On Sun, Mar 29, 2015 at 1:15 PM, Juan Orti Alcaine
>> <juan.orti@miceliux.com> wrote:
>>
>>> 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
>>
>> Yeah, I'm kinda stumped. The only thing I'm thinking is if you're
>> absolutely sure it's mounted at /mnt/btrfs_raid1 – because I've made
>> this mistake before. (Oops.)
>
> Nope, known bug in 4.0-rc:
> http://thread.gmane.org/gmane.comp.file-systems.btrfs/43117
Do you know if the fix is going to do it for 4.0 final?
Thank you.
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot convert to raid1
2015-03-30 6:16 ` Juan Orti Alcaine
@ 2015-03-30 9:59 ` Holger Hoffstätte
0 siblings, 0 replies; 5+ messages in thread
From: Holger Hoffstätte @ 2015-03-30 9:59 UTC (permalink / raw)
To: linux-btrfs
On Mon, 30 Mar 2015 08:16:44 +0200, Juan Orti Alcaine wrote:
> El 2015-03-29 22:04, Holger Hoffstätte escribió:
>> On Sun, 29 Mar 2015 13:40:56 -0600, Chris Murphy wrote:
>>
>>> On Sun, Mar 29, 2015 at 1:15 PM, Juan Orti Alcaine
>>> <juan.orti@miceliux.com> wrote:
>>>
>>>> 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
>>>
>>> Yeah, I'm kinda stumped. The only thing I'm thinking is if you're
>>> absolutely sure it's mounted at /mnt/btrfs_raid1 – because I've made
>>> this mistake before. (Oops.)
>>
>> Nope, known bug in 4.0-rc:
>> http://thread.gmane.org/gmane.comp.file-systems.btrfs/43117
>
>
> Do you know if the fix is going to do it for 4.0 final?
> Thank you.
No idea, sorry. So far I don't see anything in Chris' trees.
I maintain my own kernel (for btrfs and some other extensions) and
just skipped that particular commit for now.
-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-30 9:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-29 19:15 Cannot convert to raid1 Juan Orti Alcaine
2015-03-29 19:40 ` 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
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.