[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] How to disallow snapshot vdi when taking a snapshot to vm

  • To: çç <blackstn10@xxxxxxxxx>
  • From: John Else <john.else@xxxxxxxxxx>
  • Date: Fri, 13 Dec 2013 16:15:17 +0000
  • Accept-language: en-GB, en-US
  • Cc: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 13 Dec 2013 16:15:31 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHO+AMDAc0QjkQL80CgUxQbwY/6xZpSSIL/gAABmHA=
  • Thread-topic: RE: [Xen-API] How to disallow snapshot vdi when taking a snapshot to vm

> Hi John,
> If so, How to revert it?

Hi Ray,

There's no automated way of reverting a single disk - you'll have to go through 
these steps:

- Shut down the VM
- clone the snapshot you want to revert to (xe vdi-clone)
- note the userdevice of the VBD connecting the VM to its disk, then destroy 
the VBD
- create a VBD (with the same device number as the VBD you just destroyed) 
connecting the VM to the cloned snapshot
- (optionally) delete the disk you just disconnected from the VM

Xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.