X-Git-Url: http://git.rot13.org/?p=ganeti-extstorage-zfs;a=blobdiff_plain;f=README;h=5765b930965a6b759c381f725e629df456566e6c;hp=4e424381de81dee842f01c11fa358666ac7779d2;hb=c2088f86938412377e0c5cc900982221381094a0;hpb=acbd75fae70eeeb4a14580625cd4d0b95b08c7af diff --git a/README b/README index 4e42438..5765b93 100644 --- a/README +++ b/README @@ -2,19 +2,27 @@ Ganet extstorage provider for local zfs volumes INSTALLATION +On node which has zfs storage pool + cd /usr/share/ganeti/extstorage/ git clone https://github.com/ffzg/ganeti-extstorage-zfs zfs + cd zfs + vi defaults.sh + +You need to specify zfs filesystem under which block devices will be created. + +Now ssh into ganeti master node and do following: - # enable new disk template +1. enable new disk template gnt-cluster modify --enabled-disk-templates plain,drbd,ext \ --ipolicy-disk-templates plain,drbd,ext - # create log directory +2. create log directory mkdir /var/log/ganeti/extstorage - # try instance creation with something similar to +3. try instance creation with something similar to gnt-instance add -t ext --disk=0:size=10G,provider=zfs \ --disk=1:size=20G,provider=zfs \