LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-20-2007, 01:48 PM   #1
smeissner
LQ Newbie
 
Registered: Dec 2007
Location: Irvine, CA
Distribution: Red Hat EL 5 and Fedora 8
Posts: 1

Rep: Reputation: 0
Question LVM for non-Raid configuration


Hi,
this is my first post here, but Im happy to say that I've been able to get all my other questions answered just by looking at previous questions asked. What a great site!

So here's my setup: As a novice Linux user, I get to setup my company's new Dell PowerEdge server with Red Hat EL 5 on it. After getting my Java SDK, Samba, user lists, etc all setup (w00t!), a consultant we are working with says to me "sorry, you should reinstall and start over." Ack!

Apparently, Dell setup our server with a single primary partition, a single volume group and each of the working directories mounted to a logical volume (ie: /var on /dev/mapper/VolGroup00-LogVol03). Our consultant tells me thats great if we have a raid configuration, but since we dont, its a bad idea, and recovery from a failure when using the LVM is a pain, and we're better off using the logging capabilities of ext3 file sys, and not use the LVM at all.

I couldnt find any threads about using the LVM on a non-RAID setup, just thought id start one and see if anyone out there would agree with what this guy said before I repartition my drives and start over from scratch.

Thanks all!
 
Old 12-20-2007, 03:03 PM   #2
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Quote:
I couldnt find any threads about using the LVM on a non-RAID setup,
Yes you can have a LVM on a non-RAID setup, one thing you don't want to do is have a /boot partition part of the LVM volume.

If lets say you are going to use more than one HD for the LVM, make a standard partition for /boot from hda or sda maybe 100mb. Then you can use the remanning space for your LVM.

Each HD will be its own Physical Volume, a physical volume cannot span multiple drives. If you are using two drives you will have two physical volumes. In this example the two physical volumes will make up the Logical Volume Group and from that will be the Logical Volumes / /var and so on. One of which will be free space that you will use to add to any of the other Logical Volumes as needed.
 
  


Reply

Tags
dell, ext3, lvm, partition, raid, rhel5


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
software raid 5 + LVM and other raid questions slackman Slackware 5 05-09-2007 02:58 PM
raid-1 and lvm together?? Vasili Linux - Enterprise 7 12-04-2006 04:59 AM
Lvm Raid jagster Linux - Hardware 2 06-16-2005 12:40 AM
LVM and Raid Cybercool Linux - Newbie 17 03-11-2004 07:09 AM
lvm and raid wlfdgcrkz Linux - Software 15 05-05-2003 02:50 PM


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

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