Hi John,
Many thanks for your help.

Why don't we allow to set allowed-operations to RW mode in vdi so that I can 
define the operation myself in creating vdi? 
[root@xcp1 ~]# xe vdi-param-list
allowed-operations (SRO): clone; snapshot 

Thanks



Ray

From: John Else
Date: 2013-12-14 00:15
To: 石磊
CC: xen-api
Subject: RE: 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

John 
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to