I tried this but got the same results, EINVAL?

mount.cifs //machine/share /cifstest \
  -o username=xxx,password=xxx,directio,rw,noperm,soft

Is the samba client utils, like smbmount and mount.cifs, supposed to support O_DIRECT? There is mention of it in release notes, mostly samba4. Wondering if I need a patch or something.

andrew

Jeremy Allison wrote:
On Sat, Oct 14, 2006 at 09:32:05PM -0400, tupple wrote:
Does samba 3.0.23c not support the use of O_DIRECT? When I try to open an smbmount'd file using O_DIRECT, I get EINVAL. I am able to use O_DIRECT with no problems on a block device and nfs mounts, so I know the kernel supports it.

Are you using smbfs or cifsfs ? It isn't the Samba
server side that doesn't support the O_DIRECT, this
is a client side option. I would imagine cifsfs
supports this.

Jeremy.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to