09-15-04 02:51 PM
Joerg,
This sounds like a known issue with HP-UX 11.23 and LVM with large volumes.
Basically the theory goes that the VGRA (volume group reserved area, an
area of data defining the layout of the VG and replicated across all
physical volumes in the VG) must fit within a single LVM logical (and
physical) extent. As you have not specified an extent size, LVM will
default to 4MB. If the VGRA needed to satify the size of disk you are
dealing with exeeds this size, you will experience a hang with vgcreate
with 11.23.
Prior to 11.23, the vgcreate command would simply have failed with an
error suggesting insufficient space. This issue with 11.23 has
allegedly been reported to HP labs and is being fixed. Meanwhile, the
vgcreate command will hang with no info given as to the reason.
For a solution: increase the size of the extent space. LVM already
granted a "Max PE per PV" of 35003 at 4MB (which would tie in with your
140GB disk size). So if the above theory is true, try the following
commands:
# pvcreate /dev/rdsk/c3t2d0
# mkdir /dev/vg04
# mknod /dev/vg04/group c 64 0x040000
# vgcreate -s 8 -e 17501 /dev/vg04 /dev/dsk/c3t2d0
This will set up your VG with an extend size of 8MB, which should be
enough to cope with the size of your disk(s). If not, try 16MB with the
max PE's reduced accordingly (vgcreate -s 16 -e 8750 /dev/vg04
/dev/dsk/c3t2d0).
Bear in mind a lot of the current LVM code comes from the early HP-UX
version 10 days when 9GB & 18GB disks didn't exist and 4GB disks were a
luxury...
Hope this helps.
Jimbo
Joerg Mauz wrote:
> thanks so far,
>
> after searching for LVM within HP's suppert center i installed
> the following patches that are listet within the serach results:
>
> s700_800 11.23 VxVM 3.5~IA.004 Command Patch 01
> s700_800 11.23 LVM chooses metadata in incorrect PV
> s700_800 11.23 MC/ServiceGuard A.11.15.00
> s700_800 11.X OV DP5.10 patch - SSEA packet
> s700_800 11.X OV DP5.10 patch - DOC packet
>
> i tried to create this vg by hand (as read in the docs):
>
> pvcreate /dev/rdsk/c3t2d0
> mkdir /dev/vg04
> mknod /dev/vg04/group c 64 0x040000
> vgcreate /dev/vg04 /dev/dsk/c3t2d0
>
> thats what i did after installing all the patches listed above and
> vgcreate still hangs..
> killing this vgcreate process doesnt work also.
>
> i also tried to pick up the idea of running
>
> echo 2400?20X | adb /dev/dsk/c3t2d0
>
> which results in:
>
> adb: warning: /dev/dsk/c3t2d0: Unknown file type.
> adb: warning: File '/dev/dsk/c3t2d0' is not an object file.
> 0x2400:
> adb: warning: Unrecognized format character - 'X'.
>
> any ideas ?
> thanks in advance !!
>
> cheers
>
> joerg
>
> "HP_BRS" <born2veg@yahoo.com> schrieb im Newsbeitrag
> news:bb82cc2.0409140305.231dadf1@posting.google.com...
>
>
> news:<4145ef07$1@news.pironet-ndh.com>...
>
>
>
>
[ Post a follow-up to this message ]
|