CORRECT TEXT
We are working on /data initially the size is 2GB. The /dev/test0/lvtestvolume is mount on /data.
Now you required more space on /data but you already added all disks belong to physical volume.
You saw that you have unallocated space around 5 GB on your harddisk. Increase the size of
lvtestvolume by 5GB.
Answer:
Explanation:
.
1. Create a partition having size 5 GB and change the syste id ‘8e’.
2. use partprobe command
3. pvcreate /dev/hda9 à Suppose your partition number is hda9.
4. vgextend test0 /dev/hda9 à vgextend command add the physical disk on volume group.
5. lvextend -L+5120M /dev/test0/lvtestvolume
6. verify using lvdisplay /dev/test0/lvtestvolume.