Operating System - HP-UX
1748256 Members
4123 Online
108760 Solutions
New Discussion юеВ

Re: VGimport data inconsistent

 
zafar.rizvi
Advisor

VGimport data inconsistent

I am exporting disk from our Primary node and its shows the new disk exported successfully in th map file but when i am trying to import it on another machine, it shows only the previous harddrive details, not showing new updated partition. Although i can can see it in the IOSCAN of disk.

i did the following steps on secondary node.
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport -s -m /tmp/lvm_map /dev/vg01

Anybody help or suggestion how to check why new disk not updated in the lvmtab after importing.

regards
Zafar
7 REPLIES 7
Ralf Seefeldt
Valued Contributor

Re: VGimport data inconsistent

hello zafar,

my manpage notes, that the -s option requires the use of the options -p -v and -m and it requires an S800 Server.

Can you try agaiin, using all four options.

can you have a look at
'
#ll /dev/vg*/group
whether the minor ID 01 is really unique.

This are my first suggestions. I hope, this will help a little.

Bye
Ralf
zafar.rizvi
Advisor

Re: VGimport data inconsistent

Dear

Tx for your help.

I export it with -p option already and i am importing it with -v -s -m option but no success, I also try to use -p with these option but not found any entry of importing system in the lvmtab. when i import it with -v -s -m option, it show the package drive details but not the updated thing.

Can you specify the command option sequence or any other solution which i can use to troubleshoot the problem

regards
zafar
zafar.rizvi
Advisor

Re: VGimport data inconsistent

Dear all,

I am facing very strange problem here on my end. My both node presented drive have same Hw.path. actually vgexport is done successfully done but vgimport only the old drives not present the new presented drive.

kindly give me any idea fro troubleshoot this problem.

regards

Zafar
Torsten.
Acclaimed Contributor

Re: VGimport data inconsistent

Hi,

what does this mean:

"not showing new updated partition"


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Marco A.
Esteemed Contributor

Re: VGimport data inconsistent

Have you tried to re-create the lvmtab ?

#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -v
-look for errors

#strings /etc/lvmtab

Regards
Just unplug and plug in again ....
zafar.rizvi
Advisor

Re: VGimport data inconsistent

>Hi,

>what does this mean:

>"not showing new updated partition

Its mean that the vexport shows 5 partition exported but vgimport import only 4 partition, discard one partition......where it is gone......i am unable to understand?


zafar
Thomas J. Harrold
Trusted Contributor

Re: VGimport data inconsistent

By partition, I assume you mean "logical volume".

Take a look at your map file:

# cat /tmp/lvm_map

You should see a VG identifier, and a list of logical volume names, assuming they are different from the default "lvol1, lvol2, etc..) Do all 5 show up there?
If not, then there may be something wrong with your source VG.

You can try doing a vgexport -p -v -m WITHOUT the shared option, and reimporting on the second node again WITHOUT the shared option, but buy specifying a list of device files. For example:

vgimport -v -m /tmp/vgxx.map vgxx /dev/dsk/cxtydz /dev/dsk/cxtydz

-tjh

I learn something new everyday. (usually because I break something new everyday)