xfs
[Top] [All Lists]

Big files truncated to 2 GB?

To: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
Subject: Big files truncated to 2 GB?
From: "Westerdale, John" <jwesterdale@xxxxxxxxxx>
Date: Mon, 17 Dec 2001 19:23:41 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
All,

Am debugging an FTP server and found a 2 GB file size limit.... I think!

I ssh from desk (Indigo2) to Linux 2.4.14/XFS server with array on it (RAID
5 XFS based on 7.2/1.0.2a installer).
(FWIW Dual PII-400/256/Software RAID on OS, and Raid 5 over 8 x 9 GB drives.

>From Array Server I establish several FTP connections to servers to pull
over a  tar blob of the docroot.

(one such transfer is shown below)

The trusty O200's pack up a nice 2.3 GB file nightly of data, and I ftp it
over.. But it seems to stop at

2147483647 bytes every time!  WHere is the wall? 

Thanks!

John Westerdale

Demo of truncation:

ftp> ls -al
227 Entering Passive Mode (10,41,14,40,29,142)
150 Opening ASCII mode data connection for '/bin/ls'.
total 10664472
drwxrwxr-x    2 root     sys             4096 Dec 17 03:18 .
drwxr-xr-x    5 root     sys               52 Dec  6 14:18 ..
-rw-r--r--    1 root     sys       2689342400 Dec 17 02:38
Docroot_Mon-Dec-17-02-30-AM.tar.gz
-rw-r--r--    1 root     sys       2689345471 Dec 16 02:38
Docroot_Sun-Dec-16-02-30-AM.tar.gz
-rw-r--r--    1 root     sys         40749451 Dec 17 02:39
Svrroot_Mon-Dec-17-02-30-AM.tar.gz
-rw-r--r--    1 root     sys         40749451 Dec 16 02:39
Svrroot_Sun-Dec-16-02-30-AM.tar.gz
226 Transfer complete.
ftp> bin
200 Type set to I.
ftp> get  Svrroot_Mon-Dec-17-02-30-AM.tar.gz
local: Svrroot_Mon-Dec-17-02-30-AM.tar.gz remote:
Svrroot_Mon-Dec-17-02-30-AM.tar.gz
227 Entering Passive Mode (10,41,14,40,29,143)
150 Opening BINARY mode data connection for
'Svrroot_Mon-Dec-17-02-30-AM.tar.gz' (40749451 bytes).
226 Transfer complete.
40749451 bytes received in 3.55 secs (1.1e+04 Kbytes/sec)
ftp> quit
221 Goodbye.
[root@H0004947 dura]# ls -al
total 4273904
drwxr-xr-x    2 root     root         4096 Dec 17 19:03 .
drwxr-xr-x    8 root     root           91 Dec 14 21:30 ..
-rw-r--r--    1 root     root     2147483647 Dec 14 20:41
Docroot_Fri-Dec-14-02-30-AM.tar.gz
-rw-r--r--    1 root     root     2147483647 Dec 17 19:00
Docroot_Mon-Dec-17-02-30-AM.tar.gz
-rw-r--r--    1 root     root     40746690 Dec 14 21:18
Svrroot_Fri-Dec-14-02-30-AM.tar.gz
-rw-r--r--    1 root     root     40749451 Dec 17 19:03
Svrroot_Mon-Dec-17-02-30-AM.tar.gz
[root@H0004947 dura]#


<Prev in Thread] Current Thread [Next in Thread>