Date: Tue, 13 Dec 2005 17:10:00 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: Data Loss with samba shared USB drive Message-ID: <200512131610.jBDGA0mK027336@lurza.secnetix.de> In-Reply-To: <20051203214605.GB44199@outcold.yadt.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
David Taylor <davidt@yadt.co.uk> wrote: > I have a USB drive (SanDisk 1GB flash drive), which I have mounted > on a windows PC using samba 3.0. > > I recently discovered the copy of my files on my USB device were > corrupted (thankfully I had a backup), being filled entirely with > 0's (that's ASCII '0', not NUL). > > I should probably mention that this is with the drive formatted with > a FAT filesystem. That seems to be the problem documented in PR kern/39043: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/39043 It's a long-standing bug that still exists. It affects FAT32 filesystems exported via Samba. The workaround is to re-format the drive with UFS instead of FAT. I don't think anyone is actively working on fixing the bug. :-( Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "To this day, many C programmers believe that 'strong typing' just means pounding extra hard on the keyboard." -- Peter van der Linden
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512131610.jBDGA0mK027336>