[sheepdog-users] Troubles upgrading from 0.3 to 0.4

Jens WEBER jweber at tek2b.org
Thu Aug 9 18:54:04 CEST 2012

>0) Accept the new /etc/default/sheepdog file (and remember your old
>settings). Then updated the SHEEPDOG_PATH_TO_SCAN= variable with what
>you had previously in SHEEPDOG_PATH=. Also set STARTUP=yes.

yep, manually step

>1) It appears that there has to be a new directory created of the form
>  /var/lib/sheepdog/disk[0-9].

Next version will generate some directories in postinst

>2) One has to move all files into this directory. I.e.
>    mkdir /var/lib/sheepdog/disk0
>    echo 'DAEMON_ARGS="-p 7000"' > /var/lib/sheepdog/disk0/setup
>    mv /var/lib/sheepdog/* /var/lib/sheepdog/disk0

yep, manually step

>3) simple2farm appears to work fine
>   /usr/lib/sheepdog-tools/simple2farm /var/lib/sheepdog/disk0/obj/

This converts store from simple to farm, manually step

>4)  /usr/lib/sheepdog-tools/vnodes2autoconfig /var/lib/sheepdog/disk0
>(seems to work)

In next v0.4.1 sheep does the work for you.

>5) touch /var/lib/sheepdog/disk0/startup (This file appears to be needed)

Why? I don't have one.

Cheers, Jens

More information about the sheepdog-users mailing list