Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

0516-018 lcreatelv error 2

Status
Not open for further replies.

gatetec

MIS
Mar 22, 2007
420
US
I am getting this error:

mklv -y 'dtrain1_0000126' -w n -t 'raw' train1vg 1 hdisk15
0516-018 lcreatelv: No more logical volumes can be created; the maximum number has been reached. Use a different volume group. 0516-822 mklv: Unable to create logical volume.

lsvg train1vg
VOLUME GROUP: train1vg VG IDENTIFIER: 0002b6510000d600000
00117835b1998
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 6906 (220992 megaby
tes)
MAX LVs: 256 FREE PPs: 5488 (175616 megaby
tes)
LVs: 255 USED PPs: 1418 (45376 megabyt
es)
OPEN LVs: 255 QUORUM: 4
TOTAL PVs: 6 VG DESCRIPTORS: 6
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 6 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 2032 MAX PVs: 16
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY:
relocatable

The number of LVs are below 256, but I tried to change the MAX LVs to 512, which returns:

0516-1616 chvg: This operation is only valid for scalable volume groups.
0516-732 chvg: Unable to change volume group train1vg.

What is the issue and the fix?

thx much
 
I'm guessing the VG keeps one slot in the LV table to create a log-lv for filesystems?

As you have plain-old 32-PV VG, the operation to increase max LVs is not valid. That is only for Scalable VGs.

What is stopping you from creating another VG and continuing your LV creation there?


HTH,

p5wizard
 

Ermm... You've hit the limit of 255 LVs. Please post `lsvg -l train1vg`

I think you can convert a VG to be scalable. Never done it though
 
Thanks much, I got it now.

chvg -B takes care of the issue for me.

thx much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top