Operating System - HP-UX
1753767 Members
5702 Online
108799 Solutions
New Discussion юеВ

vgcreate is hanging while creating volume group.

 

Re: vgcreate is hanging while creating volume group.

I have 3 disks:
HP 146 GST3146807LC.
Now I'vet tried with mediainit. but I got I/O error:
mediainit: initialization process starting
mediainit: locking SCSI device
mediainit: initializing media
mediainit: initialize media command failed - I/O error

And sam shows one disk with Total MB as 0 !!!
KapilRaj
Honored Contributor

Re: vgcreate is hanging while creating volume group.

Can u try with just one disk at a time and then extend the others ... ?

Also disconnect the one with 0 MB

Kaps
Nothing is impossible

Re: vgcreate is hanging while creating volume group.

OK, I'll try it ...

Re: vgcreate is hanging while creating volume group.

well,
I'm getting on 2nd disk:
cat /stand/vmunix > /dev/rdsk/c3t2d0
Invalid argument
cat: Cannot write to output.
Joseph Dieckhans_1
New Member

Re: vgcreate is hanging while creating volume group.

Hi,

I was working on a similar issue and was just told that the problem is with the default physical extent size for the volume group. Use the -s option to set the physical extent size larger than the default 4M.

i.e. vgcreate -s 64 /dev/vg01 /dev/dsk/cXtXdX

- Joey D.


----------------------------------------------------------------------------------------------------
11.23 LVM vgcreate can hang when building a volume group
By: Mr. McMahon, HP-UX Kernel GSE

For a volume group to be built successfully, the volume group reserved area (VGRA) must fit inside a single physical extent. If it does not then an error indicating insufficient space should be returned. Under these conditions, with 11.23, a bug results in vgcreate hanging, and it cannot be killed. The kernel stack for vgcreate will probably show the routine
lv_dev_terminate_daemon(k) calling sleep(k).

Where you can affect the parameters used with vgcreate, increasing the extent size or reducing the maximum number of physical extents per PV or the maximum number of PVs are ways to overcome this problem. lvmcompute

Re: vgcreate is hanging while creating volume group.

Hi Joe,
the symptoms, you're writnig about seem to confirm in my case. But now I have another problem. I tried to initiate disks with medianinit command. After some time it finished with I/O error and now I can see my disks in sam with Total MB: 0! And vgcreate finishes with:
vgcreate: Couldn't open physical volume "/dev/dsk/c2t0d0":
I/O error.

What can I do know? I hope they are not physically damaged ...
KapilRaj
Honored Contributor

Re: vgcreate is hanging while creating volume group.

Are there any special drivers for these new disks ?

Kaps
Nothing is impossible

Re: vgcreate is hanging while creating volume group.

Well, I know of nothing. I didn't install anything new to them. I'm getting also I/O Error using dd.
Cheryl Griffin
Honored Contributor

Re: vgcreate is hanging while creating volume group.

The disks need to be checked out. This looks like a problem with the disks.
"Downtime is a Crime."

Re: vgcreate is hanging while creating volume group.

Hi Cheryl,
so what do you propode to do ?