LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-14-2010, 06:09 AM   #1
draeath
LQ Newbie
 
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24

Rep: Reputation: 0
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?
 
Old 12-14-2010, 06:45 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,392

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Sure, you just don't use them.
Code:
clearpart --all --initlabel
part /boot --fstype ext3 --size=100
part /     --fstype ext3 --size=1024 --grow
etc.
 
Old 12-14-2010, 07:50 AM   #3
draeath
LQ Newbie
 
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24

Original Poster
Rep: Reputation: 0
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!
 
Old 12-14-2010, 08:12 AM   #4
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 200

Rep: Reputation: 30
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?
 
Old 12-14-2010, 08:14 AM   #5
draeath
LQ Newbie
 
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chickenjoy View Post
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.
 
Old 12-14-2010, 08:43 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,392

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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?
 
Old 12-14-2010, 09:04 AM   #7
draeath
LQ Newbie
 
Registered: Jul 2007
Location: Atlanta Area, GA, USA
Distribution: CentOS/RH/Debian
Posts: 24

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with CentOS Kickstart file? your_shadow03 Linux - Newbie 4 06-26-2014 04:44 AM
can't kickstart CentOs on VirtualBox VM geek.ksa Linux - Virtualization and Cloud 3 08-29-2010 09:35 AM
My CentOS kickstart does not save screenshots fklein23 Red Hat 7 08-07-2010 07:22 AM
centos kickstart problem xiutuo Linux - General 10 05-12-2010 01:07 AM
CentOS kickstart installation with nodefaults shubb Linux - Distributions 3 10-13-2008 01:13 PM


All times are GMT -5. The time now is 05:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration