link to upstream documentation
[ganeti-extstorage-zfs] / README
1 Ganet extstorage provider for local zfs volumes
2
3 http://docs.ganeti.org/ganeti/master/html/man-ganeti-extstorage-interface.html
4
5 INSTALLATION
6
7 On node which has zfs storage pool
8
9   cd /usr/share/ganeti/extstorage/
10   git clone https://github.com/ffzg/ganeti-extstorage-zfs zfs
11   cd zfs
12   vi defaults.sh
13
14 You need to specify zfs filesystem under which block devices will be created.
15
16 Now ssh into ganeti master node and do following:
17
18 1. enable new disk template
19
20   gnt-cluster modify --enabled-disk-templates plain,drbd,ext \
21         --ipolicy-disk-templates plain,drbd,ext
22
23 2. create log directory
24
25   mkdir /var/log/ganeti/extstorage
26
27 3. try instance creation with something similar to
28
29   gnt-instance add -t ext --disk=0:size=10G,provider=zfs \
30         --disk=1:size=20G,provider=zfs \
31         -n arh-hw --no-name-check --no-ip-check \
32         -o debootstrap+default -B maxmem=512M zfs-ext-test
33