System Administration
Showing results for 
Search instead for 
Did you mean: 

Re: Couldn't parse MAPFILE "/tmp/"

Super Advisor

Couldn't parse MAPFILE "/tmp/"




I need to restore one vg. I have 12 disks, 1 disk its new, with one pvcreate, and I have de with the 12 disks original.


When I do the vgimport, it says me:


vgimport -v -m /tmp/ /dev/vg01 /dev/dsk/c5t10d0 /dev/dsk/c5t11d0 /dev/dsk/c5t12d0 /dev/dsk/c5t13d0 /dev/dsk/c5t14d0 /dev/dsk/c5t15d0 /dev/dsk/c0t11d0 /dev/dsk/c0t12d0 /dev/dsk/c0t13d0 /dev/dsk/c0t14d0 /dev/dsk/c0t15d0 /dev/dsk/c0t10d0


Beginning the import process on Volume Group "/dev/vg01".
Logical volume "/dev/vg01/VGID" has been successfully created
with lv number 1.
Couldn't parse MAPFILE "/tmp/".


What could I do?


Thanks a lot of!



Users are not too bad ;-)
Outstanding Contributor

Re: Couldn't parse MAPFILE "/tmp/"

Does /tmp/ exist?  The map file is used only to supply logical volume names and numbers if they are different from standard.  The standard is lvolnn where nn is the logical volume minor number.  If your LV names follow the standard you do not need to specify a map at all.