Re: Failed RAID0=> RAID1 Conversion

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

 



On Wed, May 13, 2015 at 12:11 PM, Hugo Mills <hugo@xxxxxxxxxxxxx> wrote:
> On Wed, May 13, 2015 at 12:59:48PM +0200, Torbjørn wrote:
>> On 13. mai 2015 12:47, David Alcorn wrote:
>> >I run Debian Jessie with a kernel upgrade to 4.0.0 from the Debian
>> >experimental repository.  My BTRFS-Tools remain at 3.17.-1  I wanted
>> >to convert a RAID0 array on /dev/sdb3 and /dev sdc3  from RAID0  to
>> >RAID1 so I ran the commands:
>> >
>> >     mount /dev/sdb3 /mnt
>> >     btrfs device add -f /dev/sdc3 /mnt
>> >     btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt
>> >
>> >All appeared well with output similar to "395 of 395 chunks converted"
>> >but I think nothing happened.  The array contains a subvolume @export
>> >with size (per "du -sh @export") of  442G.  The pertinent output from
>> >"btrfs filesystem show" reports:
>> >
>> >     Label: none  uuid: 647eb0f8-7732-40bc-a4a4-0d1b31a8ae16
>> >             Total devices 2 FS bytes used 443.05GiB
>> >             devid    1 size 1.36TiB used 223.03GiB path /dev/sdb3
>> >             devid    2 size 1.36TiB used 223.03GiB path /dev/sdc3
>> >
>> >My array remains RAID0 if I understand the above output correctly.
>> >This output persist through a reboot and no data was lost.  Where did
>> >I err?
>>
>> For info about raid levels, use "btrfs filesystem df <mount point>"
>> It should give you something like this:
>> Data, RAID1: total=12.97GiB, used=12.28GiB
>> System, RAID1: total=32.00MiB, used=16.00KiB
>> Metadata, RAID1: total=1.00GiB, used=334.53MiB
>> GlobalReserve, single: total=112.00MiB, used=0.00B
>
>    If this still says RAID0, then you've probably hit a known (and
> since fixed) bug that stops restripe operations from working:

As far as I can see, it hasn't been fixed as of 4.1-rc3 yet, nor any
patch to fix it was posted to this list yet (other than Omar's revert
patch).

>
> http://www.mail-archive.com/linux-btrfs%40vger.kernel.org/msg43313.html
>
>    Hugo.
>
> --
> Hugo Mills             | You can play with your friends' privates, but you
> hugo@... carfax.org.uk | can't play with your friends' childrens' privates.
> http://carfax.org.uk/  |
> PGP: E2AB1DE4          |                                       C++ coding rule



-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."
--
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