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