[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [STABLE 0.14][PATCH 02/14] Documentation: add Sheepdog disk
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [STABLE 0.14][PATCH 02/14] Documentation: add Sheepdog disk images |
Date: |
Mon, 7 Feb 2011 13:46:24 +0100 |
From: MORITA Kazutaka <address@hidden>
Signed-off-by: MORITA Kazutaka <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
(cherry picked from commit 42af9c30ea9a963ce604ac96230fde2f987634db)
---
qemu-doc.texi | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 52 insertions(+), 0 deletions(-)
diff --git a/qemu-doc.texi b/qemu-doc.texi
index 22a8663..86e017c 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -407,6 +407,7 @@ snapshots.
* host_drives:: Using host drives
* disk_images_fat_images:: Virtual FAT disk images
* disk_images_nbd:: NBD access
+* disk_images_sheepdog:: Sheepdog disk images
@end menu
@node disk_images_quickstart
@@ -630,6 +631,57 @@ qemu -cdrom nbd:localhost:exportname=debian-500-ppc-netinst
qemu -cdrom nbd:localhost:exportname=openSUSE-11.1-ppc-netinst
@end example
address@hidden disk_images_sheepdog
address@hidden Sheepdog disk images
+
+Sheepdog is a distributed storage system for QEMU. It provides highly
+available block level storage volumes that can be attached to
+QEMU-based virtual machines.
+
+You can create a Sheepdog disk image with the command:
address@hidden
+qemu-img create sheepdog:@var{image} @var{size}
address@hidden example
+where @var{image} is the Sheepdog image name and @var{size} is its
+size.
+
+To import the existing @var{filename} to Sheepdog, you can use a
+convert command.
address@hidden
+qemu-img convert @var{filename} sheepdog:@var{image}
address@hidden example
+
+You can boot from the Sheepdog disk image with the command:
address@hidden
+qemu sheepdog:@var{image}
address@hidden example
+
+You can also create a snapshot of the Sheepdog image like qcow2.
address@hidden
+qemu-img snapshot -c @var{tag} sheepdog:@var{image}
address@hidden example
+where @var{tag} is a tag name of the newly created snapshot.
+
+To boot from the Sheepdog snapshot, specify the tag name of the
+snapshot.
address@hidden
+qemu sheepdog:@var{image}:@var{tag}
address@hidden example
+
+You can create a cloned image from the existing snapshot.
address@hidden
+qemu-img create -b sheepdog:@var{base}:@var{tag} sheepdog:@var{image}
address@hidden example
+where @var{base} is a image name of the source snapshot and @var{tag}
+is its tag name.
+
+If the Sheepdog daemon doesn't run on the local host, you need to
+specify one of the Sheepdog servers to connect to.
address@hidden
+qemu-img create sheepdog:@var{hostname}:@var{port}:@var{image} @var{size}
+qemu sheepdog:@var{hostname}:@var{port}:@var{image}
address@hidden example
+
@node pcsys_network
@section Network emulation
--
1.7.2.3
- [Qemu-devel] [STABLE 0.14][PULL 00/14] Block patches for stable-0.14, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 01/14] qcow2: Really use cache=unsafe for image creation, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 02/14] Documentation: add Sheepdog disk images,
Kevin Wolf <=
- [Qemu-devel] [STABLE 0.14][PATCH 08/14] ahci: Implement HBA reset, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 05/14] ahci: add license header in ahci.h, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 04/14] ahci: split ICH9 from core, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 06/14] ahci: split ICH and AHCI even more, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 03/14] block/vdi: Fix wrong size in conditionally used memset, memcmp, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 07/14] ahci: send init d2h fis on fis enable, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 10/14] block-migration: actually disable dirty tracking on cleanup, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 12/14] block-migration: add reference to target DriveInfo, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 11/14] blockdev: add refcount to DriveInfo, Kevin Wolf, 2011/02/07
- [Qemu-devel] [STABLE 0.14][PATCH 09/14] ahci: make number of ports runtime determined, Kevin Wolf, 2011/02/07