LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2007, 06:32 PM   #1
DarkPlexus
LQ Newbie
 
Registered: Oct 2007
Location: California
Distribution: Fedora 7
Posts: 27

Rep: Reputation: 15
how can i turn off LVM so it's not there at boot


i want to get rid of lvm starting up at boot,
i don't use it, and as far as i know, it's useless to me.

i don't want to remove or uninstall it, i just want to turn it off so it doesn't bother looking for it when my system boots up.

basically looking to load my pc faster, and this is one of the things i don't currently need to load at boot i think.

i don't need any raid devices, and i don't need to resize anything for a very very long time...
 
Old 11-17-2007, 08:16 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I thinkm Fedora will set up your partitions as logical volumes by default (unless you told it not to). Therefore you don't want to turn off logical volume management if this si the case. What does df show? If it shows your partition as /dev/VolGroup/whatever rather than /dev/hdaX or /dev/sdaX then I think you pretty much have to have logical volume management enabled. Otherwise you can comment out the lines that start up LVM in /etc/rc.d/rc.sysinit (search the file for "Logical Volume" and you'll find the lines that start it. Warning: if your partitions are set up as logical volumes and you disable this you will likely render your system unbootable.
 
Old 11-17-2007, 11:44 PM   #3
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
if LVM is loaded at boot. Most likely you have partition your system with LVM. So, the only way to turn it off is by rebuilding your server without using LVM. Execute this command "df -h" and provide your output.
 
Old 11-18-2007, 04:14 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Quote:
basically looking to load my pc faster, and this is one of the things i don't currently need to load at boot i think.
You'd better think again. LVM houses your partitions so it can't be simply removed, it would be like pulling out your hard drives in order to cut down on electricity bills.

http://www.mjmwired.net/resources/mjm-services-f7.html

Last edited by jay73; 11-18-2007 at 04:17 AM.
 
  


Reply



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
Resize lvm and move /boot? tgm4883 Fedora 1 08-22-2006 07:46 PM
can i put /boot in lvm partition benseghir Linux - Enterprise 1 06-15-2005 08:29 AM
Turn off screensaver on boot ericcarlson Linux - Software 1 03-11-2005 05:22 PM
Turn on ACPI on boot smokylux Linux - Newbie 6 05-24-2004 08:35 PM
How do I turn off startx a boot up? gw1500se Mandriva 4 03-13-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration