Operating System - HP-UX
1753523 Members
11676 Online
108795 Solutions
New Discussion юеВ

Re: vgexport and vgimport problem

 
SOLVED
Go to solution
Ian Dennison_1
Honored Contributor

Re: vgexport and vgimport problem

if you need to match up lvol names to mount points, surely somewhere there are the results of a 'bdf' lying around in a report or temporary file?

Can you get back /etc/fstab from an ignite tape or an old backup?

When u get your info, match up what you expect in the filesystem (omniback can show what is last backed up in there) with the lvol by mounting it on a temp mount point, and then identifying which lvol name it is by the contents.

I sympathise I have done this myself once or twice.

Share and Enjoy! Ian
Building a dumber user
MANOJ SRIVASTAVA
Honored Contributor

Re: vgexport and vgimport problem

Ravi


mkdir /dev/vgnew
mknod /dev/vgnew/group 64 0xabcbde


wher the abcde is a unique no check ls -lR /dev/vg | grep groups to know waht nos are already used.
and then doa vgimport .


Manoj Srivastava
S.K. Chan
Honored Contributor

Re: vgexport and vgimport problem

Another thought I had .. extract the VGID from the disk (only need this if you've exported the VG with -s) and use that to build your mapfile. To extract the VGID ..
# echo 0x2010?2X|adb /dev/dsk/
2010: 77612E10 3C1A5E96
With that the 1st line in your mapfile would be ..
VGID 77612e103c1a5e96
...
followed by all the LV names in order.

V. V. Ravi Kumar_1
Respected Contributor

Re: vgexport and vgimport problem

hi all,
thanks to all, the problem is solved with ur suggesstions.
regds
ravi
Never Say No