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


Navigate the format disk toward to newly added HDD.


click on the below link to get the step-by-step config details for the above disk partition.

Step 3: List the created physical volume.

# pvdisplay


Step 4: Creating Physical volume

# pvcreate /dev/sdc1

 

 Step 5: Extending the group and associating it with the disk partition

# vgextend parc_1 /dev/sdc1

(vgextend (group name) (associating  with disk partition


Step 6: Extending Logical Volume

# 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)    



Step 7: Extending the File system:

# xfs_growfs /dev/mapper/parc_1-proc_lv


Before extending the mount point



After extending the mount point



 

 

 

 

Comments

Popular posts from this blog

SAP B1SiteUser Password Reset || SAP Business One

Service pack migration SLES 15 SP1 to SLES 15 SP5 x86_64

SAP HANA Server (SUSE) – Service Restart Procedure || Server Maintance