The Samba-Bugzilla – Bug 5586
fat32 support by samba
Last modified: 2009-04-29 11:56:37 UTC
hi.i made a service that point to a usb directory which is fat32,
when i copy a big file (2G B) into this service, i found the samba will
generate a sparse file which is 2GB size ,then copy files from net into
disk. it means linux cpu will write fat32 disk twice.(one sparse,one real write)
and if the file is too big, samba will not response to smbclient, so smbclient
will print out "no such service" and connection will break.
if i look up the sparse file in linux shell , the file still generating to 2GB.
is it right?
It is right,we must compile the module with the option samba "D_FILE_OFFSET_BITS=64"