Gentoo Archives: gentoo-user

From: Jeff Cranmer <jeff@××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to get raid
Date: Fri, 06 Jan 2012 01:13:52
Message-Id: 1325812384.5380.3.camel@laptop.limeyworld
In Reply to: Re: [gentoo-user] How to get raid by Volker Armin Hemmann
1 On Thu, 2012-01-05 at 11:22 +0100, Volker Armin Hemmann wrote:
2 > Am Mittwoch, 4. Januar 2012, 22:45:45 schrieb Jeff Cranmer:
3 > > On Thu, 2012-01-05 at 04:01 +0100, Volker Armin Hemmann wrote:
4 > > > the short one:
5 > > >
6 > > > partition one disk with (c)fdisk. Use sfdisk to transfer the partition
7 > > > scheme to the other disks.
8 > > >
9 > > > run mdadm --create /dev/md0 level=whatever you want --raid-
10 > > > devices=thenumberofdevices /dev/sdXY /dev/sdZY ...
11 > > >
12 > > > mdadm --detail --scan >> /etc/mdadm.conf
13 > > >
14 > > > done
15 > >
16 > > OK, but there is active data on the disks, so I don't want to partition
17 > > them. They should already partitioned, and running fdisk will erase the
18 > > data.
19 >
20 > first rule:
21 >
22 > always mount a scratch monkey
23 >
24 > In your case: always backup data.
25 >
26 No big deal.
27 99.9% of the data is backed up. I was just hoping to recover the last
28 0.1% (picky huh?<g>). Now that I know one of the main drawbacks of
29 fakeraid, I think I'll move ahead with software RAID.
30
31 OK, so I've partitioned the first disk as a single linux partition
32 (/dev/sdb1, ID 83, Linux).
33 How do I use sfdisk to transfer that partition scheme to the other
34 disks? Is it not sufficient just to partition the other two disks in
35 the same way as the first?
36
37 Jeff

Replies

Subject Author
Re: [gentoo-user] How to get raid Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] How to get raid Volker Armin Hemmann <volkerarmin@××××××××××.com>