From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to get raid
Date: Fri, 06 Jan 2012 02:41:31 +0100 [thread overview]
Message-ID: <1385525.B1tbhPyYah@localhost> (raw)
In-Reply-To: <1325812384.5380.3.camel@laptop.limeyworld>
Am Donnerstag, 5. Januar 2012, 20:13:04 schrieb Jeff Cranmer:
> On Thu, 2012-01-05 at 11:22 +0100, Volker Armin Hemmann wrote:
> > Am Mittwoch, 4. Januar 2012, 22:45:45 schrieb Jeff Cranmer:
> > > On Thu, 2012-01-05 at 04:01 +0100, Volker Armin Hemmann wrote:
> > > > the short one:
> > > >
> > > > partition one disk with (c)fdisk. Use sfdisk to transfer the partition
> > > > scheme to the other disks.
> > > >
> > > > run mdadm --create /dev/md0 level=whatever you want --raid-
> > > > devices=thenumberofdevices /dev/sdXY /dev/sdZY ...
> > > >
> > > > mdadm --detail --scan >> /etc/mdadm.conf
> > > >
> > > > done
> > >
> > > OK, but there is active data on the disks, so I don't want to partition
> > > them. They should already partitioned, and running fdisk will erase the
> > > data.
> >
> > first rule:
> >
> > always mount a scratch monkey
> >
> > In your case: always backup data.
>
> No big deal.
> 99.9% of the data is backed up. I was just hoping to recover the last
> 0.1% (picky huh?<g>). Now that I know one of the main drawbacks of
> fakeraid, I think I'll move ahead with software RAID.
>
> OK, so I've partitioned the first disk as a single linux partition
> (/dev/sdb1, ID 83, Linux).
if you want to use kernel autodetection (nice but on the way out) you should
change the type.
> How do I use sfdisk to transfer that partition scheme to the other
> disks? Is it not sufficient just to partition the other two disks in
> the same way as the first?
sfdisk -d /dev/sda | sfdisk /dev/sdb
is safe.
--
#163933
next prev parent reply other threads:[~2012-01-06 1:43 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-04 2:57 [gentoo-user] How to get raid Jeff Cranmer
2012-01-04 4:21 ` Paul Hartman
2012-01-05 0:37 ` Jeff Cranmer
2012-01-04 13:35 ` Alexander Puchmayr
2012-01-05 1:14 ` Jeff Cranmer
2012-01-04 13:39 ` Volker Armin Hemmann
2012-01-05 2:28 ` Jeff Cranmer
2012-01-05 3:01 ` Volker Armin Hemmann
2012-01-05 3:45 ` Jeff Cranmer
2012-01-05 8:22 ` Hinnerk van Bruinehsen
2012-01-05 10:22 ` Volker Armin Hemmann
2012-01-06 1:13 ` Jeff Cranmer
2012-01-06 1:41 ` Volker Armin Hemmann [this message]
2012-01-06 1:42 ` Volker Armin Hemmann
2012-01-06 4:44 ` Jeff Cranmer
2012-01-06 12:36 ` Volker Armin Hemmann
2012-01-06 23:04 ` Jeff Cranmer
2012-01-07 15:11 ` Jeff Cranmer
2012-01-07 17:20 ` Jeff Cranmer
2012-01-07 17:46 ` Volker Armin Hemmann
2012-01-07 18:27 ` Jeff Cranmer
2012-01-07 18:50 ` Volker Armin Hemmann
2012-01-07 22:43 ` Jeff Cranmer
2012-01-09 20:45 ` Jeff Cranmer
2012-01-10 6:14 ` Pandu Poluan
2012-01-10 11:56 ` Jeff Cranmer
2012-01-08 18:31 ` Paul Hartman
2012-01-08 20:03 ` Jeff Cranmer
2012-01-08 21:02 ` Jeff Cranmer
2012-01-09 18:58 ` Jeff Cranmer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1385525.B1tbhPyYah@localhost \
--to=volkerarmin@googlemail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox