To Extend LVM in CentOS 7
BY
Faisal Md. Jiaur Rahman
follow below stpes-
# df -h
# lvdisplay
# fdisk /dev/sda
# df -h
# pvcreate /dev/sda3
# pvdisplay
# init 6
# df -h
# lvextend /dev/centos/root /dev/sda3
# pvdisplay
# vgextend centos /dev/sda3
# vgdisplay
# lvdisplay
# lvresize -l +100%FREE /dev/centos/root
# xfs_growfs /dev/centos/root
# df -h
BY
Faisal Md. Jiaur Rahman
follow below stpes-
# df -h
# lvdisplay
# fdisk /dev/sda
# df -h
# pvcreate /dev/sda3
# pvdisplay
# init 6
# df -h
# lvextend /dev/centos/root /dev/sda3
# pvdisplay
# vgextend centos /dev/sda3
# vgdisplay
# lvdisplay
# lvresize -l +100%FREE /dev/centos/root
# xfs_growfs /dev/centos/root
# df -h

Post a Comment