Samba, ZFS and FreeBSD 12

Carmel NY carmel_ny at outlook.com
Fri Jan 18 11:04:08 UTC 2019


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. Is there
a dedicated ZFS forum? In any case, I was hoping that someone might
know what is happening here and supply me with a usable solution.

-- 
Carmel


More information about the freebsd-questions mailing list