possible FAQ: setting file system parameters with part/logvol?

Landreth, Kevin klandreth at theplanet.com
Mon Dec 31 14:58:14 UTC 2007


Going along with what Chip said,  you will *have* to use pre because
there doesn't seem to be a way to specify the mkfs options via the part
command.  

The way I see it, is you have two options.

1) If the partition you need to use "custom" formatting options on does
not contain any OS data, then just have part create the partition for
you and re-format it in %post.  (Personally, I'd have part make a VG,
but not LV, and create it during %post to speed up deployment time)
2) If you do require OS data, then you will need to calculate the size
of the partition you need, then format them accordingly, then just have
part use --noformat --onpart 

Fedora link: http://fedoraproject.org/wiki/Anaconda/Kickstart

Good luck :)

--
Thanks,
Kevin Landreth, RHCE
Technology Architect 

-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of Shabazian, Chip
Sent: Friday, December 28, 2007 12:58 PM
To: Discussion list about Kickstart
Subject: RE: possible FAQ: setting filesystem parameters with
part/logvol?

I've found the best info on kickstart is actually on the Fedora site.  

Here is a link to the presentation I did earlier this year at Linuxworld
in case there is anything in there that might be of help:
www.shabazian.com/lw2007.pdf

As for your filesystem setup, you may need to do it in the %pre.  Not
sure about stride as I've never used it.

-----Original Message-----
From: kickstart-list-bounces at redhat.com
[mailto:kickstart-list-bounces at redhat.com] On Behalf Of Tim Mooney
Sent: Friday, December 28, 2007 10:14 AM
To: kickstart-list at redhat.com
Subject: possible FAQ: setting filesystem parameters with part/logvol?


Hi All-

I'm new to the list, though not kickstart.  We've been using it since
the
RH 2.1 ES days for server deployment, and I'm very pleased to see some
of
the latest improvments available in ks (like remote logging).

Now the questions:

- is there a kickstart FAQ?  Googling for kickstart FAQ didn't turn up
   anything related to the kickstart that's the topic of this list.

- is there a way to pass filesystem creation parameters to part/logvol?
   I need to set the stride size on all the filesystems on several boxes
   I will be kickstarting (RHEL 4u6, unfortunately I can't use 5u1
because
   the software the boxes will be running doesn't support 5.x yet).  I
   essentially want to pass

 	-E stride=16

   to part/logvol.

Any suggestions on the best way to accomplish this?

Thanks,

Tim
-- 
Tim Mooney                                        Tim.Mooney at ndsu.edu
Information Technology Services                   (701) 231-1076 (Voice)
Room 242-J6, IACC Building                        (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list

_______________________________________________
Kickstart-list mailing list
Kickstart-list at redhat.com
https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list