Sheepdog & Proxmox-4.x compatibility !!

shahzaib

New Member
Jan 27, 2017
3
0
1
32
Hi,

We were looking to use sheepdog as storage for our clients VMs & containers. I can see lot of out dated documents on its integration with proxmox & found in mentioned below 'howto' that sheepdog is not stable.

https://pve.proxmox.com/wiki/Storage:_Sheepdog#Configure_Proxmox_to_use_the_sheepdog_cluster

Since it has been quite a long when this post was published, so may i ask if Proxmox & sheepdog are mature enough to deploy in production @2017 year ?

Thanks in advance !!

Regards.
Shahzaib
 
Since it has been quite a long when this post was published, so may i ask if Proxmox & sheepdog are mature enough to deploy in production @2017 year ?

AFAIK the sheepdog qemu code is still unreliable (at least for me). Snapshot rollback did not work for me with qemu 2.7
 
Well, snapshot rollback is indeed working with RAM and without RAM.
The problem comes when you try to delete the snapshot

See below of two snapshots created with included RAM
Code:
root@pve1:~# dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
  vm-100-state-TestWithRAM     0  8.5 GB  1.7 GB  0.0 MB 2017-05-16 16:39   6e653f      2                22
  vm-100-state-TestWithRAM2     0  8.5 GB  1.8 GB  0.0 MB 2017-05-16 16:44   95b517      2                22
s vm-100-disk-1     3   32 GB  524 MB  7.9 GB 2017-05-16 16:25   abc080      2   TestWithRAM  22
s vm-100-disk-1     4   32 GB   96 MB  8.3 GB 2017-05-16 16:43   abc083      2  TestWithRAM2  22
  vm-100-disk-1     0   32 GB   24 MB  8.4 GB 2017-05-16 16:44   abc084      2                22
Now when I try to delete snapshot "TestWithRAM2" I get the following error.
upload_2017-5-16_16-54-17.png

Now when I look at dog vdi list the vdi " vm-100-state-TestWithRAM2" is gone and the base image "vm-100-disk-1" has been wiped.
Code:
root@pve1:~# dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag   Block Size Shift
  vm-100-state-TestWithRAM     0  8.5 GB  1.7 GB  0.0 MB 2017-05-16 16:39   6e653f      2                22
s vm-100-disk-1     3   32 GB  524 MB  7.9 GB 2017-05-16 16:25   abc080      2   TestWithRAM  22
s vm-100-disk-1     4   32 GB   96 MB  8.3 GB 2017-05-16 16:43   abc083      2  TestWithRAM2  22
  vm-100-disk-1     0   32 GB  0.0 MB  0.0 MB 2017-05-16 16:45   abc086      2                22
If I would now delete all snapshots the VM would not boot anymore.

I don't know how the state snapshot function works, but if I take snapshots without RAM I am then able to delete the snapshots by using dog commands.

I believe there needs to be some work done on the scripts deleting snapshots from web GUI and sheepdog.
 
After some more testing it seems I am able to remove a snapshot with RAM when the VM is powered off.
If the VM is running when deleting snapshots with RAM the above error message will appear and the base image will be wiped.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!