[one-users] onevm saveas command
Prakhar Srivastava
prakhar.apj at gmail.com
Wed Apr 27 01:53:26 PDT 2011
Hi,
When I run the command,
onevm saves VMID DISKID IMAGENAME
the image of the disk is successfully saved upon shutdown of the VM, however
the the file with a hash string name in (/srv/cloud/one/var/images) is not
created. So when I use the image in any VM, it compains that the file cannot
be found in /srv/cloud/one/var/images.
Tue Apr 26 20:59:36 2011 [LCM][I]: New VM state is SHUTDOWN
Tue Apr 26 20:59:44 2011 [LCM][I]: New VM state is EPILOG
Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Moving
/srv/cloud/one/var//90/images/disk.0
Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh box1
mkdir -p /srv/cloud/one/var/90".
Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/scp -r
192.168.145.116:/srv/cloud/one/var//90/images/disk.0
box1:/srv/cloud/one/var/90/disk.0".
Tue Apr 26 21:01:15 2011 [TM][I]: tm_mv.sh: Executed "/usr/bin/ssh
192.168.145.116 rm -rf /srv/cloud/one/var//90/images/disk.0".
Tue Apr 26 21:01:16 2011 [TM][I]: tm_delete.sh: Deleting
/srv/cloud/one/var//90/images
Tue Apr 26 21:01:16 2011 [TM][I]: tm_delete.sh: Executed "/usr/bin/ssh
192.168.145.116 rm -rf /srv/cloud/one/var//90/images".
Tue Apr 26 21:01:16 2011 [DiM][I]: New VM state is DONE
Isn't the image supposed to be registered during the save process.
Anyhow I am able to use the image by using a template file providing the
source as the disk image saved and then registering it with a different
name.
Please advice.
Prakhar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110427/1251fe0e/attachment-0002.htm>
More information about the Users
mailing list