HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Discrepency in PVID
Operating System - HP-UX
1833861
Members
2050
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-27-2009 05:53 AM
01-27-2009 05:53 AM
Discrepency in PVID
Hi,
I am using the following commands to find out the PVID. Both commands reveal different PVID's.
#echo 0x2010?2X|adb /dev/dsk/c17t6d2|expand|tr -d " "|sed "s/2010:/PVID /"
PVID 0xF1E0A7384458ACEA
#echo "0x2008?4D" | adb /dev/dsk/c17t6d2
2008: -236935368 1233043606 -236935368 1146662122
First command output 0xF1E0A7384458ACEA is not equal to the second command decimal value 1233043606.
Am I interpreting something wrong?
Could someone clarify this?
I am using the following commands to find out the PVID. Both commands reveal different PVID's.
#echo 0x2010?2X|adb /dev/dsk/c17t6d2|expand|tr -d " "|sed "s/2010:/PVID /"
PVID 0xF1E0A7384458ACEA
#echo "0x2008?4D" | adb /dev/dsk/c17t6d2
2008: -236935368 1233043606 -236935368 1146662122
First command output 0xF1E0A7384458ACEA is not equal to the second command decimal value 1233043606.
Am I interpreting something wrong?
Could someone clarify this?
Best wishes,
Ganesh.
Ganesh.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 10:21 AM
01-27-2009 10:21 AM
Re: Discrepency in PVID
The output 0xF1E0A7384458ACEA is really two numbers concatenated by your first command. If you break it down to F1E0A738 and 4458ACEA you will see that the second part 4458ACEA matches the decimal 1146662122.
Now if you look closely the F1E0A738 is really the -236935368 number if you account for complementation using 8 hex digits. That is
FFFFFFFF - F1E0A738 = E1F58C7
which in decimal is the 236935367. The difference in the last digit is the one digit off for the minus sign. ( You have to go back to one's complement and two's complement to understand this)
The question really is why there is a negative number in the second output? Is the disk c17t6d2 an active disk of a volume group? If it is only pvcreated and not vgcreated/vgextended that may explain the negative number.
Now if you look closely the F1E0A738 is really the -236935368 number if you account for complementation using 8 hex digits. That is
FFFFFFFF - F1E0A738 = E1F58C7
which in decimal is the 236935367. The difference in the last digit is the one digit off for the minus sign. ( You have to go back to one's complement and two's complement to understand this)
The question really is why there is a negative number in the second output? Is the disk c17t6d2 an active disk of a volume group? If it is only pvcreated and not vgcreated/vgextended that may explain the negative number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 10:33 AM
01-27-2009 10:33 AM
Re: Discrepency in PVID
On second though there is probably nothing wrong with the the VGID/PVID. Run the command
vgexport -m maptest.map -s -p -v /dev/vgXX and you will see the correct hex number.
This is the correct number nad this is how it should be represented and not in decimal.
All these numbers are in hex, the negative decimal number is how adb formats the output.
vgexport -m maptest.map -s -p -v /dev/vgXX and you will see the correct hex number.
This is the correct number nad this is how it should be represented and not in decimal.
All these numbers are in hex, the negative decimal number is how adb formats the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2009 10:30 PM
01-28-2009 10:30 PM
Re: Discrepency in PVID
Use the following command to know the PVID and VGID
explained with an example
# xd -j8200 -N16 -tu /dev/rdsk/c1t2d0
0000000 2000252410 965817345 2000252410 965817462
PV CPU-ID PV timestamp VG CPU-ID VG timestamp
explained with an example
# xd -j8200 -N16 -tu /dev/rdsk/c1t2d0
0000000 2000252410 965817345 2000252410 965817462
PV CPU-ID PV timestamp VG CPU-ID VG timestamp
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP