[sheepdog-users] runtime requirements?

Andrew J. Hobbs ajhobbs at desu.edu
Thu Mar 13 19:35:47 CET 2014


Qemu already has all the plumbing for talking to sheepdog.  Makes more 
sense to let it do its thing as there are developers who work on both 
here.  As far as nbd goes, kind of get it for from from Qemu.


On 03/13/2014 01:47 PM, Miles Fidelman wrote:
> Any idea what it actually does? (The qemu documentation is pretty 
> silent on it).
>
> Why wouldn't one do something like "nbd-server ..." to publish the 
> volume?
>
> Miles
>
> Andrew J. Hobbs wrote:
>> qemu-nbd is a helper app in the qemu package.  You can then access them
>> as normal from xen as an nbd provider.
>>
>> On 03/13/2014 01:16 PM, Miles Fidelman wrote:
>>> Re. the iSCCI vs. NBD options:
>>>
>>> The iSCSI instructions are all based around standard iSCSI initiator
>>> and target commands, but the documentation for NBD (such as it is) 
>>> says;
>>>
>>> 1.
>>>
>>>     Create a Sheepdog image
>>>
>>>     $ qemu-img create sheepdog:image 4G
>>>
>>> 2.
>>>
>>>     Start qemu-nbd on the one of Sheepdog servers
>>>
>>>     $ qemu-nbd sheepdog:image
>>>
>>> Which suggests that one has to have qemu running to publish NBD
>>> volumes - or is that just for mounting an NBD image from within a VM?
>>> The key question: can I set up Sheepdog to publish an NBD volume, and
>>> access it through native o/s or xen NBD drivers?
>>>
>>> Andrew: What's your environment look like (what's Sheepdog running on,
>>> what kinds of virtualization environment, what kinds of VMs?).
>>>
>>> Thanks!
>>>
>>> Miles
>>>
>>>
>>> Andrew J. Hobbs wrote:
>>>> While I haven't personally had to use them in this case (yet).  I'd
>>>> try the iSCSI or NBD options for sheepdog.   I routinely run
>>>> benchmarks when trying new combinations, if you do for both of these
>>>> situations, I'd be very interested in your results.
>>>>
>>>> I keep a linux image with a fully allocated disk to run benchmarks on
>>>> with the below command.
>>>>
>>>>
>>>> dd if=/dev/zero of=/test.out bs=4k count=1000000 oflag=direct
>>>>
>>>>
>>>>
>>>> On 03/13/2014 10:58 AM, Miles Fidelman wrote:
>>>>
>>>> Since I'm running Xen paravirtualized (for speed in all cases, and
>>>> for 2 servers, because they don't have
>>>> hardware virtualization available), QEMU based drivers aren't
>>>> available - hence my reasons for not
>>>> being able to use Sheepdog in the past.
>>>>
>>>> iSCSI solves the problem.  So would NFS.
>>>>
>>>> Thanks!
>>>>
>>>> Miles
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ajhobbs.vcf
Type: text/x-vcard
Size: 353 bytes
Desc: ajhobbs.vcf
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20140313/b8a93174/attachment-0005.vcf>


More information about the sheepdog-users mailing list