From: card@masi.ibp.fr (Remy CARD) Subject: Re: mke2fs hangs, does nothing Date: Mon, 17 May 1993 11:57:00 GMT
In article <s_fuller.737353618@vincent2.iastate.edu> s_fuller@iastate.edu (Steve Fuller) writes:
>In <1993May13.130940.28059@lugb.latrobe.edu.au> cs416530@lux.latrobe.edu.au (Matthew I Gillard) writes:
>
>>In article <1Zoc4B1w164w@rwa.nbg.sub.org> robert@rwa.nbg.sub.org (Robert Wachter) writes:
>>>blhuber@major.cs.mtu.edu (Brett L. Huber) writes:
>>>
>>>
>>>> I then ran mke2fs, which spits out a few lines and hangs. There is no
>>>> message concerning lack of memory, although from other's posts I get
>>>> the odd impression that my 4meg RAM is not enough.
>>>
>>>You already know the answer: 4 MB is NOT enough. I had the same problem,
>>>but it did work after I installed swap.
>>>
>>I am using 4 Meg of RAM and it worked just fine....
>
>4 might or might not be enough, depending on the size of the
>partition that you are trying to create with mke2fs. It keeps a
>copy of some of the tables in memory, and if you try to make a
>large partition (like 180 meg ) it will run out of memory.
>
>Above example is from experience, your mileage may vary...
Old version of mke2fs needed lots of memory because they used to
keep a copy of the inode table in memory. The latest version (0.3) is much
better and you should consider upgrading if you encounter these problems.
I have just made a test with the latest version of mke2fs : when
creating a 1Gb file system, ps shows that mke2fs uses around 700 Kb of memory.
>
>>--
>>-----------------------------------------------------------------------------
>>Matthew Gillard, | Blessed are they who run around
>>Computer Systems Engineering, | in circles, for they shall be
>>La Trobe University, | known as wheels.
>--
>---------------------=------------------------------
>Steve Fuller =
>s_fuller@iastate.edu = No witty quote here yet...
>---------------------=-----------------------------
Remy