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:
Tom Rockwell <[log in to unmask]>
Reply To:
Tom Rockwell <[log in to unmask]>
Date:
Wed, 12 Jan 2005 12:08:27 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (79 lines)
Hi,

In my experience, there are limitations to the automated partitioning in
anaconda/kickstart.  One issue I see is that the order of partitions
can't be controlled.  Not everything that one might think up can be done
with kickstart partitioning and everything other than simple
partitioning needs testing/trial-and-error to get right --- and even
then may not be possible.  For ultimate control over partitioning during
a kickstart install, write a %pre script to do the partitioning and/or
filesystem formatting.

If you are installing just one or a few machines with this setup, I
suggest doing the partitioning/formatting by hand using the installer,
and then running a kickstart install that uses the existing partitions.

Cheers,
Tom Rockwell
Michigan State


Dashamir Hoxha wrote:

>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