[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sat Feb 14 14:15:43 2004 -->
- <!--x-from-r13: hcf ng gerr.pbz (Egrcuna Gcubss) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Kernel comparison: Web serving on 2.4 and 2.6 -->
- <li><em>date</em>: Sat Feb 14 14:15:43 2004</li>
- <li><em>from</em>: ups at tree.com (Stephan Uphoff)</li>
- <li><em>in-reply-to</em>: Message from Christopher Fowler <[email protected]> of "14 Feb 2004 13:40:10 EST." <<a href="msg00494.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Kernel comparison: Web serving on 2.4 and 2.6</li>
Adding a -v to mke2fs won't hurt either.
Maybe you just need to specify the blocksize for mke2fs.
( -b 1024 )
To repeat the questions - only the kernel is different.
Everything else down to the used filesystems / directories
is the same ?
Stephan
> Here is how I create the fs
>
> dd if=/dev/zero of=fs.img bs=1024k count=32
> losetup /dev/loop1 ./fs.img
> mke2fs -m0 -i 1024 /dev/loop1
> mount /dev/loop1 ./fs
> cp -dpvR ../template/* ./fs
> umount ./fs
> losetup -d /dev/loop1
> gzip -9 fs.img
>
>
> On Sat, 2004-02-14 at 12:55, Stephan Uphoff wrote:
> > Chris Fowler wrote:
> > > I've experienced something weird on 2.6.
> > >
> > > We use a loopback device to create a filesystem for our embedded
> > > software. When I'm on 2.4 the image is created fine with ample free
> > > space on the ext2 fs. When I use 2.6 as the script is doing cp -dpvR
> > > ../template/* root/ it seems to run out of space on the image. The cp
> > > command can never finished. This problem has killed my plans on moving
> > > to 2.6 anytime soon.
> >
> > Are you using the same userland tools on 2.4 and 2.6 ?
> > Are you creating the loopback device on the same filesystem?
> > Take a look at the different filesystem layouts created by running
> > newfs on 2.4 and 2.6.
> > You probably have to specify some sane parameters for newfs if the
> > defaults no longer work for you.
> >
> >
> > Stephan
>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00494" href="msg00494.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00494.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00496.html">[ale] bioknoppix (Dow, isn't this your game?)</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00494.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00421.html">[ale] gkrellm and cpu temp / fan speed</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00495"><strong>Date</strong></a></li>
<li><a href="threads.html#00495"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>