- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need vgdisplay -v output for multiple volume g...
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
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
12-03-2002 05:24 AM
12-03-2002 05:24 AM
Sorry for the silly request. But can someone please mail me output
of vgdisplay -v for more than 1 volume groups?
(I am writing parsing code for this and it is almost complete,
but need to know the separators for more volume group info).
My hotmail address is nikhilim@hotmail.com
With regards,
Nikhil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 05:26 AM
12-03-2002 05:26 AM
Re: Need vgdisplay -v output for multiple volume groups
How about vgdisplay -v /dev/vg* ?
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 05:29 AM
12-03-2002 05:29 AM
Re: Need vgdisplay -v output for multiple volume groups
So I wanted to look at some sample output that contains info about more than one volume group (so that I can know where to stop parsing for one vg and start parsing for next vg).
With regards,
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 05:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 05:53 AM
12-03-2002 05:53 AM
Re: Need vgdisplay -v output for multiple volume groups
Check your mail!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 06:58 AM
12-03-2002 06:58 AM
Re: Need vgdisplay -v output for multiple volume groups
- Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2002 07:19 AM
12-03-2002 07:19 AM
Re: Need vgdisplay -v output for multiple volume groups
I've written a vgdisplay parser myself in Perl, but I think yours will be better.
Thus I had a similar need when I wanted to write it at home where I don't have access to an HP-UX box.
Luckily there was the wonderful work of Heinz Mauelshagen
(see
http://www.osdl.org/osdlpress/2001_aug_29_san_francisco.html
)
who wrote an LVM for Linux that has (almost) exactly the same interface as the HP-UX LVM (i.e. commands), and whose (pv|vg|lv)display produces (almost) exactly the same output.
You can set up a Linux box on any old PC and create LVs to your heart's content.
If you use a current Linux kernel (viz 2.4.X) it is already in the kernel sources
(run "make maenuconfig" and select LVM support).
Older kernels require more cumbersome semi-manual patching.
Then you only need to install the LVM tools from separat rpm file or source tarball.
You can find out more herin:
http://ldp.kernelnotes.de/HOWTO/LVM-HOWTO/
Btw, someone has already come up with an HPUX::LVM Perl module and published it at CPAN:
http://www.cpan.org/modules/by-module/HPUX/