1834434 Members
2145 Online
110067 Solutions
New Discussion

Re: strange LVM issue

 
Nyck_1
Super Advisor

strange LVM issue

I have just gone into sam to check a logical volume on one of my Itanium 11.23 servers and before it displayed the logical volume information the following message popped up:-

The Logical Volume Manager shows this device file, /dev/dsk/c2t0d0s2, with hardware path, 0/4/1/0.0.0.0.0, as belonging to Volume group vg00. SAM has determined that this hardware path is not currently active because either the device is disconnected, or this is not the primary path to a multiple path physical volume.

What on earth is going on here?

I can see nothing wrong with this server!
18 REPLIES 18
TTr
Honored Contributor

Re: strange LVM issue

Use the "vgdisplay -v /dev/vg00 |more" command to check the status of the vg00 and the disk. SAM is not always reliable, maybe the "s2" in the disk device was confusing. Check if there are SAM patches available for your server.
Jeeshan
Honored Contributor

Re: strange LVM issue

what your ioscan -fnC disk is saying? is it claimed or any other status?

check your raid controller.
a warrior never quits
Nyck_1
Super Advisor

Re: strange LVM issue

the vgdisplay -v stuff seems fine:-

vgdisplay -v /dev/vg00 |more
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4356
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 3848
Free PE 498
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 1792
Current LE 56
Allocated PE 56
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 16384
Current LE 512
Allocated PE 512
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 30720
Current LE 960
Allocated PE 960
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 320
Allocated PE 320
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 16896
Current LE 528
Allocated PE 528
Used PV 1

LV Name /dev/vg00/lv_swapext
LV Status available/syncd
LV Size (Mbytes) 32768
Current LE 1024
Allocated PE 1024
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t0d0s2
PV Status available
Total PE 4346
Free PE 498
Autoswitch On
Proactive Polling On
Kenan Erdey
Honored Contributor

Re: strange LVM issue

Hi,

if lvdisplay -v output and ioscan output is ok. have look at this patch. your problem is patched here:

http://www12.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_36562&sel={hpux:11.11,}&BC=main|search|

Kenan.
Computers have lots of memory but no imagination
Nyck_1
Super Advisor

Re: strange LVM issue

The ioscan output seems fine also:-

ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
====================================================================================
disk 9 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-V
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3
disk 2 0/4/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t3d0 /dev/rdsk/c2t3d0
disk 5 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t4d0 /dev/rdsk/c2t4d0
disk 6 0/4/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t5d0 /dev/rdsk/c2t5d0
disk 7 0/4/1/0.0.0.6.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0
disk 8 0/4/1/0.0.0.7.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t7d0 /dev/dsk/c2t7d0s2 /dev/rdsk/c2t7d0 /dev/rdsk/c2t7d0s2
/dev/dsk/c2t7d0s1 /dev/dsk/c2t7d0s3 /dev/rdsk/c2t7d0s1 /dev/rdsk/c2t7d0s3
disk 10 0/6/0/0/0/0/1/0/0/0.0.0 sdisk CLAIMED DEVICE HP LOGICAL VOLUME
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
Torsten.
Acclaimed Contributor

Re: strange LVM issue

I'm a bit confused about YOUR configuration overall.

Your (un-mirrored !!!) boot disk:

disk 1 0/4/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t0d0 /dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s1 /dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s1 /dev/rdsk/c2t0d0s3

Another (?) boot disk:

disk 8 0/4/1/0.0.0.7.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c2t7d0 /dev/dsk/c2t7d0s2 /dev/rdsk/c2t7d0 /dev/rdsk/c2t7d0s2
/dev/dsk/c2t7d0s1 /dev/dsk/c2t7d0s3 /dev/rdsk/c2t7d0s1 /dev/rdsk/c2t7d0s3



This is either a rx3600 or rx6600 with "plain" SAS disks, right?

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!   
Kenan Erdey
Honored Contributor

Re: strange LVM issue

sorry for previous post. wrong version. for 11.23:

http://www12.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_36563&sel={hpux:11.23,}&BC=main|search|


Computers have lots of memory but no imagination
Nyck_1
Super Advisor

Re: strange LVM issue

Its an rx6600 running 11.23, the root disk is not mirrored as our company does not like to spend money. When this server was bought it has 11.23 pre-installed and that would of been on c2t7d0, reason why it looks like we have two root disks. This server has got a built in P400 raid array hence the c1t0d0 bit.
Nyck_1
Super Advisor

Re: strange LVM issue

The annoying thing is that I cannot remember if this has done this before. I think this is the first time I have used sam to look at the logical devices since I built this server 2-3 months ago.

I will download the 11.23 sam patch and see what happens.
Torsten.
Acclaimed Contributor

Re: strange LVM issue

>>"the root disk is not mirrored as our company does not like to spend money"

You don't need mirrordisk/UX, but you can have hardware mirroring (Integrated RAID) on this system for free.

Think about this!

What action did you take when the notification popped up?

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!   
Nyck_1
Super Advisor

Re: strange LVM issue

I have just checked and the following sam patch is installed:-

PHCO_34974 cumulative SAM patch

I checked out the current one on the HP website and it has hordes of dependancies, would you still recommend me downloading and installing it?
Torsten.
Acclaimed Contributor

Re: strange LVM issue

From the patch text I really like this fix:

10. JAGag47682 - 8606495760) SAM exhibits incorrect behavior.

;-)


You only have the previous patch installed, see

http://www12.itrc.hp.com/service/patch/patchTree.do?patchid=PHCO_36563&sel={hpux:11.23,}&BC=main|search|patchDetail{PHCO_36563,{hpux:11.23,}}|

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!   
Nyck_1
Super Advisor

Re: strange LVM issue

Yes the Hardware raid is free, but does that not only apply to the P400 array disks?

the root disk is not one of those.

The messages were just info and I just clicked on the ok tab
Torsten.
Acclaimed Contributor

Re: strange LVM issue

No, not only the P400.

You can create 2 pairs of mirrored disk on the built-in SAS controller.

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

Re: strange LVM issue

For the integrated mirror see

http://docs.hp.com/en/J6369-90071/ch03s01.html

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!   
Nyck_1
Super Advisor

Re: strange LVM issue

I now have the patch bundle so I can install it when I can get a time to reboot the server.

I will speak to the people who own the server about mirroring the root disk, from what I remember there was a reason as to why they did not want it to be done in the first place.
Torsten.
Acclaimed Contributor

Re: strange LVM issue

You already know what happens if this single boot disk dies one day ...

I would strongly suggest to mirror 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!   
Nyck_1
Super Advisor

Re: strange LVM issue

Yup I know exactly what will happen and I will tell em I told u so:-)

I have managed to persuade them to let me mirror the Sun servers with VVM or SDS and I'm currently working on the AIX servers along with the HP ones.

cheers for the excellent replies as usual!