Gentoo Archives: gentoo-user

From: Jeff Cranmer <jeff@××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to get raid
Date: Sat, 07 Jan 2012 22:44:46
Message-Id: 1325976231.4278.25.camel@laptop.limeyworld
In Reply to: Re: [gentoo-user] How to get raid by Volker Armin Hemmann
1 > >
2 > > How do I get rid of an existing /dev/md0?
3 >
4 > you stop it. Override the superblock with dd.. and lose all data on the disks.
5 >
6 >
7 > >
8 > > I'm thinking that I can try creating a RAID1 array using the two
9 > > allegedly good disks and see if I can make that work.
10 >
11 > yeah
12 >
13 > >
14 > > If that works, I'll get rid of it and try recreating the RAID1 with one
15 > > good disk and the one that mdadm thinks is faulty.
16 > >
17 >
18 > you don't have to. You can migrate a 2 disk raid1 to a 3 disk raid5. Howtos
19 > are availble via google.
20 >
21 >
22 > just saying - box in suspend to ram. I change the cable (and connector on
23 > mobo) on a disk with two raid 1 partitions on it.
24 >
25 > One came back after starting the box.
26 >
27 > The other? Nothing I tried worked. At the end I dd'ed the partition.. and did
28 > a complete 'faulty disk/replacement' resync....
29 >
30 > argl.
31 >
32 >
33 You're assuming I have more knowledge that I do.
34 Can you explain the steps more in layman's terms. I've never used dd
35 before.
36
37 Jeff