Re: 2.6.0-test1 NFS file transfer

From: Balram Adlakha (b_adlakha@softhome.net)
Date: Tue Jul 29 2003 - 08:00:58 EST


On Tue, Jul 29, 2003 at 02:48:38PM +0300, Ville Herva wrote:
> On Tue, Jul 29, 2003 at 04:27:06PM +0530, you [Balram Adlakha] wrote:
> > On Tue, Jul 29, 2003 at 01:48:22AM -0700, Andrew Morton wrote:
> > > Balram Adlakha <b_adlakha@softhome.net> wrote:
> > > >
> > > > I cannot transfer files larger than 914 mb from an NFS mounted
> > > > filesystem to a local filesystem. A larger file than that is
> > > > simply cut of at 914 MB. This is using 2.6.0-test1, 2.4.20
> > > > works fine. Can it be the version of mount I'm using? Its the
> > > > one that comes with util-linux-2.11y.
> > >
> > > Works OK here, with `cp'. How are you "transferring" the file?
> > >
> > > You're sure there is sufficient disk space on the receiving end? (sorry)
> > >
> > > Can you strace the copy operation, see why it terminates?
> >
> > Very strange, It was a 4.9 GB raw mpeg-ps file and I couldn't copy more than 914 mb of it using -test2, even playing the file from the server using mplayer didn't work (and I wasn't smart enough to use strace) then I rebooted with 2.4.20 and the whole file was copied. Now I tried copying a 990 mb wav file and it worked(using -test2). The orginal 4.9 GB file is not on the server now so I'll have to put it there first and then copy it again. It'll take some time on my slow NIC (and the server being a 300 Mhz laptop). I'll email you again, sorry.
>
> Rather than copying a file over, you can create a sparse file very quickly:
>
> touch foo; perl -e 'truncate "foo", 2000000000'
>
> (creates a 2000000000 byte sparse file). Neat thing is, sparse files don't
> take disk space on the server.
>
> Or if you prefer a non-sparse file:
>
> head -c 2000m /dev/zero > foo
>
>
> -- v --
>
> v@iki.fi

Availablity of files is not a problem, theres already a large number of large files that I want to transfer to and from my computer. I didn't know about sparse files, will my NIC be used the same way?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:40 EST