[Samba] fruit_get_bandsize didn't find band-size key

Mark Ruys mark at paracas.nl
Tue Nov 18 21:27:00 UTC 2025


Sure:

root at alderaan:~# testparm -s
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)

Server role: ROLE_STANDALONE

# Global parameters
[global]
	bind interfaces only = Yes
	disable netbios = Yes
	disable spoolss = Yes
	interfaces = 192.168.0.14/24 127.0.0.1 100.93.80.77/24 fd7a:115c:a1e0::a534:504d/64
	load printers = No
	logging = syslog at 0
	map to guest = Bad User
	max open files = 40960
	multicast dns register = No
	ntlm auth = ntlmv1-permitted
	null passwords = Yes
	passdb backend = smbpasswd
	printcap name = /dev/null
	security = USER
	server min protocol = SMB2
	server multi channel support = No
	server signing = if_required
	server string = Paracas server
	show add printer wizard = No
	smb1 unix extensions = No
	smb3 directory leases = No
	fruit:nfs_aces = No
	idmap config * : range = 3000-7999
	idmap config * : backend = tdb
	access based share enum = Yes
	acl allow execute always = Yes
	aio read size = 0
	aio write size = 0
	create mask = 0777
	directory mask = 0777
	hide dot files = No
	include = /etc/samba/smb-shares.conf
	invalid users = root
	use sendfile = Yes
	wide links = Yes

[tm-mark]
	comment = Time Machine Mark
	path = /mnt/user/tm-mark
	valid users = markr
	vfs objects = catia fruit streams_xattr
	write list = markr
	fruit:time machine max size = 800000M
	fruit:time machine = yes
	fruit:metadata = stream
	fruit:encoding = native

Thanks,
Mark

> Op 18 nov 2025, om 21:38 heeft Rowland Penny via samba <samba at lists.samba.org> het volgende geschreven:
> 
> On Tue, 18 Nov 2025 21:16:26 +0100
> Mark Ruys via samba <samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote:
> 
>> Hi,
>> 
>> A few times a day, syslog gives me:
>> 
>> 2025-11-15T12:48:07+01:00 ERR smbd [2025/11/15 12:48:07.565825,  0]
>> ../../source3/modules/vfs_fruit.c:5195(fruit_get_bandsize)
>> 2025-11-15T12:48:07+01:00 ERR smbd   fruit_get_bandsize: Didn't find
>> band-size key in [/mnt/user/tm-mark/Yavin4.sparsebundle/Info.plist]
>> 2025-11-15T12:48:07+01:00 ERR smbd [2025/11/15 12:48:07.565893,  0]
>> ../../source3/modules/vfs_fruit.c:5317(fruit_tmsize_do_dirent)
>> 2025-11-15T12:48:07+01:00 ERR smbd   fruit_tmsize_do_dirent:
>> Processing sparsebundle [Yavin4.sparsebundle] failed
>> 
>> /mnt/user/tm-mark is a Time Machine share (macOS 26.1). Samba 4.23.2
>> is installed on Unraid OS 7.2.0 (Slackware 15.0+).
>> 
>> /mnt/user/tm-mark/Yavin4.sparsebundle and all the files below are 666
>> (that’s compliant with the Unraid security model):
>> 
>> root at ohmy:~# ls -la /mnt/user/tm-mark/Yavin4.sparsebundle/
>> total 36
>> drwxrwxrwx 1 markr  users  252 Nov 16 06:32 ./
>> drwxrwxrwx 1 nobody users   38 Nov 16 06:26 ../
>> -rwxrw-rw- 1 markr  users  575 Nov 16 05:26 Info.bckup*
>> -rwxrw-rw- 1 markr  users  575 Nov 16 05:26 Info.plist*
>> drwxrwxrwx 1 markr  users  546 Nov 16 06:39 bands/
>> -rwxrw-rw- 1 markr  users  595 Nov 16 06:27
>> com.apple.TimeMachine.MachineID.plist* -rwxrw-rw- 1 markr  users 1201
>> Nov 16 06:32 com.apple.TimeMachine.Results.plist* -rwxrw-rw- 1 markr
>> users 7063 Nov 16 06:32 com.apple.TimeMachine.SnapshotHistory.plist*
>> -rwxrw-rw- 1 markr  users    0 Oct 31 08:52 lock* drwxrwxrwx 1 markr
>> users  534 Nov 16 06:39 mapped/ -rwxrw-rw- 1 markr  users 1092 Oct 31
>> 08:52 token*
>> 
>> markr is indeed the user Time Machine connects with. Plist looks fine
>> to me:
>> 
>> root at alderaan:~# cat /mnt/user/tm-mark/Yavin4.sparsebundle/Info.plist 
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
>> "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist
>> version="1.0"> <dict>
>> 	<key>CFBundleInfoDictionaryVersion</key>
>> 	<string>6.0</string>
>> 	<key>band-size</key>
>> 	<integer>204800000</integer>
>> 	<key>bundle-backingstore-version</key>
>> 	<integer>2</integer>
>> 	<key>diskimage-bundle-type</key>
>> 	<string>com.apple.diskimage.sparsebundle</string>
>> 	<key>size</key>
>> 	<integer>16000000000000</integer>
>> 	<key>uuid</key>
>> 	<string>5e04f1ec-55dd-459f-90e3-0eccfc2bed1f</string>
>> </dict>
>> </plist>
>> 
>> 
>> Googling gives me no clues how to fix it. Does someone knows where to
>> look for?
>> 
>> Best regards,
>> Mark
>> 
> 
> Could you post your smb.conf file again, but this time the output of
> 'testparm -s', not the output of 'testparm -v'
> 
> Rowland
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list