Creating Logical Volume
Creating Logical Volume
First we need to find out which disks and partitions are being used. So we could use the
following commands
#df -h [This will display which partitions are being used]
#fdisk -l [This will show which disks are being used and disks that are not mounted.]
Now we can start the lvm implementation,we have two unused partitions /dev/sda3 and /dev/s
da4
In logical volume creation,need to the following sequence
#vgdisplay
3.Now create logical volume
#lvcreate -L5G -n test_logical test_volume
test_logical --name of logical volume
test_volume--name of volume group
1/2
Create Logical volume (LVM2)
Source : http://coretimer.com
2/2