All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Prof. Dr. Michael Schefczyk" <michael@schefczyk.net>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)
Date: Wed, 19 Nov 2014 11:48:15 +0000	[thread overview]
Message-ID: <2A6E6B95B6E5C146ACE8440760E58185BDC31C70@EXCHANGESERVER.schefczyk.local> (raw)
In-Reply-To: <546C8200.4070800@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 3897 bytes --]

Dear Paolo,

Thank you very much. To execute the backup, I run a script. For the machine in question, it looks as follows:

#!/bin/bash
dt=`date +%y%m%d`
qemu-img snapshot -c gatewayb72 /kvm02/gatewayb72.img
qemu-img convert  -f qcow2 -O qcow2 /kvm02/gatewayb72.img /backup/gatewayb72$dt.img
qemu-img snapshot -d gatewayb72 /kvm02/gatewayb72.img
/bin/find /backup/* -mtime +100 -exec rm {} \;

Regards,

Michael


-----Ursprüngliche Nachricht-----
Von: Paolo Bonzini [mailto:pbonzini@redhat.com] 
Gesendet: Mittwoch, 19. November 2014 12:42
An: Prof. Dr. Michael Schefczyk; qemu-devel
Betreff: "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request)



On 19/11/2014 12:39, Prof. Dr. Michael Schefczyk wrote:
> Dear Paolo,
> 
> thank you very much for your prompt reply.

Hi,

please keep the replies on the mailing list.  I've added the qemu-devel mailing list, where more people should be able to see the message and hopefully reply with something helpful.

Also, how do you do the backups?

Paolo

> For example, I have a guest named "gatewayb72.img" where the backup failed. If I thereafter try to create or delete a snapshot, the following reply occurs on the command line:
> 
> 
> [root@linuxhost2 kvm02]# qemu-img snapshot -d gatewayb72 
> /kvm02/gatewayb72.img
> qemu-img: Could not open '/kvm02/gatewayb72.img': Could not read 
> snapshots: File too large
> 
> 
> If I want to reboot that machine, I get the following error:
> 
> 
> Fehler beim Starten der Domain: Interner Fehler: Prozess wurde während 
> der Verbindungsaufnahme zum Monitor beendet : qemu-kvm: -drive 
> file=/kvm02/gatewayb72.img,if=none,id=drive-virtio-disk0,format=qcow2,
> cache=none: could not open disk image /kvm02/gatewayb72.img: Could not 
> read snapshots: File too large
> 
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 122, in tmpcb
>     callback(*args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/domain.py", line 1220, in startup
>     self._backend.create()
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 698, in create
>     if ret == -1: raise libvirtError ('virDomainCreate() failed', 
> dom=self)
> libvirtError: Interner Fehler: Prozess wurde während der 
> Verbindungsaufnahme zum Monitor beendet : qemu-kvm: -drive 
> file=/kvm02/gatewayb72.img,if=none,id=drive-virtio-disk0,format=qcow2,
> cache=none: could not open disk image /kvm02/gatewayb72.img: Could not 
> read snapshots: File too large
> 
> 
> Based on the facts I can see, the file is not too large. When reading the first error, the file size was 13.8 GB, while the limit is 14.5 GB. The same does also happen with files which are only, for example 6 GB big, while their limit is also 14.5 GB. Therefore, I think that the "file too large" really stands for something else.
> 
> Can I provide any additional information?
> 
> Regards,
> 
> Michael
> ___________________________________________________________
> Technische Universität Dresden
> Fakultät Wirtschaftswissenschaften
> Lehrstuhl für Entrepreneurship und Innovation Prof. Dr. Michael 
> Schefczyk
> D-01062 Dresden
>  
> Fon: +49-3 51-4 63-3 68 81
> Fax: +49-3 51-4 63-3 68 83
> www.gruenderlehrstuhl.de

>> Since some months ago, I am facing the problem, that backups fail 
>> unpredictably. A failed backup does not generate a backup file and 
>> thereafter, snapshots can no longer be created or deleted and the 
>> guest cannot be started anymore. The resulting error message is "File 
>> too large".
> 
> Who is reporting the "File too large" error?  Can you please include the error in full detail?
> 
> Paolo
> 


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5980 bytes --]

  reply	other threads:[~2014-11-19 11:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 10:36 Bug Repoting Directions Request Prof. Dr. Michael Schefczyk
2014-11-19 10:59 ` Paolo Bonzini
     [not found]   ` <2A6E6B95B6E5C146ACE8440760E58185BDC31C30@EXCHANGESERVER.schefczyk.local>
2014-11-19 11:41     ` [Qemu-devel] "File too large" error from "qemu-img snapshot" (was Re: AW: Bug Repoting Directions Request) Paolo Bonzini
2014-11-19 11:48       ` Prof. Dr. Michael Schefczyk [this message]
2014-11-19 11:53         ` Paolo Bonzini
2014-11-19 12:07           ` Prof. Dr. Michael Schefczyk
2014-11-19 14:54             ` Paolo Bonzini
2014-11-19 15:43               ` Eric Blake
2014-11-19 17:32                 ` Prof. Dr. Michael Schefczyk
2014-11-19 18:13                   ` Eric Blake
2014-11-22 17:02                     ` Prof. Dr. Michael Schefczyk
2014-11-24 11:52                       ` Paolo Bonzini
2014-11-25 11:34                       ` Kevin Wolf
2014-11-25 11:49                         ` Prof. Dr. Michael Schefczyk
2014-11-24 10:32                     ` Kashyap Chamarthy
2014-11-19 14:05       ` Max Reitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2A6E6B95B6E5C146ACE8440760E58185BDC31C70@EXCHANGESERVER.schefczyk.local \
    --to=michael@schefczyk.net \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.