Friday 9 August 2013

read PVID from disk

lspv and other high level lvm commands are reading the pvid from the ODM database, not from the disk itself.

Sometimes you need to read it from the disk. There are two ways to fulfill this:

1. Using lquerypv command:
# lquerypv -h /dev/hdisk10 80 10
00000080   00C4469D 5E6002A5 00000000 00000000  |..H.^`..........|

2. Using od command:

# od -A n -j 128 -N 8 -x /dev/hdisk10
00c4 469d 5e60 02a5

0 blogger-disqus:

Post a Comment