Hi,

Am 22.10.14 um 10:42 schrieb Ruben S. Montero:
> They should be supported for RBD 2 images, you may want to take a look to
> the actual cloning process in tm/ceph/clone
looks like /var/lib/one/remotes/tm/ceph/cpds is used in case of a hot
hdd-snapshot.

Here my datastore-template
--
DATASTORE 100 INFORMATION
ID             : 100
NAME           : ceph-one
USER           : oneadmin
GROUP          : oneadmin
CLUSTER        : -
TYPE           : IMAGE
DS_MAD         : ceph
TM_MAD         : ceph
BASE PATH      : /var/lib/one//datastores/100
DISK_TYPE      : RBD

DATASTORE CAPACITY
TOTAL:         : 9.8T
FREE:          : 9.7T
USED:          : 118.8G
LIMIT:         : -

PERMISSIONS
OWNER          : um-
GROUP          : u--
OTHER          : ---

DATASTORE TEMPLATE
BASE_PATH="/var/lib/one//datastores/"
BRIDGE_LIST="virt17 virt18"
CEPH_HOST="10.0.29.0 10.0.29.1 10.0.29.2"
CEPH_SECRET="x-x-x-x-x"
CEPH_USER="libvirt"
CLONE_TARGET="SELF"
DISK_TYPE="RBD"
DS_MAD="ceph"
LN_TARGET="NONE"
POOL_NAME="one"
RBD_FORMAT="2"
TM_MAD="ceph"
TYPE="IMAGE_DS"
--

Should one use this script to create a hot snapshot?

If yes, is it a good idea to reuse the

if RBD_FORMAT=2
then
   clone
else
  copy

system of tm/ceph/clone in tm/ceph/cpds or may this lead to other problems?

Thanks,

Fabian
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to