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!

Can't extend volume group 1

Status
Not open for further replies.

reclspeak

IS-IT--Management
Dec 6, 2002
57
GB
Hi!

I am hitting an undefined snag when trying to add a 13GB Hitachi LUN to an already-established volume group.

The volume will work with a new volume group no problem.

Here's the error;

0516-008 extendvg: LVM system call returned an unknown
error code (-1).
0516-792 extendvg: Unable to extend volume group.

# oslevel -r
5200-08

The volume group is described as;

# lsvg vg_data1
VOLUME GROUP: vg_data1 VG IDENTIFIER: 0057c64a00004c000000010
ccf5f663c
VG STATE: active PP SIZE: 32 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 7364 (235648 megabytes)
MAX LVs: 256 FREE PPs: 51 (1632 megabytes)
LVs: 8 USED PPs: 7313 (234016 megabytes)
OPEN LVs: 8 QUORUM: 12
TOTAL PVs: 22 VG DESCRIPTORS: 22
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 22 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable

I'm upto 22 volumes on the volume group to date.

No error is logged. I've done chdev -l hdisk<x> -a pv=clear
and "yes" in case it had been somehow used before, and sync'd the odm with the current disks with "synclvodm" but to no apparent change.

This is one of those drive you "bonkers" snags. Anyone else any clues or fixes or suggested line for me to pursue.


Many thanks

recl
 
maybe try creating a test volume group using that new lun, to see if the problem is linked to your vg_data1 volume group.

if it works ok, remove the test VG, clear the pvid on the lun and try re-adding it to vg_data1.

 
Yes, I've tried that...and annoyingly the new volume works absolutely fine with a new volume group, but not with the existing one.

recl
 
Hi dial8d,

That's a good one to keep. The (-271) error seems to have a few possible fixes. However my error (-1) really seems to be an oddity.

I do though have a stuffed Hitachi DLM installation and I suspect I should be using that for extending. Trying with the approprimate dlmfd device driver produces an additional error;

Method error (/usr/lib/methods/chgdlmfdrv):
0514-043 Error getting or assigning a minor number.

0516-008 extendvg: LVM system call returned an unknown
error code (-1).
0516-792 extendvg: Unable to extend volume group.

So I am going to pursue this line for a bit.


Thanks

recl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top