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

Re: [cobalt-security] active monitor not seeing replaced hdd



On Tuesday 29 October 2002 17:06, Gerald Waugh wrote:
> On Tue, 29 Oct 2002 Julians@xxxxxxxxxxxxxxx wrote:
> > cat /proc/mdstat says:
> >
> > Personalities : [linear] [raid0] [raid1] [raid5] [translucent]
> > read_ahead 1024 sectors
> > md1 : active raid1 hdc1[2] hda1[0](F) 768000 blocks [2/1] [U_]
> > md3 : active raid1 hdc3[1] hda3[0] 205056 blocks [2/2] [UU]
> > md4 : active raid1 hdc4[2] hda4[0](F) 37947072 blocks [2/1] [U_]
> > md6 : active raid1 hdc6[1] hda6[0] 131456 blocks [2/2] [UU]
> > unused devices: <none>
>
> One of mine:
> md1 : active raid1 hdc1[1] hda1[0] 2048128 blocks [2/2] [UU]
> md3 : active raid1 hdc3[1] hda3[0] 1024064 blocks [2/2] [UU]
> md4 : active raid1 hdc4[1] hda4[0] 16216128 blocks [2/2] [UU]
> md6 : active raid1 hdc6[1] hda6[0] 231744 blocks [2/2] [UU]
> unused devices: <none>
>
> Everytime I try and read this thing I get it screwed up
> But if I had to guess hda is in trouble.
>
> Which drive did you replace?
> Was it on the left or the right as you faced the unit?
>
>
> Gerald

One recommendation when you replace disk:
* A new one should be ABSOLUTELY EMPTY even of partition table.

Connect the drive to another linux and erase it by:
# dd if=/dev/zero of=/dev/hdX bs=1M

Once I've replaced disk with already repartitioned one.
My Cobalt was tried to create mirror with partitions it found and failed
in some cases (looks like your situation)

-- 
Oleg Volkov

SHUNRA Software Ltd.
System Administrator
voleg@xxxxxxxxxxxx
http://www.shunra.com

+972-51-601-914 (m)
+972-9-7643743/93121 (w)