Hi,
As said already, -p is for preview and -s is to generate map files with VGID information so that import will be easier.
In addition, another convenient way of exporting the volume groups is to use -f option. This will create a file with all the disks. During the import, you will just need to change the controller numbers (cx) in the file and import the VG. This will save your previous lvmtab structure.
vgexport -v -p -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx
This will not actually export but generates the map and disk information files for vgxx. Once you are done with your work, edit vgxx.disks and change the cx values if the instance numbers are changed.
vgimport -v -m /tmp/vgxx.map -f /tmp/vgxx.disks vgxx (after creating group device file).
It is better to preview export and generate various kind of map files like with -s, without -s and -f options etc.,
-Sri
You may be disappointed if you fail, but you are doomed if you don't try