On 2019/2/11 上午2:44, Chris Murphy wrote:
> On Sat, Feb 9, 2019 at 3:36 AM Jakob Schöttl wrote:
>>
>> Replace device 2 with device 3:
>>
>>mount -o degraded /dev/loop1 /mnt
>>btrfs filesystem show # to get devid of device 2
>>btrfs replace start -Br 2 /dev/loop3 /mnt
>>btrfs rep
On Sat, Feb 9, 2019 at 3:36 AM Jakob Schöttl wrote:
>
> Replace device 2 with device 3:
>
>mount -o degraded /dev/loop1 /mnt
>btrfs filesystem show # to get devid of device 2
>btrfs replace start -Br 2 /dev/loop3 /mnt
>btrfs replace status /mnt # check success
>umount /mnt
Am 09.02.19 um 16:32 schrieb Andrei Borzenkov:
Running
btrfs balance start -f -ssoft,convert=raid1 -dsoft,convert=raid1
-msoft,convert=raid1 /mnt
fixes it. I am not sure whether btrfs is expected to do it automatically
as of now.
This fix seems to work for me, too. Output was:
> Done, had t
09.02.2019 13:36, Jakob Schöttl пишет:
> btrfs filesystem show # to get devid of device 2
Funny because for me it just says "Some devices missing" without giving
exact device id. May be has been fixed in recent versions but for a long
time it really annoyed me.
OK, when I just unplug device i
09.02.2019 16:45, Jakob Schöttl пишет:
> Thanks Qu,
>
> Am 09.02.19 um 13:16 schrieb Qu Wenruo:
>> On 2019/2/9 下午6:36, Jakob Schöttl wrote:
>>> Hi,
>>>
>>> I've setup a RAID1 with two disks (disk1 and disk2) and I'm testing the
>>> btrfs replace command.
>>>
>>> After replacing disk2 with disk3, I
Thanks Qu,
Am 09.02.19 um 13:16 schrieb Qu Wenruo:
On 2019/2/9 下午6:36, Jakob Schöttl wrote:
Hi,
I've setup a RAID1 with two disks (disk1 and disk2) and I'm testing the
btrfs replace command.
After replacing disk2 with disk3, I can only mount
(a) disk1 or disk3 (if both disk are plugged) and
(
On 2019/2/9 下午6:36, Jakob Schöttl wrote:
> Hi,
>
> I've setup a RAID1 with two disks (disk1 and disk2) and I'm testing the
> btrfs replace command.
>
> After replacing disk2 with disk3, I can only mount
> (a) disk1 or disk3 (if both disk are plugged) and
> (b) the original disk1 (degraded, if d
Hi,
I've setup a RAID1 with two disks (disk1 and disk2) and I'm testing the
btrfs replace command.
After replacing disk2 with disk3, I can only mount
(a) disk1 or disk3 (if both disk are plugged) and
(b) the original disk1 (degraded, if disk3 is unplugged).
I cannot mount the replacement disk