From bc8d9d0b9a1feda7b82d2643038b80c9a610b896 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Tue, 5 Mar 2013 22:18:10 +0100 Subject: [PATCH] document how to import existing libvirt instances with their volumes on iSCSI SAN Signed-off-by: Martin Zobel-Helas --- input/howto/install-ganeti.creole | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/input/howto/install-ganeti.creole b/input/howto/install-ganeti.creole index 303d703..118aa03 100644 --- a/input/howto/install-ganeti.creole +++ b/input/howto/install-ganeti.creole @@ -356,3 +356,13 @@ And you want to convert it to use DRBD afterwards and start it on the other clus {{{ gnt-instance modify --hypervisor-parameters disk_type=ide fils.debian.org }}} + +* To import instances with SAN volumes + +{{{ + gnt-instance add -t blockdev --os-type debootstrap+dsa \ + --disk 0:adopt=/dev/disk/by-id/scsi-reger-boot \ + --disk 1:adopt=/dev/disk/by-id/scsi-reger-root \ + --hypervisor-parameters kvm:initrd_path=,kernel_path= \ + --net 0:ip=206.12.19.124 -n rossini.debian.org reger.debian.org +}}} -- 2.20.1