- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is it possible to get the lvol size from the VGDA ...
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
Discussions
Discussions
Forums
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
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
тАО11-23-2015 02:34 AM
тАО11-23-2015 02:34 AM
Is it possible to get the lvol size from the VGDA using xd/adb ?
Hi,
We need to get the lvol info(lvol size) if possible from the /etc/lvmconf/*.conf files on the server.
Just like we can get the VGID from the .conf or lvmtab file:
/etc/lvmconf#xd -An -j1024 -N32 -tx vg00L.conf
4c564d52 45433031 28896e35 3d8b4d96
28896e35 3d8b4d96 5207ff 0
The sames as the VGID is stored in the VGDA, Lvol info is stored in the VGDA, Is it possible to extract some info of the logical volumes, size, start and end blocks ?.
This would be non-boot vg's with version 1 of lvm.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-23-2015 05:33 PM
тАО11-23-2015 05:33 PM
Re: Is it possible to get the lvol size from the VGDA using xd/adb ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-24-2015 06:07 AM - edited тАО11-24-2015 03:33 PM
тАО11-24-2015 06:07 AM - edited тАО11-24-2015 03:33 PM
Re: Is it possible to get the lvol size from the VGDA using xd/adb ?
Hi Dennis,
Thanks for the link to that post it has interesting stuff in it, but my need is different, I'm in the middle of a migration and I only have access to the /etc/ of the source servers(they are run by another company), so I was thinking maybe there is a way to get the lenght of the logical volumes from the copy of the VGDA that resides in the /etc/lvmconf/*.conf files, using xdb,etc.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2015 05:26 AM
тАО12-10-2015 05:26 AM
Re: Is it possible to get the lvol size from the VGDA using xd/adb ?
The only decoder for an lvmconf file is vgcfgrestore, like this:
# vgcfgrestore -n vg00 -l -v
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c1t0d0 (Bootable)
/dev/rdsk/c2t0d0 (Bootable)
But this requires root to run the command. And it does not contain the lvol information.
Another critical file in the lvmconf directory that is often not created is a serial number map file.
This is done with:
vgexport -m <mapfile> -s -p vgsomething
but this only has the lvol names (very important) but not the sizes.
The only way to get all the information you need is with vgdisplay -v which can be run by any user.