Thread (2 messages) 2 messages, 2 authors, 2005-04-08

Re: How to move a singleton raid1 drive from raid1 /dev/md2 to /dev/md1

From: Mitchell Laks <hidden>
Date: 2005-04-08 04:29:39

Thanks you Neil!!

i am running debian sarge with 1.9 and kernel 2.6.8
I followed  your instructions 

  mdadm -S /dev/md2  # shutdown md2 and release hde1
  mdadm /dev/md1 -a /dev/hde1 # add hde1 as a spare in md1
  mdadm -G -n2 /dev/md1 # grow md1 to have two devices.

and now

wustl@A1:~$ cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdb1[0] hdg1[1]
      244195904 blocks [2/2] [UU]

md1 : active raid1 hde1[1] hdc1[0]
      244195904 blocks [2/2] [UU]


Yay!!!

Thank you very much.

Mitchell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help