Operating System - Linux
1830218 Members
2106 Online
109999 Solutions
New Discussion

Though the ftp is still in progress the file size does not seem to be changing.

 
GnanaShekar
Regular Advisor

Though the ftp is still in progress the file size does not seem to be changing.

Hi,

I am getting a tar file (23GB) through ftp from a redhat server (RHEL AS4).
I have initiated this yesterday and the ftp is still in progress. I determine this by the running hash (#) symbols at the ftp console.
Though the ftp is still in progress the file size does not seem to be changing. Please suggest.

# date
Tue Jun 6 09:21:48 IST 2006
# ls -l Diablo.tar
-rw-r--r-- 1 root root 6442450062 Jun 5 11:36 Diablo.tar

# du -sk Diablo.tar
6297612 Diablo.tar

# date
Tue Jun 6 09:22:26 IST 2006

# ls -l Diablo.tar
-rw-r--r-- 1 root root 6442450062 Jun 5 11:36 Diablo.tar

# du -sk Diablo.tar
6297612 Diablo.tar

Thanks & Regards
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Though the ftp is still in progress the file size does not seem to be changing.

Shalom,

The conection may be open, try this to confirm:

netstat -an | grep ":20 " 20 may need to be 21.

The transfer has stopped.

You should make sure the ftp server is still running:
service vsftpd status

You should check that the target filesystem has enough space for the transfer with df -kh

Large filesystems are enabled by default in RH ES 4 and there should be no OS defaults stopping this transfer.

You may also wish to check networking and see if the connection is being cut off.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Alan_152
Honored Contributor

Re: Though the ftp is still in progress the file size does not seem to be changing.

23GB is well beyond what an unpactched ftpd can handle. It could also be that your destination file system is full.

1st of all, I'd recommend gzip'ing that tar file down a bit. Then I'd recommend using nfs, rsync, or some other kind of file transfer mechanism for a file this size. In fact, I'd recommend dumping this file to tape and transfering it that way.