Обсуждение: Re: Largest filesize under Linux

Поиск
Список
Период
Сортировка

Re: Largest filesize under Linux

От
Christopher Browne
Дата:
Quoth "Partho Bhowmick" <pbhowmick@sbcglobal.net>:
> I am working on extending the functionality of PostgreSQL on Linux.
> I need to know what's the largest filesize for a single file that I can have
> under Linux?

That depends.

It depends on the size supported by the filesystem.  Usually that's at
least 2TB, these days.  (For ext2)  Any of the interesting alternative
FSes (xfs, jfs, reiserfs) offer Way Big file sizes, >2TB.

But you also need for the file size to be supported by:
 a) GLIBC, and
 b) The kernel VFS.

I believe that recent kernels and GLIBCs allow arbitrary large files,
but you will have to check on your favorite kernel and libraries, as
milage may vary.  And it's disputable whether or not that is
necessarily going to be a "Linux" question...
--
output = reverse("moc.enworbbc@" "enworbbc")
http://www3.sympatico.ca/cbbrowne/fs.html
"One often contradicts  an opinion when what is  uncongenial is really
the tone in which it was conveyed." -- Nietzsche

Re: Largest filesize under Linux

От
Christopher Browne
Дата:
After a long battle with technology,"Partho Bhowmick" <pbhowmick@sbcglobal.net>, an earthling, wrote:
> Well, I am running kernel-2.4.18-26. What's the limit on this baby?

Sounds like you didn't read what I wrote.  Which filesystem?  Which
version of GLIBC?  By the way, have your applications been compiled
with LFS support versus without?

/Those/ are the questions.  Read the URL below; it's got the standard
response from Alex Viro, who is one of the authors of VFS...
--
If this was helpful, <http://svcs.affero.net/rm.php?r=cbbrowne> rate me
http://www.ntlug.org/~cbbrowne/fs.html
Pound for pound, the amoeba is the most vicious animal on earth.