[linux-lvm] N00b Question: Logical Volume without a Logical Volume Group ?

Ray Morris support at bettercgi.com
Tue Nov 1 21:09:55 UTC 2011


Just to clarify, this did not happen:

> Another admin created a logical volume on the LUN and
> then made a single partition out of the logical volume.

He may have done nothing with logical volumes at all and just 
partitioned the LUN. Alternatively, he may have made the LUN a 
physical volume, added that physical volume to a volume group, 
and made an LV within the group. There's no such thing as making
a logical volume that's in no group and is not stored on any 
physical volume, though.

> Are both workflows valid ?

If he just partitioned the LUN, that's just like partitioning
a physical drive. That's how it was done in 1971. It works, for the
immediate need. If you ever want to resize it, move it, mirror it, 
etc. it starts to get painful pretty fast. If you have a filesystem 
that's 100 GB on a disk that's 100GB, how to do make it larger?
Go buy a new larger disk, take the system off line, copy the data ...
A LUN or a physical disk, same thing process to resize it.
By using LVM, the resize process can be a single command:
lvextend -L 200GB mygroup/mylv
-- 
Ray Morris
support at bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php




On Tue, 1 Nov 2011 18:39:52 +0000 (UTC)
Dan White <ygor at comcast.net> wrote:

> Is a logical volume group necessary before one can start making
> mountable partitions ?
> 
> I'm trying to work with a SAN.  We were allocated a 10Gb LUN to
> "play" with. Another admin created a logical volume on the LUN and
> then made a single partition out of the logical volume.  The flow I
> am familiar with from Red Hat's GUI is to first make a logical volume
> group, then make partitions in the group that I can adjust in size as
> necessary.
> 
> Are both workflows valid ?
> 
> “Sometimes I think the surest sign that intelligent life exists
> elsewhere in the universe is that none of it has tried to contact
> us.” Bill Waterson (Calvin & Hobbes)
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list