Re: Largest filesize under Linux

From: "Partho Bhowmick" <pbhowmick(at)sbcglobal(dot)net>
To: pgsql-hackers(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Largest filesize under Linux
Date: 2003-03-11 21:05:11
Message-ID: bcsba.1331$%s6.89002224@newssvr21.news.prodigy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-hackers

Well, I am running kernel-2.4.18-26. What's the limit on this baby?

"Christopher Browne" <cbbrowne(at)acm(dot)org> wrote in message
news:m3bs0hvfiv(dot)fsf(at)chvatal(dot)cbbrowne(dot)com(dot)(dot)(dot)
> Quoth "Partho Bhowmick" <pbhowmick(at)sbcglobal(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Byron A Jeff 2003-03-11 21:32:38 Re: Largest filesize under Linux
Previous Message Christopher Browne 2003-03-11 20:01:44 Re: Largest filesize under Linux

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2003-03-11 21:25:53 Re: ERROR: out of free buffers: time to abort!
Previous Message Tom Lane 2003-03-11 20:52:41 Re: ERROR: out of free buffers: time to abort!

Browse pgsql-hackers by date

  From Date Subject
Next Message Byron A Jeff 2003-03-11 21:32:38 Re: Largest filesize under Linux
Previous Message Merlin Moncure 2003-03-11 20:38:27 Re: Roadmap for FE/BE protocol redesign