Using HyperV with Samba 4.2 (An update)

Richard Sharpe realrichardsharpe at gmail.com
Wed Feb 4 08:14:22 MST 2015


On Wed, Feb 4, 2015 at 7:11 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> On Wed, Feb 4, 2015 at 3:13 AM, David Disseldorp <ddiss at suse.de> wrote:
>> Hi Richard,
>>
>> Digging up an old thread, but I figure you may have come across it
>> during your investigation - does Hyper-V mark .vhdx files as sparse
>> (FSCTL_SET_SPARSE) when located on a remote Windows 2012 SMB share?
>>
>> I'd be surprised if it didn't, but figured I should confirm before
>> working on FSCTL_SET_SPARSE / FSCTL_QUERY_ALLOCATED_RANGES support.
>
> Funny you should ask that ...
>
> I have filed a bug up on the Wireshark bugzilla about support for RSVD
> and there is a capture up there ...
>
> However, I don't know. I will have to look at the captures I have to
> see what it does.

Hmmm, I don't have direct evidence, but looking at the allocation size
and end-of-file on a Create Response in a capture I have for a vhdx
file it would seem that they do not set them sparse, because they are
both 10GB in this case.

Let me look at another.

Also, I seem to recall that I had to handle the set sparse stuff correctly.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list