lkml.org 
[lkml]   [1998]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: atomicity
Date
  Johnny Teveßen <j.tevessen@gmx.net> writes:
> Quoting Florian Weimer (fw@cygnus.stuttgart.netsurf.de):
>
> > If that fragments your file system, then don't do that. That's the
> > reason why you should only use about 90% of the total capacity of an
> > ext2fs
>
> Nice said. My filesystems (6) are all between 96 and 100%. I'd like
> to have them fragmented.
>
You mean "defragmented". ;-)

> > (by default, the last 5% are reserved for the superuser anyway).
> Can't afford that.
>
Do a full backup and repartition all of them (excluding root and swap of
course ;-) into one huge MD array. Then mke2fs the thing with sparse super-
blocks and an intelligent (i.e. not ten times as many as you'll need)
number of inodes.

You now have more free space than before, and fragmentation will be down,
both because you just restored everything ;-) and because with a bigger
disk more free blocks will actually be adjacent. (Do the math yourself...
The topic came up a few months ago WRT memory blocks.)

--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661

-
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:45    [W:0.058 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site