[Samba] Fw: Btrfs Samba and Quotas

Stefan Kania stefan at kania-online.de
Sat May 18 12:52:50 UTC 2019


I tried brtfs several times together with samba and (sorry to say this)
it just a pain in the a.. Never use it together with quotas or CTDB it
will crash after short time. I only take xfs and have no problem at all.
I don't know wy, but it's not good idea to user brtfs with samba.

Am 18.05.19 um 11:22 schrieb Hendrik Friedel via samba:
> Hello,
>
> I a bit surprised to get no replies at all...
> How come? Lack of information? Lack of clarity?
>
> Greetings,
> Hendrik
>
>
> ------ Originalnachricht ------
> Von: "Hendrik Friedel via samba" <samba at lists.samba.org>
> An: "samba at lists.samba.org" <samba at lists.samba.org>
> Gesendet: 14.05.2019 20:01:41
> Betreff: [Samba] Fw: Btrfs Samba and Quotas
>
>> 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
>>
>>
>> -- To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20190518/c3e033f9/signature.sig>


More information about the samba mailing list