[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt-users] save / restore RAM state - Problem



Hi all,

i am trying (test) to save / restore a state of a winxp virtual machine.
Perhaps i am missing that i can not restore save image to LVM partition.

"error: Failed to read file '/root/winxp.save': Value too large for
defined data type"

Below are my settings

libvirt 0.9.13
qemu-kvm 1.1.1



# virsh
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # list
 Id    Name                           State
----------------------------------------------------
 3     winxp                          running

virsh # save winxp /root/winxp.save

Domain winxp saved to /root/winxp.save

virsh # list
 Id    Name                           State
----------------------------------------------------

virsh # list --all
 Id    Name                           State
----------------------------------------------------
 -     winxp                          shut off

virsh # restore winxp /root/winxp.save
error: Failed to read file '/root/winxp.save': Value too large for
defined data type

# du -h /root/winxp.save
278M	/root/winxp.save

# virsh dumpxml winxp | more
<domain type='kvm'>
  <name>winxp</name>
  <uuid>b528a71f-aca1-5024-c460-892100b97ef2</uuid>
  <memory unit='KiB'>1597440</memory>
  <currentMemory unit='KiB'>1048576</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='x86_64' machine='pc-1.1'>hvm</type>
    <boot dev='hd'/>
  </os>



  --- Logical volume ---
  LV Path                /dev/vg01/winxp
  LV Name                winxp
  VG Name                vg01
  LV UUID                hrXdl6-oRMC-dl7l-mkad-SSDl-y1hf-1Q1MPp
  LV Write Access        read/write
  LV Creation host, time mywork, 2012-03-16 10:54:08 +0200
  LV Status              available
  # open                 0
  LV Size                5.00 GiB
  Current LE             1280
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4


-- 
Evaggelos Balaskas - Unix System Engineer
http://gr.linkedin.com/in/evaggelosbalaskas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]