creating LVM partitions
Rick Stevens
ricks at nerd.com
Thu Jun 11 16:31:53 UTC 2009
Waldher, Travis R wrote:
>> -----Original Message-----
>> From: redhat-install-list-bounces at redhat.com [mailto:redhat-install-
>> list-bounces at redhat.com] On Behalf Of Rick Stevens
>> Sent: Tuesday, June 09, 2009 9:58 AM
>> To: Getting started with Red Hat Linux
>> Subject: Re: creating LVM partitions
>>
>> Thomas.vonSteiger at swisscom.com wrote:
>>> Have a look here:
>>>
>>> http://www.redhat.com/docs/en-
>> US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/s1-
>> diskpartitioning-x86.html
>>> After create lvm partition you need to goto lvm and create vg and
>> lv's.
>>
>> One might add that once you create the VG (volume group), you'll create
>> LVs (logical volumes) inside that volume group. You can think of LVs
>> as
>> the LVM equivalents of partitions.
>>
>> To be honest, I really don't see a huge benefit of using multiple LVs
>> except for backup purposes. When you use LVM, you can always expand
>> the
>> volume group by adding a new PV (physical volume or disk) to the group
>> and then expanding the LV onto that new PV. However, it's your system,
>> do what you will.
>> ----------------------------------------------------------------------
>> - Rick Stevens, Systems Engineer ricks at nerd.com -
>> - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
>> - -
>> - "If you can't fix it...duct tape it!" -- Tim Allen -
>> ----------------------------------------------------------------------
>
> I create multiple LVs, such as:
>
> /var
> /var/adm
> /tmp
> /usr
> /
> /home
>
> The first three is so that a user or log can't fill up /.
That's valid, although it's fairly far fetched unless you have
something very misbehaved.
> /usr so that you can't accidentally fill up / installing something.
A good point, but again a fairly rare occurance.
> /home so that a user can't accidentally fill up /; this is the most likely to need to grow as well.
In the days of time-shared, multiuser systems or large servers, yes.
I find quotas to be far more effective in the server world.
> /boot should never be an LVM because it will complicate matters getting access to it in the event your system won't boot.
/boot CAN'T be an LV as grub doesn't speak LVM. And with Fedora 11 and
the new ext4, /boot has to be a single partition on a single disk (or
RAID1) and use ext2 or ext3 filesystems.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer ricks at nerd.com -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Life: That which happens while you search for the remote control. -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list