Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

shared physical disk across volume groups

 
SOLVED
Go to solution
gchishol
Occasional Visitor

shared physical disk across volume groups

Hi,

I have an existing cluster with an existing package. I wish to insert a new  package, using a new volume group. However I wish to use the existing physical disks for the new volume group. I.e. I will have the same physical disk included in two volume groups.

 

when I give the command to create the new volume group, I get an error

 

mdtias2 (root) /dev/vg_NEW (TI) # vgcreate vg_NEW /dev/dsk/c4t4d0
Increased the number of physical extents per physical volume to 8683.
vgcreate: The physical volume "/dev/dsk/c4t4d0" is already recorded in the "/etc/lvmtab" file.

 

because I assume it is already used by vg_MDSO :

 

VG Name /dev/vg_MDSO
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 4
Open LV 4
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 17501
VGDA 2
PE Size (Mbytes) 4
Total PE 8681
Alloc PE 4750
Free PE 3931
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg_MDSO/lvol1
LV Status available/stale
LV Size (Mbytes) 4000
Current LE 1000
Allocated PE 2000
Used PV 1

 

LV Name /dev/vg_MDSO/lvol2
LV Status available/stale
LV Size (Mbytes) 6000
Current LE 1500
Allocated PE 3000
Used PV 1

LV Name /dev/vg_MDSO/lvol3
LV Status available/stale
LV Size (Mbytes) 8000
Current LE 2000
Allocated PE 4000
Used PV 1

LV Name /dev/vg_MDSO/lvol4
LV Status available/stale
LV Size (Mbytes) 1000
Current LE 250
Allocated PE 500
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c4t4d0
PV Status available
Total PE 8681
Free PE 3931
Autoswitch On

 

 

Anybody help ?

 

Thanks in Advance

 

Gordon

 

2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: shared physical disk across volume groups

A physical disk can NOT belong to more than one volume group. 

gchishol
Occasional Visitor

Re: shared physical disk across volume groups

Thanks.

 

G.