Adding new disk Parttion And Extending the same Disk Parttion with the exiting mount point
Adding And Extending the Disc with the exiting mount point
Let’s see how to Extend the newly added HDD with the Existing mount point
Step 1: List the HDD added to the server:
# lsblk
Red marked( newly added HDD and we are going to extend
this disk into exiting mount point
/home/study
Yellow marked( existing mount point /home/study)
Step 2: start doing the Partition on added HD
# fdisk /dev/sdc
Step 3: List
the created physical volume.
# pvdisplay
# pvcreate
/dev/sdc1
# vgextend
parc_1 /dev/sdc1
(vgextend (group
name) (associating with disk partition
# lvextend
-L+5G /dev/mapper/parc_1-proc_lv
(lvextend (-L
e.g +5G mentions the size of disk) (file system) which you planning to increase
the size of mount point)
# xfs_growfs /dev/mapper/parc_1-proc_lv
After extending the mount point
Comments
Post a Comment