Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread Mart van de Wege
basti writes: If I do this it works: # mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/loop0 /dev/loop1 Creates a two disk RAID1 array. Adding a third disk: # mdadm --grow /dev/md0 --level=1 --raid-devices=3 --add /dev/loop2 And: # mdadm --detail /dev/md0 /dev/md0: Version :

Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread Reco
Hi. On Tue, Apr 14, 2015 at 11:42:22AM +0200, basti wrote: > Hello > I want to add a 3rd drive to a raid 1 array (for disaster backup, the > drive will be connectet once a week). > I dry: > > mdadm --add /dev/md1 /dev/sde1 > > when I fail the drive there is a message > > FailSpare event detect

Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread basti
thanks but # mdadm --add /dev/md1 --raid-devices=3 --spare-devices=0 /dev/sde1 mdadm:option --raid-devices not valid in manage mode # mdadm --add /dev/md1 --spare-devices=0 /dev/sde1 mdadm:option --spare-devices not valid in manage mode # mdadm --grow /dev/md1 --raid-devices=3 --spare-devices=0

Re: Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread Darac Marjal
On Tue, Apr 14, 2015 at 11:42:22AM +0200, basti wrote: > Hello > I want to add a 3rd drive to a raid 1 array (for disaster backup, the > drive will be connectet once a week). > I dry: > > mdadm --add /dev/md1 /dev/sde1 > > when I fail the drive there is a message > > FailSpare event detected on

Add a 3rd drive to a existing raid1 (not as spare)

2015-04-14 Thread basti
Hello I want to add a 3rd drive to a raid 1 array (for disaster backup, the drive will be connectet once a week). I dry: mdadm --add /dev/md1 /dev/sde1 when I fail the drive there is a message FailSpare event detected on md device /dev/md/1, component device /dev/sde1 How can I add the 3rd driv