HP-UX HB v13.00 Ch-13 - LVM
HP-UX Handbook – Rev 13.00 Page 9 (of 110)
Chapter 13 LVM
October 29, 2013
# lvmmeta -d /dev/rdisk/disk3_p2
…
…
0x00002008 uint32_t id1; 0x413b03fc CPU ID = 1094386684
0x0000200c uint32_t id2; 0x4c0d30d2 Time = Mon Jun 7 11:48:02 2010
i.e. pvcreate(1m) was run on CPU with ID 1094386684 at Mon Jun 7 11:48:02 2010
…
0x00002010 uint32_t id1; 0x413b03fc CPU ID = 1094386684
0x00002014 uint32_t id2; 0x4c0d30d3 Time = Mon Jun 7 11:48:03 2010
i.e. vgcreate(1m) was run on CPU with ID 1094386684 at Mon Jun 7 11:48:03 2010
Since the lvm tool lvmmeta may not always be available you can also read out PV-ID
and VG-ID using standard commands that are available on any HP-UX system.
How to use xd(1) to extract PV-ID and VG-ID:
# xd -j8200 -N16 -tu /dev/rdisk/disk3_p2
0000000 1094386684 1275932882 1094386684 1275932883
PV CPU-ID PV timestamp VG CPU-ID VG timestamp
The above information translates to:
pvcreate and vgcreate was run on the sytem with systemID (uname –i)
1094386684
pvcreate was run at timestamp 1275932882 (seconds after Jan 1
st
1970 0:00
UTC)
vgcreate was run at timestamp 1275932883 (1 second later)