[sheepdog-users] different size of sheepdog storage discs

Christoph Hellwig hch at infradead.org
Mon Jul 9 16:41:39 CEST 2012


On Fri, Jul 06, 2012 at 01:09:09PM +0200, Jens WEBER wrote:
> > On Fri, Jul 06, 2012 at 11:44:23AM +0200, Jens WEBER wrote:
> > > How I do that?
> > 
> > That -v <num> argument sets that number of vnodes, which balances how
> > much data goes onto each node.  I'd really love to automate this based
> > on statvfs or similar output, but that'll need some more work.
> >
> What is the number of vnodes? vnode = virtual guest / vnode = vdi disc image / vnode = ?

Right now it's really just a relative unit - the default is 64, and by
assigning more or less to a daemon you change it's weight.  I'd really
love to make the correlate to actual storage capacity by default.

> Test setup, 2 sheep in different zones, 1 copy. I create a vdi size 1G. collie node info show that the vdi is balanced between the two sheep.
> collie vdi object test tell that vdi test is only on node 1 - ? How can I see where my data is balanced in the cluster?

What were the exact test commands and the exact output?




More information about the sheepdog-users mailing list