From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJLGo-0007m3-Rs for qemu-devel@nongnu.org; Thu, 27 Oct 2011 04:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJLGm-0001lE-WB for qemu-devel@nongnu.org; Thu, 27 Oct 2011 04:25:02 -0400 Received: from mail.univention.de ([82.198.197.8]:2065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJLGm-0001kz-RM for qemu-devel@nongnu.org; Thu, 27 Oct 2011 04:25:00 -0400 Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 0C5A4C6FAD for ; Thu, 27 Oct 2011 10:24:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by slugis.knut.univention.de (Postfix) with ESMTP id 0210C67AF03 for ; Thu, 27 Oct 2011 10:24:54 +0200 (CEST) Received: from mail.univention.de ([127.0.0.1]) by localhost (slugis.knut.univention.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ICXteP5X324Y for ; Thu, 27 Oct 2011 10:24:54 +0200 (CEST) Received: from stave.knut.univention.de (stave.knut.univention.de [192.168.0.191]) by slugis.knut.univention.de (Postfix) with ESMTPSA id 8A269C6FAD for ; Thu, 27 Oct 2011 10:24:54 +0200 (CEST) From: Philipp Hahn Date: Thu, 27 Oct 2011 10:24:40 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1884524.HPg1UioYFO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201110271024.46694.hahn@univention.de> Subject: Re: [Qemu-devel] Correct syntax for named snapshots List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --nextPart1884524.HPg1UioYFO Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Ottaavio, On Wednesday 26 October 2011 18:24:01 Ottavio wrote: > According to the latest doc file you create a named snapshot like this: > > qemu-img snapshot [-l | -a snapshot | -c snapshot | -d snapshot] > base-image.img > > Is this other following syntax still supported or deprecated: > > "qemu-img create -f qcow2 -b base-image.img snapshot.img" ? These are two different things: The first one creates an *internal* snapshot, which is stored internally in= a=20 *single* qcow2 file. The second one creates an *external* snapshot, which creates a *new second*= =20 qcow2 file. The first functionality requires a lot more work for qcow2, which can easil= y=20 corrupt your qcow2 file if something goes wrong. Because of this QED (one=20 follow-up format of Qcow) IMHO dropped support for internal snapshots. The second variante has the drawback, that for each snapshot your get an=20 additional file, which your have to manage. Deleting one file from the midd= le=20 of such a chain breaks all following snapshots, so be careful when you do=20 delete files. And yes, both are still supported. Sincerely Philipp =2D-=20 Philipp Hahn Open Source Software Engineer hahn@univention.de Univention GmbH Linux for Your Business fon: +49 421 22 232- 0 Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99 http://www.univention.de/ --nextPart1884524.HPg1UioYFO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAk6pFUgACgkQYPlgoZpUDjndRQCgtfzSfb8C8rAjTbn03R6G9r63 6B4AoMHiKJPMNdrAll86Uyz0mI3inN4p =5nOr -----END PGP SIGNATURE----- --nextPart1884524.HPg1UioYFO--