After you have finished creating the volume group, follow these steps to create a new logical volume.
# /sbin/lvcreate -L 50 /dev/vgName (if this is your first logical volume in vgName volume group then it will by default create “lvol1″)
If you want to give a logical volume your own cusmtom name then just follow this -
# /sbin/lvcreate -L 50 -n lvName /dev/vgName
After you have finished creating your logical volume, you have now create a file system on the raw logical volume - you should see “rlvName” and lvName” file
# /sbin/newfs -F vxfs /dev/vgName/rlvName – this will create a vxfs file system. If you don’t specify “-F vxfs” flag then the system will pickup the default file system type from “/etc/default/fs” file. I generally like to specify the file system type manually.
To verify the logical volume you have created – (the output will be similar)
# /sbin/lvdisplay -v /dev/vgName/lvName
— Logical volumes —
LV Name /dev/vgName/lvName
VG Name /dev/vgName
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 512
Current LE 16
Allocated PE 32
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
— Distribution of logical volume —
PV Name LE on PV PE on PV
/dev/dsk/cXtXdX 16 16




