smbfs and 4gb files
Petersen
petersen at britersen.co.uk
Mon May 19 13:14:45 PDT 2003
Hi,
I'm running 4.8-STABLE (sources from April 7). I was dumping my filesystems
to files on an smbfs share (a Win2k box), and I found that dumping more than
4Gb in 1 file resulted in a corrupted dumpfile. So as a quick test, I dd'd
/dev/zero to a test file on the smbfs share to see what happened at the 4Gb
boundary.
[root at britersen:/mnt/dump]# ll -h test && ll test
-rwxr-xr-x 1 root wheel 3G May 19 20:28 test*
-rwxr-xr-x 1 root wheel 4292345856 May 19 20:28 test*
[root at britersen:/mnt/dump]# ll -h test && ll test
-rwxr-xr-x 1 root wheel 640K May 19 20:28 test*
-rwxr-xr-x 1 root wheel 4295884800 May 19 20:28 test*
[root at britersen:/mnt/dump]# ll -h test && ll test
-rwxr-xr-x 1 root wheel 7M May 19 20:28 test*
-rwxr-xr-x 1 root wheel 4302749696 May 19 20:28 test*
[root at britersen:/mnt/dump]# ll -h test && ll test
-rwxr-xr-x 1 root wheel 4G May 19 20:28 test*
-rwxr-xr-x 1 root wheel 4307271680 May 19 20:28 test*
Note how the humanised output suddenly wraps back to 0, and then somehow
fixes itself.
Is this a known problem with smbfs?
Petersen
More information about the freebsd-questions
mailing list