Operating System - HP-UX
1751945 Members
4938 Online
108783 Solutions
New Discussion

Re: Couldn't parse MAPFILE "/tmp/vg01.map"

 
Carme Torca
Super Advisor

Couldn't parse MAPFILE "/tmp/vg01.map"

 

Hi,

 

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

 

When I do the vgimport, it says me:

 

vgimport -v -m /tmp/vg01.map /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/vg01.map".

 

What could I do?

 

Thanks a lot of!

Carmen.

 

Users are not too bad ;-)
1 REPLY 1
Pete Randall
Outstanding Contributor

Re: Couldn't parse MAPFILE "/tmp/vg01.map"

Does /tmp/vg01.map 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.


Pete