1752749 Members
4944 Online
108789 Solutions
New Discussion юеВ

Re: vgcreate hangs

 
Vic006
Frequent Advisor

vgcreate hangs

Hi Gurus,

I have 5 BL860C loaded with HP-UX 11.31, and all 5 box are attached to a HItachi A9500 Series array.
I was able to do pvcreate successfull, but when i do vgcreate it hangs.
ioscan shows all the disks claimed
dd command also hangs

This a is a new disk array, what could be the possible issue.

Is this the HW issue or is there any different way to create volumes in 11.31
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: vgcreate hangs

Hi:

The 'vgcreate' command needs to write LVM metadata to the physical disk. Its hanging is consistent with 'dd' hanging. Claimed hardware only indicates that the correct drivers are present and that at one time the hardware responded to a probe.

You have a hardware or connection issue with the array.

Regards!

...JRF...
Mel Burslan
Honored Contributor

Re: vgcreate hangs

Similar issue encountered and later was attributed to some SAN zoning problems in the past for us. I was not the one involved directly with it, so details elude me. Make sure you speak to your SAN admins.
________________________________
UNIX because I majored in cryptology...
Sandy Chen
Honored Contributor

Re: vgcreate hangs

Hi,

Check your zoning, how does you do it? Make sure you create a separate grouping for windows machine and hpux machine

Regards,
Sandy
I never think of the future. It comes soon enough.
Bill Hassell
Honored Contributor

Re: vgcreate hangs

Look at SAN zoning and if you are using some sort of disk virtualization (snapshots, clones, timeviews) then the LUN may appear in ioscan but it does not respond. One additional check is to run diskinfo on the raw disk device file. It will likely report 0 bytes, thereby confirming a presentation error from your SAN.


Bill Hassell, sysadmin
Nido
Trusted Contributor

Re: vgcreate hangs

Hi,

As suggested above, check the SAN zoning for the assigned LUNs.
Can you run `ioscan -fnC disk` again and see the status of the devices.

If you use `ioscan -kfnC disk` devices are not scanned and the device status are taken from kernel image.

Thanks,
" Let Villagers Be Happy!! "
Suraj K Sankari
Honored Contributor

Re: vgcreate hangs

Hi,

Are you able to do diskinfo ?

Suraj

tkc
Esteemed Contributor

Re: vgcreate hangs

#ioscan -fnC command to check if the disk is detected

#diskinfo command to check if the disk is responding

#dd command to check if the whole disk is readable

I suspect you are having problem from diskinfo. It could be fibre channel driver version update needed to work with the array.

Check the FC adapter used and get the driver from http://software.hp.com

johnsonpk
Honored Contributor

Re: vgcreate hangs

Hi,

Have you verified the HBA model and Firmware compatibility with the new storage?

Try removing and create a new zone ,
Try allocating smaller size LUN if the current one is of big size.

LVM 2 is available in v3 try creating vg in lvm2


Thanks!!
Johnson