LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-16-2007, 10:18 PM   #1
Kryptos
Member
 
Registered: Nov 2007
Posts: 47

Rep: Reputation: 15
Partitions RAID LVM Disk Druid


Hi everyone.

"RAID stands for "Redundant Array of Inexpensive Disks." (...)
for owners of just one, even huge, hard drive, RAID is absolutely useless."
http://linuxplanet.com/linuxplanet/tutorials/4349/1/

"LVM (Logical Volume Management) partitions provide a number of advantages over standard partitions. (...)An administrator may grow or shrink logical volumes without destroying data, unlike standard disk partitions."
http://docs.fedoraproject.org/instal...oning-lvm.html

"Select this option to set up LVM on your Fedora system. First create at least one partition or software RAID device as an LVM physical volume, using the New dialog."
http://docs.fedoraproject.org/instal...isk-druid.html

I am installing Fedora 8.
I choose to partitioning the disk manually because I want to create a multiboot system. To set up LVM partitions because of their flexibility why do I need to create at least on partition or software RAID (I only have one HDD!)? Is it really obligatory? What is the recommended size? Can I create LVM without RAID? What is the function of a RAID partition?
What is the relation between LVM and RAID?

Thanks Advance.
 
Old 11-17-2007, 03:09 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it says you need to create a partition *OR* a raid instance. just like any normal filesystem, LVM uses a partition.
 
Old 11-17-2007, 08:13 PM   #3
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Quote:
Kryptos

"RAID stands for "Redundant Array of Inexpensive Disks."
Acually "RAID stands for " Redundant Array of Independent Disks"
But is aften called Inexpensive.

Quote:
What is the relation between LVM and RAID?
LVM and Raid are two totaly different things, Raid is for disk managment and LVM allows you to manage partitions.

Logical Volume Management = LVM

PV = Physical Volume...This would be the hard drive, a physical volume can not span multiple hard drives. if you have more than one hard drive you will have more than one Physical Volume.

LVG = Logical Volume Group...The LVG can consist of more than one Physical Volume so if you have multiple drives, lets say two, your LVG will or could be setup using both drives or only one if you so choose.

LV = Logical Volume The Logical Volume Group is divided into Logical Volumes these are simalar to partitions but a little different. Each LV will be like a partition as in one will be for / one for /home swap and so on. And free space so that you can grow a LV if needed.

Quote:
Can I create LVM without RAID?
Yes
Quote:
What is the recommended size?
That will depend on how much you would like to give each OS.

10gb is more than enough for most Linux Distro's with a partition set aside for storage or to share between OS's.

Lets say you have one hard drive of 100GB

Partitions

/boot = 100mb classic primary partition, this will be your boot partition, it is NOT part of the LVG. If you plan on having more than two distro's you may want to make this a little bigger.

LVG = Take all the remaining space for this.

LV = This is ware you will divide the LVG into partitions for /, /home, swap, make sure you leave free space for growth.

Lets say for install Fedora.


/ = 20GB for Fedora

20GB for future distro.

swap = 512mb

maybe 30GB to share file between OS's

The rest free space for growth.
 
  


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
Disk druid of Fedora not showing all partitions of HDD subhrodip Fedora - Installation 1 10-28-2007 07:32 PM
software raid using disk druid paul_mat Fedora 0 12-13-2005 05:24 PM
Disk Druid/defining RAID stripe sets smokarran Linux - Software 1 07-18-2004 07:05 PM
disk druid and raid chunk size Zvezda Red Hat 0 05-08-2004 10:57 AM
Disk Druid Mirroring 2 hd on a raid newnix Linux - Software 1 07-04-2001 10:13 AM

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

All times are GMT -5. The time now is 12:15 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