How to Increase partition size in RHEL
Hi All,
Good Morning!
I wanted to increase the partion size of /var from the current 10 GB to 15 GB, tried all the ways but not able to. Can someone please help?
Through various help, I have already increased the size of /dev/vg00/lvol2 from 10 GB to 13 GB, lvdisplay showing the same but df -h still showing 10 GB only.
Here are the current details for reference -
Disk group info
===================
[root@venus ~]# vgdisplay -C
VG #PV #LV #SN Attr VSize VFree
vg00 1 6 0 wz--n- 123.00G 42.00G
DF output
=========
[root@venus ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 4.9G 875M 3.8G 19% /
/dev/mapper/vg00-lvol1
9.7G 2.8G 6.5G 31% /usr
/dev/mapper/vg00-lvol2
9.7G 5.7G 3.5G 62% /var
/dev/mapper/vg00-lvol3
4.9G 254M 4.4G 6% /opt
/dev/mapper/vg00-lvol4
992M 46M 896M 5% /home
/dev/mapper/vg00-lvol5
2.0G 70M 1.8G 4% /tmp
/dev/mapper/vg00-lvol6
50G 1.7G 46G 4% /backup
/dev/sda1 99M 27M 67M 29% /boot
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/scd0 3.5G 3.5G 0 100% /media/cdrom
lvdiplay output
================
[root@venus ~]# lvdisplay
--- Logical volume ---
LV Name /dev/vg00/lvol1
VG Name vg00
LV UUID qv9bZw-bF5S-QKQW-ttYP-0OlO-zsyC-FNQO8h
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/vg00/lvol4
VG Name vg00
LV UUID e0WNJy-tqUV-XXBS-a5Y4-8GX1-33vP-UjnmK1
LV Write Access read/write
LV Status available
# open 1
LV Size 1.00 GB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/vg00/lvol3
VG Name vg00
LV UUID RyoFjI-gw04-OK0D-WWVJ-JvMI-deTS-4kLuXO
LV Write Access read/write
LV Status available
# open 1
LV Size 5.00 GB
Current LE 160
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Name /dev/vg00/lvol5
VG Name vg00
LV UUID wtB1rc-Orzd-qtY6-dmU9-okgz-UphL-LKdXrU
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
--- Logical volume ---
LV Name /dev/vg00/lvol2
VG Name vg00
LV UUID YGfHyZ-Dh0y-QA6b-3e1u-e69v-xyzm-2aZwU0
LV Write Access read/write
LV Status available
# open 1
LV Size 13.00 GB
Current LE 416
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:4
--- Logical volume ---
LV Name /dev/vg00/lvol6
VG Name vg00
LV UUID hOsbX9-TwCQ-pAy1-yEL5-B05b-pQp0-8AOfOF
LV Write Access read/write
LV Status available
# open 1
LV Size 50.00 GB
Current LE 1600
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:5
|