Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 21:14:39 +0100
From:      "Petersen" <petersen@britersen.co.uk>
To:        <questions@freebsd.org>
Subject:   smbfs and 4gb files
Message-ID:  <066301c31e43$46d6a4e0$0101a8c0@petenet.britersen.co.uk>

next in thread | raw e-mail | index | archive | help
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.=20

[root@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@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?066301c31e43$46d6a4e0$0101a8c0>