store lvm tag originstname from ganeti
[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 will host 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 Run install scripts:
15
16 # ls install/
17 1-enable-ext-template.sh  2-create-log-directory.sh  3-lvm-wrappers.sh
18
19 Cron helper can be install under /etc/cron.daily
20
21 # ls cron/
22 daily-block-snapshot  purge-log
23
24 Overview commands are available (try running them to see output):
25
26 # ls bin/
27 ill  list  node  size  snap
28
29 Create test instances:
30
31 # ls t/*.sh
32 t/drbd.sh  t/plain.sh  t/zfs.sh
33
34 Review that instaces have been created:
35
36 # ./bin/ill t-
37
38 Test ganeti commands after reading them:
39
40 # ls t/gnt-*
41 t/gnt-backup-export.sh  t/gnt-instance-modify.sh
42
43
44 DRBD disk replication
45
46 Ganti's extstorage provider doesn't support drbd target. But, lvm emulation scripts are sufficiant enough
47 to create -t drdb instance or convert plain (created on zfs thanks to wrappers ;-) to drdb.
48
49
50 KNOWN BUGS for extstorage
51
52 - gnt-backup export doesn't work because extstorage snapshoot hook are not available
53 - gnt-instance move works from somewhere to zfs, but not from zfs to somewhere
54
55
56 KNOWN BUGS for using -t plain on top of zfs
57
58 - cron/daily-block-snapshot snapshots are not correctly renamed
59