[Samba] Fw: Btrfs Samba and Quotas

Hendrik Friedel hendrik at friedels.name
Tue May 14 18:01:41 UTC 2019


Hello,

by suggestion from linux-btrfs I post this to samba at lists.samba.org.
I think, thiss is a bug in Samba. Can you confirm and suggest a 
workaround?

Regards,
Hendrik

------ Weitergeleitete Nachricht ------
Von: "Hendrik Friedel" <hendrik at friedels.name>
An: "Btrfs BTRFS" <linux-btrfs at vger.kernel.org>
Gesendet: 12.05.2019 13:27:00
Betreff: Btrfs Samba and Quotas

Hello,

I was wondering, whether anyone of you has experience with this samba in conjunction with BTRFS and quotas.

I am using Openmediavault (debian based NAS distribution), which is not actively supporting btrfs. It uses quotas by default, and I think, that me using btrfs is causing troubles...

In the logs I find:
May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [.]!
May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879166,  0] ../source3/lib/sysquotas.c:461(sys_get_quota)
May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [.]!
May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879356,  0] ../source3/lib/sysquotas.c:461(sys_get_quota)
May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [.]!
May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879688,  0] ../source3/lib/sysquotas.c:461(sys_get_quota)
May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!
May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.879888,  0] ../source3/lib/sysquotas.c:461(sys_get_quota)
May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!
May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.880093,  0] ../source3/lib/sysquotas.c:461(sys_get_quota)
May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!
May 12 09:34:06 homeserver smbd[4116]: [2019/05/12 09:34:06.880287,  0] ../source3/lib/sysquotas.c:461(sys_get_quota)
May 12 09:34:06 homeserver smbd[4116]:   sys_path_to_bdev() failed for path [Hendrik]!

As you can see, this is quite frequent.

Searching for this, I find some bug-reports:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1735953
https://bugzilla.samba.org/show_bug.cgi?id=10541

Now, I am sure that I am not the first to use Samba with btrfs. What's special about me? How's your experience?

Greetings,
Hendrik




More information about the samba mailing list