- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.31 – LUN Expanded at Storage Side, Used vg...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
10-10-2025 08:59 AM - last edited on 10-13-2025 10:48 PM by support_s
10-10-2025 08:59 AM - last edited on 10-13-2025 10:48 PM by support_s
HPUX 11.31 – LUN Expanded at Storage Side, Used vgmodify to Reflect in LVM – Backup/Revers
Looking for some expert insights and suggestions here.
Background:
OS: HPUX 11.31
LVM version: 1.0
Volume group and mount are part of a ServiceGuard (MC/SG) package
The storage team expanded the underlying LUN (100Gb to 150Gb) - Primera 3PAR
The volume group has only 1 PV and 1 LV
No new LUNs were added, just a resize of existing one
What I did:
I used vgmodify (no pvresize) to make LVM aware of the increased LUN size:
vgmodify -v -a -E /dev/vgnameThen extended the logical volume:
lvextend -L 150000 /dev/vgname/lvol1And finally grew the VxFS filesystem:
fsadm -F vxfs -b 157228800 /mount/point
Everything worked perfectly and the new extended filesystem is live and visible in bdf.
My Question: What backups should I have taken before vgmodify, and if I ever wanted to undo this — how would I do it?
P.S. vgmodify initially failed due to Max PE per PV limit. I resolved it by reducing Max PV from 16 to 10, which allowed the LUN expansion to proceed.
- Tags:
- Operating System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2025 08:08 AM
10-13-2025 08:08 AM
Re: HPUX 11.31 – LUN Expanded at Storage Side, Used vgmodify to Reflect in LVM – Backup/Re
I would backup the files LV on this VG, and save a listing of vgdisplay -v and lvdisplay.
Also, in case you are using a raw database manager such as Informix, make a backup using that database's tools.
If for some obscure reason the VG records became corrupted, you can then replace the bad VG deifinitions with the display listings, then restore the data,
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2025 12:31 AM
10-14-2025 12:31 AM
Re: HPUX 11.31 – LUN Expanded at Storage Side, Used vgmodify to Reflect in LVM – Backup/Re
expanded the LUN and then used vgmodify to update the LVM. It worked fine, but I always get a bit nervous about the backup part. Did you take a full VG backup before running vgmodify, or do you just rely on the storage side snapshot? am trying to understand the safest rollback method if something goes wrong. Also curious if anyone has tried doing this setup from a remote desktop hosting environment does it slow down LVM operations at all?