[Bug 1735953] Re: samba mount fails to write

Punkadiddle 1735953 at bugs.launchpad.net
Sun Sep 2 06:02:52 UTC 2018


There's a hacky workaround to disable quotas that makes the error vanish
from the logs. Not sure of sideeffects.

Put a line like this into your smb.conf [global] to point it to the attached script
 get quota command = /opt/bin/samba-btrfs-quota.sh

The script will then tell samba on each request, that quotas are
disabled. The way they didn't even quote the parameters suggests, that
the option is not well tested.

** Attachment added: "samba-btrfs-quota.sh"
   https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1735953/+attachment/5183644/+files/samba-btrfs-quota.sh

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1735953

Title:
  samba mount fails to write

Status in samba:
  Unknown
Status in samba package in Ubuntu:
  Incomplete

Bug description:
  Ubuntu 17.10 appears to aggressively trigger Samba bug 10541 (
  https://bugzilla.samba.org/show_bug.cgi?id=10541 ). Previous versions
  of Ubuntu worked fine, but 17.10 appears to request quota information
  on every write, resulting in a complete inability to write to files.

  Remote Samba share is mounted as cifs as read-write, and has been
  working for years and many software releases. Unable to write/create
  files from bash, from GUI file browser, or even from a Windows VM with
  access to the mounted location. I haven't seen any scenario where
  Ubuntu 17.10 can write to the share.

  Server is running Samba 4.7.3 with a long-running good configuration.

  Every write request from my Ubuntu desktop results in the following
  server log:

  [2017/12/02 16:44:25.306674,  0] ../source3/lib/sysquotas.c:461(sys_get_quota)
    sys_path_to_bdev() failed for path [.]!

  There are no other log entries.

  The root bug appears to be in Samba, but recent changes to Ubuntu have
  triggered the bug in a way that breaks write functionality.

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1735953/+subscriptions



More information about the foundations-bugs mailing list