User Tools

Site Tools


creating_lvms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
creating_lvms [2015/11/23 12:16] luke7858creating_lvms [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +==== Physical Volume Create ====
 +First we need to put markers on the devices that will be used to create the volume groups:
 +<sxh bash>
 +pvcreate /dev/device1 /dev/device2 /dev/device3
 +</sxh>
 +\\
 ==== Creating Volume Groups ==== ==== Creating Volume Groups ====
-Below is the command used to create a volume group from one or more physical volumes. +Now we need to create a volume group: Below is the command used to create a volume group from one or more physical volumes. 
 <sxh bash> <sxh bash>
-vgcreate vg1 /dev/device1 /dev/device2+vgcreate vg1 /dev/device1 /dev/device2 /dev/device3
 </sxh> </sxh>
 When physical volumes are used to create volume group, the disk space is divided into 4mb extents. This means that the logical volumes are increased and decreased by this size.  When physical volumes are used to create volume group, the disk space is divided into 4mb extents. This means that the logical volumes are increased and decreased by this size. 
Line 72: Line 78:
 <sxh bash> <sxh bash>
 vgrename vg02 my_volume_group vgrename vg02 my_volume_group
 +</sxh>
 +\\
 +==== Creating a Logical Volume ====
 +<sxh bash>
 +lvcreate -L 20M lvnew vg1
 </sxh> </sxh>
creating_lvms.1448280972.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki