[Samba] Samba, ZFS and FreeBSD 12

Gerard Seibert gerard_seibert at outlook.com
Fri Jan 18 13:16:38 UTC 2019


On Fri, 18 Jan 2019 12:14:47 +0000, Rowland Penny via samba stated:

>On Fri, 18 Jan 2019 11:15:38 +0000
>Gerard Seibert via samba <samba at lists.samba.org> wrote:
>
>> FreeBSD 12.0-RELEASE-p2 GENERIC  amd64
>> samba48-4.8.7
>> 
>> Ever since updating from FreeBSD 11 to FreeBSD 12, I have experienced
>> a problem with samba. While still on FreeBSD 11, I configured a
>> Windows 10 machine to write backups of selected directories to my
>> FreeBSD machine. That worked perfectly. No problems were detected and
>> everything was backed up correctly. However, after updating to
>> FreeBSD 12 a problem has arose. While the backups do apparently
>> succeed successfully, the screen on my FreeBSD machine fills up with
>> error messages while the backup is happening. This is a snippet of
>> the output:
>> 
>> Jan 17 23:49:17 scorpio smbd[203]: [2019/01/17 23:49:17.050696,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:49:17
>> scorpio smbd[203]:   failed to get quota for user ID 1001 on
>> Gerard/HP-ENVY/Data: No such file or directory Jan 17 23:49:17
>> scorpio smbd[203]: [2019/01/17 23:49:17.083290,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:49:17
>> scorpio smbd[203]:   failed to get quota for group ID 1001 on
>> Gerard/HP-ENVY/Data: No such file or directory Jan 17 23:49:17
>> scorpio smbd[203]: [2019/01/17 23:49:17.086328,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:49:17
>> scorpio smbd[203]:   failed to get quota for user ID 1001 on
>> Gerard/HP-ENVY/Data: No such file or directory Jan 17 23:49:17
>> scorpio smbd[203]: [2019/01/17 23:49:17.086788,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:49:17
>> scorpio smbd[203]:   failed to get quota for group ID 1001 on
>> Gerard/HP-ENVY/Data: No such file or directory Jan 17 23:51:07
>> scorpio smbd[13829]: [2019/01/17 23:51:07.649359,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:51:07
>> scorpio smbd[13829]:   failed to get quota for user ID 1001 on
>> Gerard/HP-ENVY/Data/C/Users/Gerard/ClipCache/ClipCache (2019_01_18
>> 04_49_16 UTC).db: No such file or directory Jan 17 23:51:07 scorpio
>> smbd[13829]: [2019/01/17 23:51:07.649794,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:51:07
>> scorpio smbd[13829]:   failed to get quota for group ID 1001 on
>> Gerard/HP-ENVY/Data/C/Users/Gerard/ClipCache/ClipCache (2019_01_18
>> 04_49_16 UTC).db: No such file or directory Jan 17 23:52:40 scorpio
>> smbd[13829]: [2019/01/17 23:52:40.890148,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:52:40
>> scorpio smbd[13829]:   failed to get quota for user ID 1001 on
>> Gerard/HP-ENVY/Data: No such file or directory Jan 17 23:52:40
>> scorpio smbd[13829]: [2019/01/17 23:52:40.909473,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:52:40
>> scorpio smbd[13829]:   failed to get quota for group ID 1001 on
>> Gerard/HP-ENVY/Data: No such file or directory Jan 17 23:52:46
>> scorpio smbd[13829]: [2019/01/17 23:52:46.869533,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:52:46
>> scorpio smbd[13829]:   failed to get quota for user ID 1001 on
>> Gerard/HP-ENVY/Configuration/Catalog1.edb: No such file or directory
>> Jan 17 23:52:46 scorpio smbd[13829]: [2019/01/17 23:52:46.869804,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:52:46
>> scorpio smbd[13829]:   failed to get quota for group ID 1001 on
>> Gerard/HP-ENVY/Configuration/Catalog1.edb: No such file or directory
>> Jan 17 23:52:46 scorpio smbd[13829]: [2019/01/17 23:52:46.914153,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:52:46
>> scorpio smbd[13829]:   failed to get quota for user ID 1001 on
>> Gerard/HP-ENVY/Configuration/Catalog1.edb: No such file or directory
>> Jan 17 23:52:46 scorpio smbd[13829]: [2019/01/17 23:52:46.914308,
>> 0] ../source3/lib/sysquotas_4B.c:148(sys_quotactl_4B) Jan 17 23:52:46
>> scorpio smbd[13829]:   failed to get quota for group ID 1001 on
>> Gerard/HP-ENVY/Configuration/Catalog1.edb: No such file or directory
>> 
>> Since this operation did work before updating to FreeBSD 12, which I
>> understand also updated the version ZFS employed by the system, I
>> think it would be a fair assessment that something changed
>> significantly in the interaction of ZFS and samba.
>> 
>> I am not sure if this is the best list to be posting this on. I did
>> seek help on the FreeBSD forum; however, since this also involves
>> samba, I thought I might be able to get some assistance here.
>> 
>> Thanks!
>> 
>>   
>
>You have asked this before :)
>
>I suppose you either didn't like Jeremy's answer or didn't understand
>it:
>
>https://lists.samba.org/archive/samba/2018-December/220090.html
>
>To put it in easy to understand terms, freebsd is returning the wrong
>result, so that would make it a freebsd bug.
>
>Rowland

I never saw that reply. Perhaps it got snagged in my Spam folder or due
to the fact that it was so close to Christmas that I simply overlooked
it.

-- 
Gerard



More information about the samba mailing list