Re: Reduce number of active RAID1 devices

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

 



On 01/30/2012 07:53 PM, Jérôme Poulin wrote:
On Mon, Jan 30, 2012 at 1:40 PM, Jan Ceuleers<jan.ceuleers@xxxxxxxxxxxx>  wrote:
md0 : active raid1 sdb2[3] sde1[2] sdd1[0]
      521984 blocks [4/3] [U_UU]
You must first fail and remove a device from the array, reduce to 2
components and add back the spare which will appear as sdxN (S). You
can do this online.

That works, thank you very much.

root@zotac:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 sdb3[2](S) sde2[1] sdd2[0]
      487861824 blocks [2/2] [UU]

md0 : active raid1 sdb2[2](S) sde1[1] sdd1[0]
      521984 blocks [2/2] [UU]

unused devices: <none>


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux