[one-users] can not create a snapshot of the disk (Volatile Disk)

Ruben S. Montero rsmontero at opennebula.org
Wed Jun 26 09:55:44 PDT 2013


Hi

The logs corresponds to the snapshot-create operation and not
disk-snapshot. The kvm plugin (/var/tmp/one/vmm/kvm/snapshot_create)
referred in your logs is for a system snapshot. KVM requires qcow format as
the system snapshot information is stored in the qcow file. You need to use
qcow and not raw format to take system VM snapshots.

The disk-snapshot functionality does not require that, could you send the
logs for that operation if it is failing for you?...

Cheers

Ruben


On Tue, Jun 25, 2013 at 9:31 AM, Alexandr Baranov
<telecastcloud at gmail.com>wrote:

> Hi I use Nebula version 4.0.1 + KVM hypervisor. Faced with a problem:
> I can not create a snapshot of the disk (Volatile Disk).
>
> $ onevm show 30
>
> VIRTUAL MACHINE 30 INFORMATION ID : 30 NAME : vm145 USER : oneadmin GROUP
> : oneadmin
>
> : ACTIVE
>
> STATE
>
> LCM_STATE : BOOT_STOPPED RESCHED : No HOST : 159.93.**.* START TIME :
> 06/21 16:25:22 END TIME : -DEPLOY ID : one-30
>
> VIRTUAL MACHINE MONITORING
>
> : 15.1M
>
> NET_RX
>
> USED CPU : 1 NET_TX : 578K USED MEMORY : 1G
>
> PERMISSIONS OWNER : um-GROUP : ---OTHER : ---
>
> VM DISKS ID TARGET IMAGE
>
> 0 hdb SL-6.4-x86_64
>
> 1 hdc ext4 - 10G
>
> 2 hdd 1024M
>
> VM NICS ID NETWORK VLAN BRIDGE
>
> 0 Public no br0
>
> fe80::400:9fff:fe5d:2492
>
> VIRTUAL MACHINE HISTORY
>
> ACTION
>
> SEQ HOST
>
> 0 159.93.**.* suspend
>
> 1 159.93.**.* stop
>
> 2 159.93.**.* stop
>
> 3 159.93.**.* stop
>
> 4 159.93.**.* none
>
> USER TEMPLATE ERROR="Mon Jun 24 17:39:28 2013 : Error creating new VM
> Snapshot: Could not create snapshot for domain one-30."
> SCHED_REQUIREMENTS="ID=\"2\""
>
> VIRTUAL MACHINE TEMPLATE AUTOMATIC_REQUIREMENTS="CLUSTER_ID = 101"
> CONTEXT=[ DISK_ID="3", ETH0_DNS="159.93.**.*", ETH0_GATEWAY="159.93.36.1",
> ETH0_IP="159.93.**.***", TARGET="hda" ] CPU="1" GRAPHICS=[
> LISTEN="0.0.0.0", PORT="5930", TYPE="VNC" ] MEMORY="1024" NAME="one-30"
> OS=[ ARCH="x86_64", BOOT="cdrom" ] TEMPLATE_ID="21" VMID="30"
>
> $onevm disk-snapshot 30 1 sl_image
>
> The logs opennebula recorded the following message:
>
> Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG I 30 Command
> execution fail: 'if [-x "/var /tmp / one / vmm / kvm / snapshot_create"];
> then / var / tmp / one / vmm / kvm /snapshot_create one-30 0 30
> 159.93.**.*; else exit 42; fi '
>
> Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG I 30 error:
> unsupported configuration: internal snapshot for disk hdc unsupported for
> storage type raw
>
> Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG E 30 Could not
> create snapshot for domain one-30.
>
> Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: LOG I 30 ExitCode:
> 255
>
> Mon Jun 24 17:23:32 2013 [VMM] [D]: Message received: SNAPSHOTCREATE
> FAILURE 30 Could not create snapshot for domain one-30.
>
> Mon Jun 24 17:23:33 2013 [AuM] [D]: Message received: LOG I 989 ExitCode: 0
>
> Mon Jun 24 17:23:33 2013 [AuM] [I]: ExitCode: 0 Mon Jun 24 17:23:33 2013
> [AuM] [D]: Message received: AUTHENTICATE SUCCESS 989 -
>
> To test the performance commands "nevm disk-snapshot". I downloaded and
> deployed the image of the Market "ttylinux - kvm". Disk from a virtual
> machine deployed with this image - is maintained.
>
> Question: this is a bug or a game developer that is not saved to the disk
> type (Volatile Disc)?
> Alexandr,
> JINR
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130626/717434e4/attachment-0002.htm>


More information about the Users mailing list