Hi,
I am trying fs_lvm “new” datastore on one-5.2 (single node for the moment).
Deploy is working fine, but I have 2 questions:
- on terminate, image file are stored in “raw” format, not qcow 2 ? - they are store initially in qcow2, they were downloaded from appmarket, and I verified with qemu-img info. Is there a variable missing ?
See one one the image info:
[root@one-2 ~]# oneimage show 8
IMAGE 8 INFORMATION
ID : 8
NAME : Front - Varnish - nginx-disk-0
USER : oneadmin
GROUP : oneadmin
DATASTORE : images
TYPE : OS
REGISTER TIME : 11/03 14:34:56
PERSISTENT : Yes
SOURCE : /var/lib/one//datastores/101/c8a421a8121ec770bd20440842c6922c
PATH : /var/lib/one//datastores/101/939628485af7d27998ed54d42e5b6225
FSTYPE : qcow2
SIZE : 8G
STATE : used
RUNNING_VMS : 1
PERMISSIONS
OWNER : um-
GROUP : ---
OTHER : ---
IMAGE TEMPLATE
DEV_PREFIX="vd"
FROM_APP="47"
FROM_APP_NAME="CentOS 7.2 - KVM"
FSTYPE="qcow2"
MD5="eef00404ef9c2c347bb7d674d4b6eb9c"
VIRTUAL MACHINES
ID USER GROUP NAME STAT UCPU UMEM HOST TIME
16 oneadmin oneadmin Front - Varnish runn 1.0 2G localhost 3d 12h21
[root@one-2 ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- 25.00g
var centos -wi-ao---- 20.00g
var_log centos -wi-ao---- 20.00g
lv-one-10-0 vg-one-100 twi-aotz-- 8.00g 0.00 0.54
lv-one-12-0 vg-one-100 twi-aotz-- 1.00g 0.00 0.88
lv-one-16-0 vg-one-100 twi-aotz-- 8.00g 0.00 0.54
lv-one-21-0 vg-one-100 twi-aotz-- 8.00g 0.00 0.54
lv-one-9-0 vg-one-100 twi-aotz-- 8.00g 0.00 0.54
- On two+ nodes, if the hypervisor crash, what is happening to VM, in this configuration ?
How does a new (respawn) VM can boot using the LV on another HV without any loss of data ?
Thank you
Nicolas.