HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvextend not working.
Operating System - HP-UX
1835421
Members
2427
Online
110078
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 11:13 AM
11-28-2006 11:13 AM
I increased a partition on a 10.20 box and
rebooted and the change did not take affect.
Ran:
lvdisplay -v /dev/vg00/lvol5
There were free extents. Used all of them.
lvdisplay shows lvol5 whould be 800 meg but
bdf still shows 480 meg total. I ran to extend:
lvextend -l 200 /dev/vg00/lvol5
/dev/vg00/lvol5 480341 417709 14597 97% /var
--- Logical volumes ---
LV Name /dev/vg00/lvol5
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 800
Current LE 200
Allocated PE 200
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
rebooted and the change did not take affect.
Ran:
lvdisplay -v /dev/vg00/lvol5
There were free extents. Used all of them.
lvdisplay shows lvol5 whould be 800 meg but
bdf still shows 480 meg total. I ran to extend:
lvextend -l 200 /dev/vg00/lvol5
/dev/vg00/lvol5 480341 417709 14597 97% /var
--- Logical volumes ---
LV Name /dev/vg00/lvol5
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 800
Current LE 200
Allocated PE 200
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 11:42 AM
11-28-2006 11:42 AM
Solution
You extend the LV, but you didn't extend the filesystem.
Do you have online JFS installed? If so do the following:
# fsadm -b 800m /var
# bdf /var
If you don't have oline JFS you must reboot the machine, interrupt the boot at the 10 second prompt, and boot into single-user mode.
When in single-user mode:
# mount /usr
# extendfs /dev/vg00/rlvol5
# mount /var
# bdf /var
Now you should see the full size.
Do you have online JFS installed? If so do the following:
# fsadm -b 800m /var
# bdf /var
If you don't have oline JFS you must reboot the machine, interrupt the boot at the 10 second prompt, and boot into single-user mode.
When in single-user mode:
# mount /usr
# extendfs /dev/vg00/rlvol5
# mount /var
# bdf /var
Now you should see the full size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2006 11:46 AM
11-28-2006 11:46 AM
Re: lvextend not working.
Hi Jerry:
A filesystem (which is what 'bdf' examines) is contained *within* a logical volume (which is what you enlarged).
Having extented the container for the fileystem, you now need to enlarge the contents or filesystem.
Since you have an 800NB logical volume, you should now do:
# umount /dev/vg00/lvol5
# extendfs -F vxfs -v /dev/vg00/rlovl5
# mount /dev/vg00/lvol5 /var
You may need to boot into single user mode to unmount '/var'. Otherwise you can try 'fuser -ku '/var' to kill all processes using it. If you have OnlineJFS, used 'fsadm' to extend your filesystem without an unmount.
Regards!
...JRF...
A filesystem (which is what 'bdf' examines) is contained *within* a logical volume (which is what you enlarged).
Having extented the container for the fileystem, you now need to enlarge the contents or filesystem.
Since you have an 800NB logical volume, you should now do:
# umount /dev/vg00/lvol5
# extendfs -F vxfs -v /dev/vg00/rlovl5
# mount /dev/vg00/lvol5 /var
You may need to boot into single user mode to unmount '/var'. Otherwise you can try 'fuser -ku '/var' to kill all processes using it. If you have OnlineJFS, used 'fsadm' to extend your filesystem without an unmount.
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP