Re: What to do about the 2TB limit on HDIO_GETGEO ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Theodore Tso
Date: Tuesday, March 25, 2008 - 1:51 pm

On Tue, Mar 25, 2008 at 12:47:50PM -0400, Theodore Tso wrote:

Whoops, screwed up my math.  The block bitmap for a 2TB filesystem is
64 megs, not 512 megs.  2*41 / 2**12 / 2**3 == 2**26, or 64mb.  E2fsck
in the worst case will allocate 5 inode bitmaps and 3 block bitmaps,
plus various arrays for directory blocks and keeping track of
refcounts (which are optimized for counnts of 0 and 1, so lots of hard
links will blow up your memory usage, although we do have a tdb option
which helps in that particular case).  So I'd say that most of the
time 3GB of address space should really be enough for a 2TB raid
array, unless you get really pathalogical corruption cases.

							- Ted
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Mark Lord, (Tue Mar 25, 6:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Greg Freemyer, (Tue Mar 25, 6:51 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 7:31 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Andrew Paprocki, (Tue Mar 25, 8:25 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Matthew Wilcox, (Tue Mar 25, 8:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 8:48 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 9:47 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 1:51 pm)