- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VGID not unique
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
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
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
02-03-2014 10:45 AM
02-03-2014 10:45 AM
VGID not unique
HI
I have vpar 6.2, all storage Is presented from EMC via npiv (it all works great). I'm undertaking a DC migration where some LUNS from another server will be presented via BCV to my vpar. I want to validate what luns belong to which volume group, so I thought I'd query the VGID to do this.
in preparation I thought I'd test it on the 2 VG I presently have setup on my 11.31 vpar. However running the various 'xd' commands (from forum search) shows no difference in the VGID even though I know the disks I'm testing against belong to two different volume group.
Is there a way of getting the VGID from EMC LUN on a vpar running March 2013 release of HP-UX?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2014 08:08 AM
02-04-2014 08:08 AM
Re: VGID not unique
Hi,
How are you using xd ?, what version are you using of lvm ?
right now I only have a 11.31 server with legacy devices, and lvm 1.0 but xd works ok:
root@or:/> vgdisplay -v vg00 | grep "PV Name"
PV Name /dev/dsk/c55t0d0s2
PV Name /dev/dsk/c48t0d0s2
root@or:/> xd -An -j8200 -N16 -tx /dev/dsk/c55t0d0s2 |awk '{print$1}'|grep -v "^\ "
3a6b51ec
root@or:/> xd -An -j8200 -N16 -tx /dev/dsk/c55t0d0s2 |awk '{print$4}'|grep -v "^\ "
459149ac
root@or:/> cat /etc/lvmconf/vg00.mapfile | head -1
VGID 3a6b51ec459149ac
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2014 10:41 AM
02-04-2014 10:41 AM
Re: VGID not unique
this is 11.31 with persistent devices using lvm 2.2 so an example
output of lvmadm -l
VG Name /dev/vgdatabase
PV Name /dev/disk/disk12
VG Name /dev/vgarchive
PV Name /dev/disk/disk22
xd -An -j8200 -N16 -tx /dev/disk/disk22 |awk '{print$1}'|grep -v "^\ "
20000
xd -An -j8200 -N16 -tx /dev/disk/disk12 |awk '{print$1}'|grep -v "^\ "
20000
even without the grep displaying all values all the values are the same
xd -An -j8200 -N16 -tx /dev/disk/disk22
20000 0 41303030 30303030
xd -An -j8200 -N16 -tx /dev/disk/disk12
20000 0 41303030 30303030
i'm wondering if this relates to LVM2.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2014 11:08 AM
02-04-2014 11:08 AM
Re: VGID not unique
Hi, yes it does relate, if you are using lvm2.X, you can get the info using:
For the PVID, use: xd -An -j8208 -N17 -tc DISK For the VGID, use: xd -An -j8344 -N17 -tc DISK