resize failed for vhds not created by xen

Bug #1642857 reported by Jianghua Wang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
os-xenapi
Confirmed
Undecided
Unassigned

Bug Description

Nov 17 15:13:04 xrtmia-03-02 SM: [31220] ['/usr/bin/vhd-util', 'resize', '--debug', '-s', '81920', '-n', '/var/run/sr-mount/19e8e4e4-7fd1-cede-236e-b04738c2cce1/4269ddf0-84d4-4871-9739-58ebb6ba6af7.vhd', '-j', '.journal-4269ddf0-84d4-4871-9739-58ebb6ba6af7']
Nov 17 15:13:04 xrtmia-03-02 SM: [31220] FAILED in util.pread: (rc 22) stdout: '/var/run/sr-mount/19e8e4e4-7fd1-cede-236e-b04738c2cce1/4269ddf0-84d4-4871-9739-58ebb6ba6af7.vhd not created by xen; resize not supported

Per the test, if enabled image caching feature, it can work: it will keep the original vhd; create a new child vhd and then resize the child one. Maybe we can supply a quick fix by always create child vhd regardless if image caching is enabled or not.

Revision history for this message
Michal Adamczyk (vanditboy) wrote :

Hi,

We have the same issue!

Mitaka on RDO, XenServer 7 with all patches applied.

Kind regards,
Michal.

Changed in os-xenapi:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.