LVM and VxVM

Re: vxvm:vxassist: ERROR: Cannot allocate space to replace subdisks

 
Vreriks Marcel
Frequent Advisor

vxvm:vxassist: ERROR: Cannot allocate space to replace subdisks

Hello,
I want to evacuate a 17 Gb disk to a new 68 Gb disk and get the following error:
/etc/vx/bin/vxevac -g prdar1_prcm10_dg -t taskid_100 prdar1_prcm10_dg00 prdar1_prcm10_dg24
vxvm:vxassist: ERROR: Cannot allocate space to replace subdisks
vxevac: Aborting disk evacuation

The diskgroup prdar1_prcm10_dg is a striped diskgroup which contains 6 x 17 Gb disks.
We want to replace these disks with 6 x 68 Gb disks.
We always use "evacuate disk" to replace the old disk but today we get this error messages.

Before we do a evacuate the 17 Gb disk is 97% in use and the new disk 0%. After the evacuate failed the 17 Gb disk 62% in use and the new 68 Gb disk 8% in use.

We are using veritas 3.5 on HP-UX 11.23 PA-RISK system.
Why get we this error messages? There is enough free space on the disks and how can I explain that two of the four volumes are evacuated to the new disk and the other two doesn't?

4 REPLIES 4
Kapil Jha
Honored Contributor

Re: vxvm:vxassist: ERROR: Cannot allocate space to replace subdisks

http://seer.support.veritas.com/docs/258911.htm
may help you!!!
BR,
Kapil
I am in this small bowl, I wane see the real world......
Vreriks Marcel
Frequent Advisor

Re: vxvm:vxassist: ERROR: Cannot allocate space to replace subdisks

Hello Kapil,

Iám evacuate a 17Gb (c24t2d0) disk to a 68Gb (c29t5d1) disk. The public len is four (4) times greater then the old one. See vxdisk list below:

[db1005]/databases/PRDK10/adump# vxdisk list c24t2d0
Device: c24t2d0
devicetag: c24t2d0
type: simple
clusterid: prdrac
disk: name=prdar1_prcm10_dg00 id=1183359528.10742.db1006
group: name=prdar1_prcm10_dg id=1127399730.2828.db1005
flags: online ready private autoconfig shared autoimport imported
pubpaths: block=/dev/vx/dmp/c24t2d0 char=/dev/vx/rdmp/c24t2d0
version: 2.2
iosize: min=1024 (bytes) max=256 (blocks)
public: slice=0 offset=1280 len=17851840
private: slice=0 offset=128 len=1024
update: time=1201698403 seqno=0.24
headers: 0 248
configs: count=1 len=727
logs: count=1 len=110
Defined regions:
config priv 000017-000247[000231]: copy=01 offset=000000 disabled
config priv 000249-000744[000496]: copy=01 offset=000231 disabled
log priv 000745-000854[000110]: copy=01 offset=000000 disabled
lockrgn priv 000855-000919[000065]: part=00 offset=000000
Multipathing information:
numpaths: 2
c24t2d0 state=enabled
c27t2d0 state=enabled
[db1005]/databases/PRDK10/adump# vxdisk list c29t5d1
Device: c29t5d1
devicetag: c29t5d1
type: simple
clusterid: prdrac
disk: name=prdar1_prcm10_dg24 id=1201778976.20306.db1005
group: name=prdar1_prcm10_dg id=1127399730.2828.db1005
info: privoffset=128
flags: online ready private autoconfig shared autoimport imported
pubpaths: block=/dev/vx/dmp/c29t5d1 char=/dev/vx/rdmp/c29t5d1
version: 2.2
iosize: min=1024 (bytes) max=256 (blocks)
public: slice=0 offset=1280 len=71419840
private: slice=0 offset=128 len=1024
update: time=1201778996 seqno=0.5
headers: 0 248
configs: count=1 len=727
logs: count=1 len=110
Defined regions:
config priv 000017-000247[000231]: copy=01 offset=000000 enabled
config priv 000249-000744[000496]: copy=01 offset=000231 enabled
log priv 000745-000854[000110]: copy=01 offset=000000 enabled
lockrgn priv 000855-000919[000065]: part=00 offset=000000
Multipathing information:
numpaths: 2
c29t5d1 state=enabled
c31t5d1 state=enabled


Thanks for your suggestion but I think this is not the issue.

Marcel
Kapil Jha
Honored Contributor

Re: vxvm:vxassist: ERROR: Cannot allocate space to replace subdisks

Hi ,
Have you read the link?
"Unable to evacuate, mirror, or replace disks with VERITAS Volume Manager (tm) 3.2 or 3.5 if disks have been initialized under Volume Manager 3.1. "

Is this the case with you.

From vxdisk list i can only see one difference but I am not sure of that.
config priv 000017-000247[000231]: copy=01 offset=000000 disabled
config priv 000249-000744[000496]: copy=01 offset=000231 disabled
log priv 000745-000854[000110]: copy=01 offset=000000 disabled

in target disk it is disables.
Gurus can any one through some light on this.
BR,
Kapil
I am in this small bowl, I wane see the real world......
chris huys_4
Honored Contributor

Re: vxvm:vxassist: ERROR: Cannot allocate space to replace subdisks

Hi Marcel,

Think you better open a support case. ;) (but first go to vxvm 4.1 ;))

Best Regards,
Chris