* file size limit in NFS
@ 2001-01-28 22:59 Michal Szymanski
2001-01-29 4:23 ` Ric Werme
0 siblings, 1 reply; 4+ messages in thread
From: Michal Szymanski @ 2001-01-28 22:59 UTC (permalink / raw)
Hi,
I've thought that big file support (>2 or 4 GB) is coming to Linux with
kernel 2.4. It was a nice surprise to find that Linux/Alpha has got it
already in 2.2.16. The problem arises when I try to access such a big
file through NFS. Which 3 machines supporting big files (ogle & phakt
are Linux/Alphas, tucana is a Solaris 8 Sparc), I get following (first
word of the prompt shows the machine I'm logged on, second element in
the path shows the machine the file is physically located on):
phakt|23:38|/home/phakt/data/msz>dir junk
-rw-r--r-- 1 msz astro 4508876800 Jan 28 18:36 junk
ogle|23:45|/home/phakt/data/msz>dir junk
-rw-r--r-- 1 msz astro 213909504 Jan 28 18:36 junk
tucana|23:46|/home/phakt/data/msz>dir junk
-rw-r--r-- 1 msz astro 213909504 Jan 28 18:36 junk
tucana|23:47|/home/tucana/data3/save>dir junk2
-rw-r--r-- 2 root other 4370513920 Nov 4 23:27 junk2
ogle|23:47|/home/tucana/data3/save>dir junk2
ls: junk2: File too large
So it seems that yes, Linux/Alpha supports big files, but only locally.
Am I right? Are there any patched versions of NFS (or some options
to give) that would allow correct access to such files through the
network also? Does it require NFS version 3?
regards, Michal.
--
Michal Szymanski (msz@astrouw.edu.pl)
Warsaw University Observatory, Warszawa, POLAND
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: file size limit in NFS
2001-01-28 22:59 file size limit in NFS Michal Szymanski
@ 2001-01-29 4:23 ` Ric Werme
2001-01-30 2:38 ` Ric Werme
0 siblings, 1 reply; 4+ messages in thread
From: Ric Werme @ 2001-01-29 4:23 UTC (permalink / raw)
msz@tucana.astrouw.edu.pl (Michal Szymanski) writes:
>I've thought that big file support (>2 or 4 GB) is coming to Linux with
>kernel 2.4. It was a nice surprise to find that Linux/Alpha has got it
>already in 2.2.16. The problem arises when I try to access such a big
>file through NFS.
...
>So it seems that yes, Linux/Alpha supports big files, but only locally.
>Am I right? Are there any patched versions of NFS (or some options
>to give) that would allow correct access to such files through the
>network also? Does it require NFS version 3?
NFS V2 only allocates 32 bits for file size.
NFS V3 allocates 64 bits.
So, yes, you need NFS V3. It's in Linux 2.4.
-Ric Werme
--
Ric Werme | werme@nospam.mediaone.net
http://people.ne.mediaone.net/werme | ^^^^^^^ delete
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: file size limit in NFS
2001-01-29 4:23 ` Ric Werme
@ 2001-01-30 2:38 ` Ric Werme
2001-01-31 0:51 ` Greg Lindahl
0 siblings, 1 reply; 4+ messages in thread
From: Ric Werme @ 2001-01-30 2:38 UTC (permalink / raw)
Ric Werme <werme@mediaone.net> writes:
>msz@tucana.astrouw.edu.pl (Michal Szymanski) writes:
>>So it seems that yes, Linux/Alpha supports big files, but only locally.
>>Am I right? Are there any patched versions of NFS (or some options
>>to give) that would allow correct access to such files through the
>>network also? Does it require NFS version 3?
>So, yes, you need NFS V3. It's in Linux 2.4.
I read on the Linux NFS mail list today that there's a bug - Linux's
NFS client is using an int for the file offset. Oops. You need
Linux 2.4 plus a patch.
--
Ric Werme | werme@nospam.mediaone.net
http://people.ne.mediaone.net/werme | ^^^^^^^ delete
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-01-31 0:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-28 22:59 file size limit in NFS Michal Szymanski
2001-01-29 4:23 ` Ric Werme
2001-01-30 2:38 ` Ric Werme
2001-01-31 0:51 ` Greg Lindahl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox