LVM and VxVM
Showing results for 
Search instead for 
Do you mean 

Cur LV is not matching to Open LV

Regular Advisor

Cur LV is not matching to Open LV

Hello All,

On one our HP-UX server, Cur LV is not matching with Open LV. Its exclusive VG and one of the LV is missing with certain PEs reserved by that LV across single disk we have in this VG.

Please let us know how can we recover this. We do not have any idea about its minor number.


--- Volume groups ---
VG Name /dev/vg_SPWSOP01_sys
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 17
Open LV 16
Max PV 255
Cur PV 1
Act PV 1
Max PE per PV 20000
VGDA 2
PE Size (Mbytes) 64
Total PE 863
Alloc PE 304
Free PE 559
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

Thanks & regards,
Kavita
5 REPLIES
Acclaimed Contributor Acclaimed Contributor

Re: Cur LV is not matching to Open LV

Check the directory

/dev/vg_SPWSOP01_sys

and count/compare the number of device files.

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!   
Regular Advisor

Re: Cur LV is not matching to Open LV

Checked that, there are 16 raw & block files.
Acclaimed Contributor Acclaimed Contributor

Re: Cur LV is not matching to Open LV

So there is 1 pair missing. Re-create it!

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!   
Acclaimed Contributor Acclaimed Contributor

Re: Cur LV is not matching to Open LV

And since this is a cluster, check the other nodes too. Transfer (vgexport/import) the configuration if needed.

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!   
Esteemed Contributor Esteemed Contributor

Re: Cur LV is not matching to Open LV

Check the lvols device files in "/dev/vg_SPWSOP01_sys" in the other/others cluster's node. You might have the information for the missing lvol there.

Regards,
"When you look into an abyss, the abyss also looks into you"