Resizing LVM Partition On Redhat/Cent0s 7

0
29
views

http://caboclonharaue.com/?kreosan=robot-de-op%C3%A7%C3%B5es-bin%C3%A1rias&831=0d Resizing LVM Partition On Redhat/Cent0s 7

If you do not know how to create LVM partition on Linux, so you can learn it from here is the link of our previous post about LVM

Check Out Mount LVM Partition

Check Out LVM Creation

I’m assuming you have already created or having partition on your Linux Machine.

As you can see I have created a 3 new partition of size 500mb , 400mb and 200mb from existing physical volume size of 2GB.

Run partprobe /dev/sdb

We have created trading online senza deposito Physical Volume of three partition

pvcreate /dev/{sdb1,sdb2,sdb3}

Now we have created http://irinakirilenko.com/?deribaska=24option-com-demo&84d=44 Volume group vg0 from Physical Volume

http://unikeld.nu/?ioweo=vorrei-provare-a-guadagnare-onlain-con-le-opzioni-binarie-pero-vorrei-capire-dove-%C3%A8-la-fregatura&cbc=f8 vgcreate vg0 /dev/{sdb1,sdb2,sdb3}

Now we have to create a follow site Logical Volume lv0 and then we will extend the size

http://hosnaboen.no/?misoloie=single-damer-mosj%D0%93%D1%91en&e8a=6d lvcreate –name lv0 –size +2G vg0

You can check LVM details by command http://battunga.com.au/?giopere=binary-trading-with-no-minimum-deposit&1d7=11 vgs

Format the LVM Partition

go mkfs.ext4 /dev/mapper/vg0-lv0

I have mounted the LVM into the fstab for permanent mount

Now extend the partition +100MB

http://caboclonharaue.com/?kreosan=op%C3%A7%C3%B5es-bin%C3%A1rias-jack-daniels&f71=2d lvextend -L +100M /dev/vg0/lv0

Now resize the size of partition using below command

lavoro da casa operazioni binarie resize2fs /dev/vg0/lv0

Last Step is to check the size of partition by command df –h

Before the size of viagra 50 mg price walgreens /dev/vg0/lv0 was amlodipine besylate norvasc 5mg 2.0G now it’s cheap Zestril 2.1G after increasing the 100MB.

Note: If you want to format the file system with xfs, the command is xfs_growfs  {filesystem}

You’re done

LEAVE A REPLY

Please enter your comment!
Please enter your name here