Date: Sat, 3 Dec 2005 21:46:05 +0000 From: David Taylor <davidt@yadt.co.uk> To: freebsd-stable@freebsd.org Subject: Re: Data Loss with samba shared USB drive Message-ID: <20051203214605.GB44199@outcold.yadt.co.uk> In-Reply-To: <20051203213226.GA44199@outcold.yadt.co.uk> References: <20051203213226.GA44199@outcold.yadt.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 03 Dec 2005, David Taylor 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 have managed to reproduce the problem with these steps. > > 1. Mount USB drive on (say) /usb > 2. Share /usb over samba > 3. (Optional) On windows PC mount \\server\usb as (say) U: > 4. Change something on /usb drive (from windows or freebsd) > 5. On FreeBSD machine type "umount /usb" -- get "Device busy" error > 6. View changed file. I should probably mention that this is with the drive formatted with a FAT filesystem. -- David Taylor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051203214605.GB44199>