In this post, we will show you how to extend lvm partition in linux with lvextend command on the fly. Resizing the file system size is an important task of Linux admin’s profile. In Linux , LVM(Logical Volume Manager) provides the facility to increase and reduce the file system size. ...
LVM Create: Create Logical Volumes – Use lvcreate, lvdisplay command Now, everything is ready to create the logical volumes from the volume groups. lvcreate command creates the logical volume with the size of 80MB. $ sudo lvcreate -l 20 -n logical_vol1 vol_grp1 Logical volume "logical_vo...
To create a new swap area on a disk partition, you need the command mkswap. After the swap area is created, you have to activate it using the command swapon. Finally, to enable the swap area after a server reboot, you have to add it to the system file /etc/fstab. In my example,...
Red Hat Enterprise Linux 6 (RHEL6) Storage block device that can be resized/appended to: Commonly virtualized environments including VMWare, but could also apply to bare-metal systems with SAN-based volumes LVM2 managed storage Physical Volume (LVM PV) is on a partition rather than being dir...
If you runvgdisplay vg00before and after the previous command, you will see the increase in the size of the VG: # vgdisplay vg00 Check Volume Group Disk Size Now you can use the newly added space to resize the existing LVs according to your needs, or to create additional ones as needed...