[one-users] Ceph snapshot

Fabian Zimmermann dev.faz at gmail.com
Fri Jan 16 04:59:39 PST 2015


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


More information about the Users mailing list