After extending the Logical volume changed size are not get reflected
Issue
- After extending the Logical volume changed size are not get reflected.
- Below are the steps done:
1) Increased size of hard disk from 50GB to 100 GB.
2) Resized the physical volume:
# pvresize --setphysicalvolumesize 100G /dev/sdb
3) lvdisplay shows logical volume is 100 GB
# lvdisplay /dev/datavg/data_lv
--- Logical volume ---
LV Name /dev/datavg/data_lv
VG Name datavg
LV UUID pJUy0t-ch4P-mIG2-4PEb-HP39-r0Ur-bbCbcB
LV Write Access read/write
LV Status available
# open 1
LV Size 100.00 GiB
Current LE 25599
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
4) But mounted file system is still 50 GB
/dev/mapper/datavg-data_lv 50G 4.7G 43G 10% /data
Environment
- Red Hat Enterprise Linux(RHEL)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
