Step 6: Format this disk and assign file system to it
●Command: mkfs.xfs <logical-volume-path>
Step 7: Mount this disk to a drive
●Command: mount <logical-volume-path> <directory-name>
Extend existing disk using LVM
Pre-requisite: Create another disk partition (type: linux > linux LVM)
Extend existing volume group to new partition
●Command: vgextend <existing-volume-group> <partition-name>
Extend the logical volume
●Command: lvextend -L+<size-to-extend> <logical-volume-path>
Extend the file system
●Command: xfs_growfs <logical-volume-path>