vgcreate hangs !
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > HP Unix > vgcreate hangs !




Pages (2): [1] 2 »   Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    vgcreate hangs !  
Joerg Mauz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 02:51 PM

hi all,

situation: hp rx2xxx server (2xitanium cpus)
os: hp-ux 11.23

when running

vgcreate /dev/vg03 /dev/dsk/c3t2d0

i get: Increased the number of physical extents per physical volume to 35003
.

and a never-ending running process of vgcreate

it does not matter if i use sam or try to create this volgroup by hand

any ideas ?

/dev/dsk/c3t2d0 is a 140GB scsi-320

thanks in advance

cheers

joerg







[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
BB


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 02:51 PM

my 2 cents.

Check for latest LVM cumulative patch.

Run diskinfo (check man for more options).

Additionally, run:

echo 2400?20X | adb /dev/dsk/c3t2d0

(if the output is:
455xxxxx 45xxxxxx  0  0
0                0             0  0
0                0             0  0
0                0             0  0

you should be k. Else I would log a call with hp)

This was just brainstorming assuming everything else was done right!

"Joerg Mauz" <Joerg_MauzREMOVETHIS@abs.org> wrote in message
news:4145ef07$1@news.pironet-ndh.com...
> hi all,
>
> situation: hp rx2xxx server (2xitanium cpus)
> os: hp-ux 11.23
>
> when running
>
> vgcreate /dev/vg03 /dev/dsk/c3t2d0
>
> i get: Increased the number of physical extents per physical volume to
35003.
>
> and a never-ending running process of vgcreate
>
> it does not matter if i use sam or try to create this volgroup by hand
>
> any ideas ?
>
> /dev/dsk/c3t2d0 is a 140GB scsi-320
>
> thanks in advance
>
> cheers
>
>     joerg
>
>







[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
HP_BRS


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 02:51 PM

So the pvcreate went OK? Did you use any special or non-default
options with pvcreate and vgcreate?

And yes, my advice for all things LVM is to do it 100% by the command
line.

Best Regards,

HP_BRS

"Joerg Mauz" <Joerg_MauzREMOVETHIS@abs.org> wrote in message news:<4145ef07$1@news.pironet-n
dh.com>...
> hi all,
>
> situation: hp rx2xxx server (2xitanium cpus)
> os: hp-ux 11.23
>
> when running
>
> vgcreate /dev/vg03 /dev/dsk/c3t2d0
>
> i get: Increased the number of physical extents per physical volume to 350
03.
>
> and a never-ending running process of vgcreate
>
> it does not matter if i use sam or try to create this volgroup by hand
>
> any ideas ?
>
> /dev/dsk/c3t2d0 is a 140GB scsi-320
>
> thanks in advance
>
> cheers
>
>     joerg





[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
Joerg Mauz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 02:51 PM

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...
> So the pvcreate went OK? Did you use any special or non-default
> options with pvcreate and vgcreate?
>
> And yes, my advice for all things LVM is to do it 100% by the command
> line.
>
> Best Regards,
>
> HP_BRS
>
> "Joerg Mauz" <Joerg_MauzREMOVETHIS@abs.org> wrote in message
news:<4145ef07$1@news.pironet-ndh.com>...[vbcol=seagreen] 







[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
lolo


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 02:51 PM

Joerg Mauz wrote:
> hi all,
>
> situation: hp rx2xxx server (2xitanium cpus)
> os: hp-ux 11.23
>
> when running
>
> vgcreate /dev/vg03 /dev/dsk/c3t2d0
>
> i get: Increased the number of physical extents per physical volume to 350
03.
>
> and a never-ending running process of vgcreate
>
> it does not matter if i use sam or try to create this volgroup by hand
>
> any ideas ?
>
> /dev/dsk/c3t2d0 is a 140GB scsi-320
>
> thanks in advance
>
> cheers
>
>     joerg
>
>
Your problem could be the size of your physical extents !
If you keep the default, it must be 4Mo.
You can use vgcreate -s 8 or vgcreate -s 16 to increase the size of your
physical extents to 8 Mo or 16 Mo. It is usually used with great
capacity disk.





[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
Jim Marsden


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: vgcreate hangs !  
Vicior


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-28-04 10:45 PM

known bug in vgcreate and vgextend command. patch not available yet, but
soon...



Użytkownik "Joerg Mauz" <Joerg_MauzREMOVETHIS@abs.org> napisał w wiadomości
news:4145ef07$1@news.pironet-ndh.com...
> hi all,
>
> situation: hp rx2xxx server (2xitanium cpus)
> os: hp-ux 11.23
>
> when running
>
> vgcreate /dev/vg03 /dev/dsk/c3t2d0
>
> i get: Increased the number of physical extents per physical volume to
35003.
>
> and a never-ending running process of vgcreate
>
> it does not matter if i use sam or try to create this volgroup by hand
>
> any ideas ?
>
> /dev/dsk/c3t2d0 is a 140GB scsi-320
>
> thanks in advance
>
> cheers
>
>     joerg
>
>







[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
Emanuele


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-01-04 10:45 PM

hi, i have a same problem today.
Help Please!

By



"Vicior" <vicior@elpunto.neostrada.pl> wrote in message
news:cjcja5$5al$1@atlantis.news.tpi.pl...
> known bug in vgcreate and vgextend command. patch not available yet, but
> soon...
>
>
>
> Użytkownik "Joerg Mauz" <Joerg_MauzREMOVETHIS@abs.org> napisał w
wiadomości
> news:4145ef07$1@news.pironet-ndh.com... 
> 35003. 
>
>







[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
John


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-03-04 01:45 AM

Emanuele wrote:
> hi, i have a same problem today.
> Help Please!

As was suggested further up the thread, try adding -s 8 into your
vgcreate command.

e.g. vgcreate -s 8 /dev/vg17 /dev/dsk/c19t9d0 ...





[ Post a follow-up to this message ]



    Re: vgcreate hangs !  
abcdef


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-26-04 10:45 PM

use vgcreate with the -e option. this will work.

vgcreate -e XXXXX /dev/vgX /dev/dsk/c1t1d0.

"Vicior" <vicior@elpunto.neostrada.pl> wrote in message
news:cjcja5$5al$1@atlantis.news.tpi.pl...
> known bug in vgcreate and vgextend command. patch not available yet, but
> soon...
>
>
>
> Użytkownik "Joerg Mauz" <Joerg_MauzREMOVETHIS@abs.org> napisał w
wiadomości
> news:4145ef07$1@news.pironet-ndh.com... 
> 35003. 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:06 AM.      Post New Thread    Post A Reply      
Pages (2): [1] 2 »   Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register