Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Goswin von Brederlow <goswin-v-b@web.de>
To: John McNulty <johnmcn1@googlemail.com>
Cc: Goswin von Brederlow <goswin-v-b@web.de>, linux-raid@vger.kernel.org
Subject: Re: What will happen with spares in this scenario?
Date: Tue, 30 Jun 2009 06:26:25 +0200	[thread overview]
Message-ID: <87r5x2xs7i.fsf@frosties.localdomain> (raw)
In-Reply-To: <BD450977-FA0D-4F63-8ADB-1314FA43E654@googlemail.com> (John McNulty's message of "Mon, 29 Jun 2009 21:42:35 +0100")

John McNulty <johnmcn1@googlemail.com> writes:

> On 29 Jun 2009, at 17:08, Goswin von Brederlow wrote:
>
>
>           So drop md1, make c0d0p1 as big as the others and then
>      partition
>      md0 eigther directly or via lvm.
>
>
>
>
> You wouldn't happen to know if it's possible to create a partitionable array
> like this in Kickstart would you?   I've had a sniff around Redhat's docs and
> a documented way of doing this isn't jumping out at me.    If I had to guess
> then it might look something like this?

Totally Debian here.

> part  pv.1  --size 1 --ondisk cciss/c0d0 --grow --asprimary
>
> part  pv.2  --size 1 --ondisk cciss/c1d0 --grow --asprimary
>
> raid  pv.3  --level=RAID1 --device=md_d0 pv.1 pv.2
>
>
> part /boot --fstype ext3 --size 300 --ondisk md_d0
>
> part pv.4 --fstype "physical volume (LVM) --size 1 --ondisk md_d0 --grow
>
> volgroup system --pesize=32768 pv.4
> logvol / --fstype ext3 --name=root --vgname=system --size=51200
> logvol swap --fstype swap --name=swap --vgname=system --size=8192

Hmm, do I understand this right that you want 2 partitions. One for
/boot and one for everything else on lvm?

Just a crazy idea. But why not put /boot on lvm too and use grub2 or
lilo as bootloader? Or does Kickstart not allow that?

> This might be a bit ambitious, and I can't see an option to "raid" that would
> tell it to create a partitionable raid device, i.e. run --auto=mdp behind the
> scenes.   Unless it takes a hint from the device name and does that without
> asking?
>
>
>
> The systems I'm working on are to be kickstarted from a Spacewalk server.
>
>
>
> Rgds,
>
>
>
> John

MfG
        Goswin
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-06-30  4:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29 15:28 What will happen with spares in this scenario? John McNulty
2009-06-29 16:08 ` Goswin von Brederlow
2009-06-29 21:07   ` John McNulty
     [not found]   ` <BD450977-FA0D-4F63-8ADB-1314FA43E654@googlemail.com>
2009-06-30  4:26     ` Goswin von Brederlow [this message]
2009-06-30  8:16       ` John McNulty
2009-06-30 17:54         ` Goswin von Brederlow
2009-06-30 20:47           ` John McNulty
2009-07-01  6:57             ` Goswin von Brederlow

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=87r5x2xs7i.fsf@frosties.localdomain \
    --to=goswin-v-b@web.de \
    --cc=johnmcn1@googlemail.com \
    --cc=linux-raid@vger.kernel.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