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

Digimer linux at alteeve.com
Tue Nov 1 19:20:50 UTC 2011

On 11/01/2011 03:13 PM, Dan White wrote:
> ----- Digimer <linux at alteeve.com> wrote:
>> On 11/01/2011 02:39 PM, Dan White 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 ?
>> LVs must be created from VGs.
> I agree.  Got a documentation reference I can use for backup ?

man lvcreate? Not being flippant, but the 'VolumeGroupName' is a
required value. :)

Also from the man page;

       lvcreate creates a new logical volume in a volume group  (  see
       ate(8), vgchange(8) ) by allocating logical extents from the free
       ical extent pool of that volume group.  If there are  not  enough
       physical  extents  then  the  volume  group can be extended ( see
       tend(8) ) with other physical volumes or by reducing  existing
       volumes  of this volume group in size ( see lvreduce(8) ). If you
       ify one or more PhysicalVolumes, allocation of physical extents
will be
       restricted to these volumes.
       The second form supports the creation of snapshot logical volumes
       keep the contents of the original logical volume for backup purposes.

E-Mail:              digimer at alteeve.com
Freenode handle:     digimer
Papers and Projects: http://alteeve.com
Node Assassin:       http://nodeassassin.org
"omg my singularity battery is dead again.
stupid hawking radiation." - epitron

More information about the linux-lvm mailing list