sheepdog on proxmox 2

  • Thread starter Thread starter jobycxa
  • Start date Start date
J

jobycxa

Guest
Hi,

I am trying to install sheepdog on latest proxmox VE 2 . And i am getting errors while compiling sheepdog as follows

configure: Sanitizing prefix: /usr
configure: Sanitizing exec_prefix: NONE
./configure: line 6490: syntax error near unexpected token `corosync,corosync'
./configure: line 6490: ` PKG_CHECK_MODULES(corosync,corosync)'

is it possible to include sheepdog with proxmox 2?

Thanks,
Joby Xavier
 
I installed sheepdog on 2.0 when it was still beta, not sure if anything changed to break it since then.

Here are my notes on how I installed it:
Code:
apt-get install libcorosync-pve-dev git dh-autoreconf pkg-config

mkdir sheepdog
cd sheepdog
git clone git://github.com/collie/sheepdog.git
cd sheepdog
./autogen.sh
./configure
make install

It did work, used lots of CPU and was a little slower than expected.

To get a drive in your VM you need to do something like this in the vmid.conf file where "test1" is the name of a sheepdog image:
Code:
args: -drive file=sheepdog:test1,if=none,id=drive-virtio0,cache=none,aio=native -device virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=102