Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-14-2010, 06:09 AM
|
#1
|
LQ Newbie
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24
Rep:
|
centos - disable LVM via kickstart
Does anyone know of a way to tell the CentOS installer -not- to use LVM in a kickstart?
We've been using a system that lets us define which particular drives to use during the installation as part of our deployment system. This does not work now that LVM is the 'default' in CentOS.
I've looked over the options and I see how to FORCE particular LVM configurations, but I see no way to just turn it off.
Does anyone know how to do this?
|
|
|
12-14-2010, 06:45 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Sure, you just don't use them.
Code:
clearpart --all --initlabel
part /boot --fstype ext3 --size=100
part / --fstype ext3 --size=1024 --grow
etc.
|
|
|
12-14-2010, 07:50 AM
|
#3
|
LQ Newbie
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24
Original Poster
Rep:
|
I'll have to clarify with the techs that saw the problem then, as our ks is being put together like this (for example):
clearpart --drives=sda --initlabel
part swap --recommended --ondisk=sda --asprimary
part / --size=5120 --ondisk=sda --asprimary
part /usr --size=20480 --ondisk=sda
part /var --size=51200 --ondisk=sda
part /tmp --size=1024 --ondisk=sda
part /home --size=1 --grow --ondisk=sda
I don't see LVM in that either, so...
Thanks for looking at this acid_kewpie!
|
|
|
12-14-2010, 08:12 AM
|
#4
|
Member
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239
Rep:
|
Haven't had much exposure to ks files but wouldn't obtaining the KS file from a test installation with the desired partitions be a great place to start?
|
|
|
12-14-2010, 08:14 AM
|
#5
|
LQ Newbie
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24
Original Poster
Rep:
|
Quote:
Originally Posted by chickenjoy
Haven't had much exposure to ks files but wouldn't obtaining the KS file from a test installation with the desired partitions be a great place to start?
|
We're using Cobbler actually. The ks is actually generated by a URL that is edited on the PXE line to suite the installation instance (IP, partitions, etc). I think I've gotten some bad/weird info actually, since the KS generated when I looked was correct and did specify non-LVM partitions.
|
|
|
12-14-2010, 08:43 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well I'm literally actaully right now writing a centos 5.5 kickstart on cobbler, that was actually taken from the script, no sign of LVM anywhere. Are you referring to CentOS 6? Not even in beta yet is it?
|
|
|
12-14-2010, 09:04 AM
|
#7
|
LQ Newbie
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24
Original Poster
Rep:
|
Quote:
Originally Posted by acid_kewpie
well I'm literally actaully right now writing a centos 5.5 kickstart on cobbler, that was actually taken from the script, no sign of LVM anywhere. Are you referring to CentOS 6? Not even in beta yet is it?
|
Well, like I said I don't think I have a valid issue. If I get something usable I'll post back and we can go from there
(yea, it would have been 5.5)
|
|
|
All times are GMT -5. The time now is 02:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|