Using HyperV with Samba 4.2

David Disseldorp ddiss at suse.de
Fri Oct 17 11:34:16 MDT 2014


On Fri, 17 Oct 2014 08:44:25 -0700, Richard Sharpe wrote:

> On Fri, Oct 17, 2014 at 7:05 AM, Richard Sharpe
...
> > Hmmm, maybe I need to look more closely at the capture. It was asking
> > to disable compression so maybe the people who supplied me with the
> > capture were mistakenly claiming they supported compression.
> 
> Actually, I don't need to.
> 
> Here is the key test in fsctl_set_cmprn:
> 
>         if ((fsp->conn->fs_capabilities & FILE_FILE_COMPRESSION) == 0) {
>                 DEBUG(4, ("FS does not advertise compression support\n"));
>                 return NT_STATUS_NOT_SUPPORTED;
>         }
> 
> And STATUS_NOT_SUPPORTED is what I saw on the wire.
> 
> The client was issuing that FSCTL despite the fact that the server
> told it compression was not supported.

Interesting, thanks for the extra details. IIRC ReFS also lacks
transparent compression support, so this may imply that it also can't be
used to back a Hyper-V SMB share.

Cheers, David


More information about the samba-technical mailing list