Friday 12 Sep 03 at 1:25pm, Christopher Mahmood wrote:
* Jim Cunning (jcunning@cts.com) [030912 13:00]:
I ran into the 2G (-1byte) file size limit when I did this, so I was forced to create two files <2G to transfer a ~4G partition. This was with SuSE 8.0-- do 8.1 and/or 8.2 now have large file support for all utilities so this problem goes away?
SuSE has had LFS since 7.2.
That may be, but .... As I recall, there is a different API for opening, or writing to, or seeking in (I don't remember which) files that are greater than 2GB. Some utilities and other programs did not seem use the API supporting large files, and failed when file sizes reached (2**31)-1. I have forgotten many of the specifics, but I _do_ remember that I had problems copying (with cp) a 3.1GB file from an NT server using a SMBFS mount, but I was able to transfer the file with smbclient using 'get'. Using cp, the transfer always failed at 2,147,483,647 bytes. I also had the same problem with NFS transfers between SuSE 8.0 systems when the files were >2G. I just ran an experiment with dd to verify that it can generate large (>2G) files _locally_ with "dd if=/dev/urandom of=bigfile bs=16k count=131073" and that cp can copy such a file locally. Is the problem only with NFS and smbfs? Jim