1748210 Members
2805 Online
108759 Solutions
New Discussion юеВ

Re: lvcreate error

 
Neale Ainscow
Occasional Advisor

lvcreate error

I'm trying to create a new lv on an existing vg.
When I type "lvcreate -n xxxxx /dev/vg_ops" i get an error of "unable to create logical volume: argument of out domain"

Please can anyone help
7 REPLIES 7
Scott Van Kalken
Esteemed Contributor

Re: lvcreate error

you need to specify a size for the logical volume.

This can be in MB (mostly I use this one) or physical extents.

try it using the -L 1024 (for 1 gig)

Scott.
Neale Ainscow
Occasional Advisor

Re: lvcreate error

I am trying to create the an lv of zero size and then use lvextend to extend it afterwards.

Cheers

Neale
Scott Van Kalken
Esteemed Contributor

Re: lvcreate error

Hmmm....

That's really weird.

In that case you should be able to do it.

I just did on one of my boxes.

stupid question, but do all of the correct things for the VG exist?

Sridhar Bhaskarla
Honored Contributor

Re: lvcreate error

Hi,

This is a fairly straight forward command. I would suggest to install the latest LVM command patch PHCO_24437 if yours is 11.0

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: lvcreate error

Hi Neale,

Suggest you should look into the LVM kernel and command patches for the version of hp-ux you have on the system.

Hope this helps.

Regds
Indrajit Bhagat
Regular Advisor

Re: lvcreate error

Please check MAX LV & Cur LV Numbers, I hope both would be same, due to which you are not able to create any new logical volume.

 

In this case, you can create an new volume group and then create an volume.

 

Please give points, if this given suggestion would help you.

 

Regards

Indrajit Bhagat

Torsten.
Acclaimed Contributor

Re: lvcreate error

After 11 years the problem should be solved ...

 

;-)


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!