- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Equivalent of "LV IDENTIFIER"
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
03-25-2004 04:20 AM
03-25-2004 04:20 AM
Equivalent of "LV IDENTIFIER"
On AIX we have the field as "LV IDENTIFIER" and can be queried using lslv CLI.
Can anyone let me know the field that specifies the ID and the CLI to query it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 04:34 AM
03-25-2004 04:34 AM
Re: Equivalent of "LV IDENTIFIER"
What do you query "lslv CLI" to learn?
Are you trying to find out if it is mounted, how big it is, etc.? What?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 04:41 AM
03-25-2004 04:41 AM
Re: Equivalent of "LV IDENTIFIER"
Using lslv I get the LV IDENTIFIER" for the lvm volume on AIX.
I want to find the id for my book keeping, and further I'm planning to move the volumegroup to another similar HP machine.
So probably the ID would be my index key.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 04:41 AM
03-25-2004 04:41 AM
Re: Equivalent of "LV IDENTIFIER"
the file /etc/lvmconf/vgxx.conf will have vgid in it. This is not text file.
strings /etc/lvmconf/vgxx.conf will give that detail.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 04:48 AM
03-25-2004 04:48 AM
Re: Equivalent of "LV IDENTIFIER"
Maybe if you told us your complete objective, we could offer some help.
Every VG has a minor number associated with it:
....ll /dev/*/group
Every LV has an "index" associated with it:
....ll /dev/vg00
Every VG has a "VGID" associated with it:
....vgexport -p vgname -m mapfile; head mapfile
Every LV has a mapfile index associated with it:
cat mapfile
They all have differest uses....
If you vgexport a VG from one system and vgimport it on another system, you want to copy the "mapfile" over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 04:52 AM
03-25-2004 04:52 AM
Re: Equivalent of "LV IDENTIFIER"
How can I get the minor number and the index?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 04:59 AM
03-25-2004 04:59 AM
Re: Equivalent of "LV IDENTIFIER"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 08:41 AM
03-25-2004 08:41 AM
Re: Equivalent of "LV IDENTIFIER"
but do you know any simple CLI that will also give the VG-ID.
Is this VG-ID unique across the hosts?
----------------------------------------
# lvm11 -p -d /dev/rdsk/c1t2d0 | more
...
...
/* The physical volume ID. */ 2000252410 965817345i.e.
pvcreate(1m) was run on CPU with ID 2000252410 at Wed Aug 9 12:35:45
2000
/* The volume group ID. */ 2000252410 965817462i.e.
vgcreate(1m) was run on CPU with ID 2000252410 at Wed Aug 9 12:37:42
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2004 09:09 AM
03-25-2004 09:09 AM
Re: Equivalent of "LV IDENTIFIER"
I think what you're looking for is the VGID for that volume group.
If so here's a method
echo 0x2010?2X|adb /dev/dsk/cXtYdZ|expand|tr -d " "
This should yield a result like
2010: 778B50B1 3D5D3888
If you drop the 2010: & combine the next two fields - there's your VGID
778B50B13D5D3888
HTH,
Jeff