For a version 2.x VG, enter:
xd -j 0x21a4 -t uI -N 4 /dev/dsk/c0t3d0
In this example, this is a version 1.0 VG.
# xd -j 0x2048 -t uI -N 4 /dev/dsk/c0t3d0
0000000 1024
0000004
# xd -j 0x2048 -t uI -N 4 /dev/dsk/c1t3d0
0000000 1024
0000004
4. Calculate the location of the physical extent for each PV. Multiply the PE number by the PE size
and then by 1024 to convert to Kb:
2 * 32 * 1024 = 65536
Add the offset to PE zero:
65536 + 1024 = 66560
5. Enter the following dd commands:
# dd bs=1k skip=66560 count=32768 if=/dev/rdsk/c0t3d0 of=/dev/null &
# dd bs=1k skip=66560 count=32768 if=/dev/rdsk/c1t3d0 of=/dev/null &
Note the value calculated is used in the skip argument. The count is obtained by multiplying
the PE size by 1024.
Note : The previous example recommends running the dd command in the background (by
adding & at the end of the command) because you do not know if the dd command will hang
when it does the read. If the dd command is run in the foreground, Ctrl+C stops the read on the
disk.
Commentaires sur ces manuels