[one-users] Persistent image problem
Stuart Kenny
stuart.kenny at scss.tcd.ie
Fri Aug 31 08:05:41 PDT 2012
Hi, I have an image in a qcow datastore that I want to make persistent.
The datastore configuration is below:
DATASTORE 102 INFORMATION
ID : 102
NAME : ops-gw-qcow
USER : oneadmin
GROUP : ops
CLUSTER : -
DS_MAD : fs
TM_MAD : qcow2
BASE PATH : /var/lib/one/datastores/102
The image configuration is:
IMAGE 10 INFORMATION
ID : 10
NAME : SL 5.8
USER : oneadmin
GROUP : ops
DATASTORE : ops-gw-qcow
TYPE : OS
REGISTER TIME : 08/02 15:25:50
PERSISTENT : Yes
SOURCE :
/var/lib/one/datastores/102/35b27eaab7c131bef8a2a3bd635cfc5d
FSTYPE : save_as
SIZE : 3775
STATE : rdy
RUNNING_VMS : 0
When I shutdown the VM I get the following log messages, which say that
the image is being copied from the system datastore. The image in the
system datastore is just a link however.
Fri Aug 31 15:33:30 2012 [LCM][I]: New VM state is EPILOG
Fri Aug 31 15:33:54 2012 [TM][I]: mvds: Moving
/var/lib/one/datastores/0/25/disk.0 to datastore as
/var/lib/one/datastores/102/35b27eaab7c131bef8a2a3bd635cfc5d
Fri Aug 31 15:33:54 2012 [TM][I]: ExitCode: 0
Fri Aug 31 15:33:54 2012 [TM][I]: delete: Deleting
/var/lib/one/datastores/0/25
Fri Aug 31 15:33:54 2012 [TM][I]: ExitCode: 0
Fri Aug 31 15:33:54 2012 [DiM][I]: New VM state is DONE
The original image is now overwritten with some small file, and I have
lost my image:
ls -alh /var/lib/one/datastores/102/35b27eaab7c131bef8a2a3bd635cfc5d
-rw-r----- 1 oneadmin oneadmin 256K Aug 31 15:33
/var/lib/one/datastores/102/35b27eaab7c131bef8a2a3bd635cfc5d
Is it possible to have a persistent qcow image?
Thanks,
Stuart.
More information about the Users
mailing list