Re: 2GIG-file

From: Jeff V. Merkey (jmerkey@timpanogas.com)
Date: Mon Jul 31 2000 - 15:48:58 EST


I stand corrected. Looks like smbfs in 2.2.X uses a long long *
(loff_t) so this should work.

:-)

Jeff

"Jeff V. Merkey" wrote:
>
> Alan Cox wrote:
> >
> > > Dear Al, Linus, and Alan -- 2GB liit is probably something to look at
> > > expanding in the future to support these huge SQL server database files.
> >
> > Indeed. Thats why there are 2.2 patches and 2.4test already zapped it. I think
> > the limit is now about 1Tb for a file and hit due to block layer limits
>
> But not for everything. The 2.2.X VFS is limited to 2GB (since the fs
> drivers were coded this way). I treat the off_t field as an unsigned
> long so I'm at 4GB. 2.4.X does support big files, but this guy was
> asking about "commercial" linux distributions he could get his hands on,
> and most folks are still on 2.2.X. Some of the FS drivers treat this
> field as a signed long in 2.2.X.
>
> I've known about the LargeFS patches for some time, but do they, for
> example, let someone using ncpfs read and write a 4GB file on a NetWare
> server? No, they don't because the read() and write() functions are
> limited to 2GB in 2.2.X. This support is for EXT% variants and isn't
> global across all the fs's. He has to get the data to the system
> somehow, and it's a good bet he will be using a network to do it. Which
> client can support copying of a 3.4GB file on Linux in the question--
> SMBFS since it's an NT server -- I don't think so? Since the VFS is
> limited to 2GB, I guess he can install large FS support, then stare at
> the system and wonder how to get the file onto it.
>
> :-)
>
> Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:34 EST