1752777 Members
6341 Online
108789 Solutions
New Discussion юеВ

i lost my VG map file.

 
SOLVED
Go to solution
AbhilashPaul
Advisor

i lost my VG map file.

i have a HP UX box,running with 11.23 and its connected with EVA.
i have created a VG with 3 luns,and that lv contains some data.
Now the box is recreated.so i presented the luns again, but how i can retain the data.? i don't have any filesystem backup and the Vg map file.?
is there any other option,to retail the data.??
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: i lost my VG map file.

Hi:

A mapfile is optional. In its absence, standard names are used for each logical volume --- 'lvol1', lvol2', etc.

If you need to associate other names during a 'vgimport' you can make a mapfile to use that looks like (for example):

1 mylvolx
2 mylvoly
3 yourlvol

Regards!

...JRF...
AbhilashPaul
Advisor

Re: i lost my VG map file.

hi,
How i import the VG ?
i don't have the vgmap file.so how i can recreate the lv and retain the data.?

( the luns have the data but how i can read it. ? i hope here i have to regenerate the VG with this luns...but how ??)
do u have any idea ??
lucas_2
New Member
Solution

Re: i lost my VG map file.

Hi

It's very easy as you know the 3 disks

# mkdir /dev/vgxx
# mknod /dev/vgxx/group c 64 0x010000
# vgimport /dev/vgxx /dev/dsk/cxtyda /dev/dsk/cxtydb /dev/dsk/cxtydc
# vgchange -a y vgxx
# mount your new LV on your mountpoint

Regards
Nido
Trusted Contributor

Re: i lost my VG map file.

Hi & How are you?

Map file is optional, you can create VG by specifying the identified Disks.

Now try before any new question comes ;-)
Above posted steps looks good.

As Nike says 'Just Do It'

Cheers!!
" Let Villagers Be Happy!! "
AbhilashPaul
Advisor

Re: i lost my VG map file.

done
James R. Ferguson
Acclaimed Contributor

Re: i lost my VG map file.

Hi (again):

> How i import the VG ? i don't have the vgmap file

And I answered that! The mapfile is optional!

...JRF...