cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YUAN, GUI -HBIS" <yuan-...@hbis.com.cn>
Subject RE: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
Date Tue, 27 Jan 2015 01:48:54 GMT
KVM-DISKDATA的大小可以调,只是调完了有时候VM不认。
昨天,我的VM(Win2003)下试了,不知道问题出现在哪。
刚开始从5G调到20G,再调到100G,都是可以的。当时把磁盘设置成了动态磁盘。
然后,再往下调就失败,再往上调到110G后,VM(Win2003)下就显示脱机,重新激活也没用,怎么都访问不了了。

因为没有什么数据,所以也就没去分析LOG。
如果不麻烦的话,还是追加新的卷,然后把数据复制过去的合适;
或者先做好快照,必要时候可以恢复数据,如果通过快照恢复卷能选择大小的话,就好了。

>-----Original Message-----
>From: wangyuyang1985@163.com [mailto:wangyuyang1985@163.com]
>Sent: Tuesday, January 27, 2015 9:25 AM
>To: users-cn
>Subject: Re: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
>
>cloudstack对QCOW2这种类型支持调整存储卷吗?
>
>
>
>
>wangyuyang1985@163.com
>
>发件人: Peration
>发送时间: 2015-01-27 09:06
>收件人: users-cn
>主题: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
>调整卷大小失败,缩小卷大小 提示 Failed to resize volume‍
>
>
>2015-01-27 08:52:22,745 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(catalina-exec-10:ctx-29557584 ctx-627f0aaf) submit async job-136,
>details: AsyncJobVO {id:136, userId: 2, accountId: 2, instanceType:
>Volume, instanceId: null, cmd:
>org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd,
>cmdInfo:
>{"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessi
>onkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEven
>tType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"142231
>9924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931
>-f6b2d5bed62a","ctxStartEventId":"285"}, cmdVersion: 0, status:
>IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
>271133592152661, completeMsid: null, lastUpdated: null, lastPolled: null,
>created: null}
>2015-01-27 08:52:22,747 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
>(Job-Executor-1:ctx-8420fd25) Add job-136 into job monitoring
>2015-01-27 08:52:22,747 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(Job-Executor-1:ctx-8420fd25) Executing AsyncJobVO {id:136, userId: 2,
>accountId: 2, instanceType: Volume, instanceId: null, cmd:
>org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd,
>cmdInfo:
>{"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessi
>onkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEven
>tType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"142231
>9924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931
>-f6b2d5bed62a","ctxStartEventId":"285"}, cmdVersion: 0, status:
>IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid:
>271133592152661, completeMsid: null, lastUpdated: null, lastPolled: null,
>created: null}
>2015-01-27 08:52:22,752 DEBUG [c.c.a.ApiServlet]
>(catalina-exec-10:ctx-29557584 ctx-627f0aaf) ===END===  192.168.121.1
>-- GET
>command=resizeVolume&id=f59ea020-f2c5-4298-9fe1-423309491572&shrinkok
>=true&diskofferingid=786fc68f-e14c-42dc-a931-f6b2d5bed62a&response=js
>on&sessionkey=GWJFo5AhFePwOQTzbWN0Ve1XTFg%3D&_=1422319924146
>2015-01-27 08:52:22,831 DEBUG [c.c.a.t.Request]
>(Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Seq 1-1245446166: Sending
>{ Cmd , MgmtId: 271133592152661, via: 1(cloudstack.cloud.priv), Ver: v1,
>Flags: 100011,
>[{"com.cloud.agent.api.storage.ResizeVolumeCommand":{"path":"f59ea020
>-f2c5-4298-9fe1-423309491572","pool":{"id":1,"uuid":"933404b7-c735-44
>aa-a374-6bc61ea206fd","host":"192.168.121.3","path":"/var/lib/libvirt
>/images","port":0,"type":"Filesystem"},"vmInstance":"i-2-133-VM","new
>Size":1073741824,"currentSize":3221225472,"shrinkOk":true,"wait":0}}]
> }
>2015-01-27 08:52:22,858 DEBUG [c.c.a.t.Request]
>(AgentManager-Handler-9:null) Seq 1-1245446166: Processing:  { Ans: ,
>MgmtId: 271133592152661, via: 1, Ver: v1, Flags: 10,
>[{"com.cloud.agent.api.storage.ResizeVolumeAnswer":{"newSize":0,"resu
>lt":false,"details":"Unable to shrink volumes of type
>QCOW2","wait":0}}] }
>2015-01-27 08:52:22,858 DEBUG [c.c.a.t.Request]
>(Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Seq 1-1245446166: Received:
>{ Ans: , MgmtId: 271133592152661, via: 1, Ver: v1, Flags: 10,
>{ ResizeVolumeAnswer } }
>2015-01-27 08:52:22,868 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl]
>(Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Unsupported data object
>(VOLUME,
>org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@4d3d9207
>), no need to delete from object in store ref table
>2015-01-27 08:52:22,868 WARN  [c.c.s.VolumeApiServiceImpl]
>(Job-Executor-1:ctx-8420fd25 ctx-627f0aaf) Failed to resize the volume
>Vol[133|vm=133|DATADISK]
>2015-01-27 08:52:22,879 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(Job-Executor-1:ctx-8420fd25) Complete async job-136, jobStatus: FAILED,
>resultCode: 530, result:
>org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList"
>:[],"errorcode":530,"errortext":"Failed to resize volume"}
>2015-01-27 08:52:22,903 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
>(Job-Executor-1:ctx-8420fd25) Done executing
>org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd for
>job-136‍
>
>‍

Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and may be protected
by law against any unauthorized use.  If you have received this e-mail by mistake or have
reason to believe that you are not the intended recipient, please notify the sender by reply
e-mail as soon as possible and delete it from your computer system immediately thereafter.
If you are not the intended recipient, you must not copy this e-mail or attachment or disclose
the contents to any other person.  While we have made every effort to keep our network virus
free,
we take no responsibility for any computer virus which might be transferred by way of this
e-mail.

Mime
View raw message