finish installation instructions
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 23 Jun 2014 14:05:32 +0000 (16:05 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 23 Jun 2014 14:05:32 +0000 (16:05 +0200)
README

diff --git a/README b/README
index 5a74d98..4e42438 100644 (file)
--- a/README
+++ b/README
@@ -2,6 +2,22 @@ Ganet extstorage provider for local zfs volumes
 
 INSTALLATION
 
-cd /usr/share/ganeti/extstorage/
-git clone https://github.com/ffzg/ganeti-extstorage-zfs zfs
+  cd /usr/share/ganeti/extstorage/
+  git clone https://github.com/ffzg/ganeti-extstorage-zfs zfs
+
+  # enable new disk template
+
+  gnt-cluster modify --enabled-disk-templates plain,drbd,ext \
+       --ipolicy-disk-templates plain,drbd,ext
+
+  # create log directory
+
+  mkdir /var/log/ganeti/extstorage
+
+  # try instance creation with something similar to
+
+  gnt-instance add -t ext --disk=0:size=10G,provider=zfs \
+       --disk=1:size=20G,provider=zfs \
+       -n arh-hw --no-name-check --no-ip-check \
+       -o debootstrap+default -B maxmem=512M zfs-ext-test