SCIENTIFIC-LINUX-USERS Archives

January 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dashamir Hoxha <[log in to unmask]>
Reply To:
Date:
Wed, 12 Jan 2005 07:51:06 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
On Tuesday 11 January 2005 18:29, Eric Wu wrote:
> Hi Dashamir
>
> We are able to install RAID with kickstart and SL3.03.  We use a
> combination of RAID1 and RAID0.  Here are the relevant sections of my ks
> file. It creates a /boot with raid1, / with raid0, and
> /export/u10 with raid0.
>
>
> clearpart --all --initlabel

Yes, this works for me too. But the point is that I don't want to clear
all the partitions, instead I want to use the existing partitions from the
previous installation. This is because I don't want to reformat the
partitions that contain my data.

> part raid.00 --size 256  --ondisk sda
> part raid.01 --size 256  --ondisk sdb
> part  swap                      --size 2048        --asprimary --ondisk sda
> part  swap                      --size 2048        --asprimary --ondisk sdb
> part raid.10 --size 2048  --ondisk sda
> part raid.11 --size 2048  --ondisk sdb
> part raid.20 --size 1 --grow  --ondisk sda
> part raid.21 --size 1 --grow  --ondisk sdb
> raid /boot --level 1 --device md0 --fstype ext3 raid.00 raid.01
> raid / --level 0 --device md1 --fstype ext3 raid.10 raid.11
> raid /export/u10 --level 0 --device md2 --fstype ext3 raid.20 raid.21

Your example in my case would be something like this:

part raid.00 --onpart sda1
part raid.01 --onpart sdb1
part swap   --onpart sda2
part swap   --onpart sdb2
part raid.10 --onpart sda3
part raid.11 --onpart sdb3
part raid.20 --onpart sda5 --noformat
part raid.21 --onpart sdb5 --noformat
raid /boot --level 1 --device md0 --fstype ext3 raid.00 raid.01
raid / --level 0 --device md1 --fstype ext3 raid.10 raid.11
raid /export/u10 --level 0 --device md2 --fstype ext3 raid.20 raid.21
--noformat

But it seems not to work.

Dashamir

ATOM RSS1 RSS2