1755916 Members
3578 Online
108839 Solutions
New Discussion юеВ

Re: vgimport problem

 
Deepak Seth_1
Regular Advisor

Re: vgimport problem

see some more strange behaviour
mv /etc/lvmatb /etc/lvmtab.orig
vgscan -a
it shows me that /dev/vgbaanpeu3 in lvmtab with one PV . That PV doesn't even belong that PV . i export the VG and imported again . But no luck . I see /dev/vgbaanpeu3 entry in lvmtab only when i do a vgscan and that too with just one PV.

Don't know what to do .
psreedhar
Frequent Advisor

Re: vgimport problem

Hi,
I am sreedhar, i work closely with HPUX LVM product. Is it possible for you to send me the ouput of

./lvm.11 -l -d ,

I attached the lvm.11 command along with this.

I need to the output for all the disks.But that is quite lot of task. So could you please just send me as many as possible.

Without that output i have no other clue to solve this problem.

regards
sreedhar
Deepak Seth_1
Regular Advisor

Re: vgimport problem

figure out the problem . i repeated the PV in the vgimport command . i wrote /dev/dsk/c11t3d2 twice . i fixed the second PV to /dev/dsk/c11t3d3 and vgimport worked fine .
Thanks for helping .

psreedhar
Frequent Advisor

Re: vgimport problem

Hi,
Now i understood the whole reasoning.
LVM has logic to find duplicate disks even .
But it failed to do in your case. I need to debug the problem now.
can you tell me the exact details of the backend array you are using. Is it possible to give the setup for 10 mins to review the disks details.

regards
sreedhar
Deepak Seth_1
Regular Advisor

Re: vgimport problem

the backend storage is EMC symmetrix , model 8530 . You just need the the output of the command u send me for all the PV's in questions.
psreedhar
Frequent Advisor

Re: vgimport problem

I suspect some problem with LVM commands.
By the end of the day i will give you a C code, can you run that and give me the output.
psreedhar
Frequent Advisor

Re: vgimport problem

Hi,

i attached both C code and the (IA)Binary along with this mail, if you have C compiler please build the code and run it using the following usage.

cc -o emc_inf emc_inq.c
./emc_inq ...

Can you send me the output for few of the disks in your list.
That will help me in debugging why LVM commands couldn't figure out the duplicate disks in the command line.
psreedhar
Frequent Advisor

Re: vgimport problem

I couldnt attach C code earlier.
Sharma Sanjeev
Respected Contributor

Re: vgimport problem

Hi Deepak

Check your all disk belongs to same vgid
with
xd -j 8200 N 16 /dev/dsk.c?t?d?
and you can see the disks belongs to same or diffrent vgid

If it belongs to diffrent than you have to export your HORMCM Instance
and than you have to do pairrsync and pairsplit.
your problem will be resolved.

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE