- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to extract PVID/VGID from LVM disk
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
03-19-2007 07:01 AM
03-19-2007 07:01 AM
Unable to extract PVID/VGID from LVM disk
# xd -j8200 -N16 -td /dev/dsk/c32t5d2
I get following
0000000 -1134413123 1174322453 0 0
0000010
I am wondering why I am getting this -ve (1134413123) and my 3rd and 4th fields are zero (which should have been my vgid). Can anyone shed light on what wrong I might have done or my checking is not right.
Below I have given another way -
# echo "0x2008?4D" | adb /dev/dsk/c32t5d2
2008: -1134413123 1174322453 0 0
Thank you all for your responses.
Rajos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:04 AM
03-19-2007 07:04 AM
Re: Unable to extract PVID/VGID from LVM disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:08 AM
03-19-2007 07:08 AM
Re: Unable to extract PVID/VGID from LVM disk
Rajos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:14 AM
03-19-2007 07:14 AM
Re: Unable to extract PVID/VGID from LVM disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:31 AM
03-19-2007 07:31 AM
Re: Unable to extract PVID/VGID from LVM disk
xd -An -j8200 -N16 -tx /dev/dsk/c32t5d2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:48 AM
03-19-2007 07:48 AM
Re: Unable to extract PVID/VGID from LVM disk
Rajos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:54 AM
03-19-2007 07:54 AM
Re: Unable to extract PVID/VGID from LVM disk
strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 07:55 AM
03-19-2007 07:55 AM
Re: Unable to extract PVID/VGID from LVM disk
I've used both techniques in the past. I prefer the first, since it doesn't rely on reading what the kernel thinks but rather what's written on the physical disk.
Make _sure_ that you have the proper device file. The 'vgid' of zero would suggest that the device does _not_ belong to a volume group.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 08:04 AM
03-19-2007 08:04 AM
Re: Unable to extract PVID/VGID from LVM disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 08:08 AM
03-19-2007 08:08 AM
Re: Unable to extract PVID/VGID from LVM disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 08:10 AM
03-19-2007 08:10 AM
Re: Unable to extract PVID/VGID from LVM disk
--- Physical volumes ---
PV Name /dev/dsk/c32t5d2
PV Name /dev/dsk/c42t5d2 Alternate Link
VG Name /dev/vg04
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 2157
Free PE 2157
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) 60
Autoswitch On
% > strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c2t1d0
/dev/vg04
/dev/dsk/c32t3d0
/dev/dsk/c32t3d1
/dev/dsk/c32t3d2
/dev/dsk/c32t3d3
/dev/dsk/c42t3d0
/dev/dsk/c42t3d1
/dev/dsk/c42t3d2
/dev/dsk/c42t3d3
/dev/dsk/c32t5d2
/dev/dsk/c42t5d2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 08:12 AM
03-19-2007 08:12 AM
Re: Unable to extract PVID/VGID from LVM disk
The pvdisplay out is for
% > pvdisplay /dev/dsk/c32t5d2
Rajos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2007 08:30 AM
03-19-2007 08:30 AM
Re: Unable to extract PVID/VGID from LVM disk
% > pvchange -a n /dev/dsk/c32t5d2
% > pvchange -a n /dev/dsk/c42t5d2
% > vgcfgrestore -n vg04 /dev/rdsk/c32t5d2
% > pvchange -a y /dev/dsk/c32t5d2
% > pvchange -a y /dev/dsk/c42t5d2
% > xd -j8200 -N16 -td /dev/dsk/c32t5d2
0000000 -1134413123 1174322453 639308353 1047182634
0000010
Thank you all for your suggestions.
Rajos.