lkml.org 
[lkml]   [1999]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Large disk partition over 300GB
Date
In article <cistron.slrn7okoe4.l8j.marc_news@magic.merlins.org>,
Marc MERLIN <marc_news@merlins.org> wrote:
>On 10 Jul 1999 22:30:01 -0700, Jeff - <jeff9n@hotmail.com> wrote:
>>disk is about 320GB. But the file system only see roughly 265GB. Is this a
>>limitation with the kernel or the file system? It is expected that the
>>capacity of the formatted partition will be less. But in this case the loss
>>is around 55GB (~ %18) which is quite significant.
>
>Reformat your partition with:
>mke2fs -b 4096 -i 16384 -m 0 -s 1 /dev/device
>
>You may want to read the mke2fs and decide whether you want to decrease -i a
>bit and maybe set -m to 1 instead of 0.

Ofcourse you realize that setting -m to 1 or worse, 0, will result
in a badly fragmented disk when it fills up and really bad performance.

The reason that 5% of disk space is reserved is to always have some
room left. The ext2 allocation algorithm needs this to prevent fragmentation.

The -b 4096 is good advice though, it should be the default on partions
bigger than 100 MB or so. -i 16384 also isn't bad if you don't plan on
storing lots (and that is _lots_) of small files.

Mike.
--
Beware of Programmers who carry screwdrivers.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.073 / U:1.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site