From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JacBs-0007Uo-Ok for garchives@archives.gentoo.org; Sat, 15 Mar 2008 19:37:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28EFFE009F; Sat, 15 Mar 2008 19:37:10 +0000 (UTC) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by pigeon.gentoo.org (Postfix) with ESMTP id BE3F3E009F for ; Sat, 15 Mar 2008 19:37:09 +0000 (UTC) Received: by nf-out-0910.google.com with SMTP id f5so1708903nfh.26 for ; Sat, 15 Mar 2008 12:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type; bh=s6pJyPVJudIQWXE9Wq5dxa4KGXOO3f3V2Hcbzdzs23I=; b=L+WtScDwIjO/mGyPNusYh+6sE4PdGHPWBxC+oWP0QDfZD8/Uwr1tldrDQ8eJ6g5BlutqeGZSo6Eus7zh0qLPViEPdj0daLMY5dLK+6qbyayn6un9206JDeUYBWSxNv+Tg+c5ThSt0vIS37Yxe3gfHKOEuDQVUxHi93rs7itwq9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type; b=ESuIMOry7Ncv5/Q4buo04qRkls8z3y2VQt1Uq/l0DmcT30/7+dDpkrShZ2Wkakg96IJBG0J8hVP84sYjRKnK+mFs8Y6ioBHVFavqx8R8SbGfH9M4+Kk93uv0n8j1MPoO5ofxhu9XHCJzBosyDW81Ae8eTBmLN5GXdxdKFW6db+o= Received: by 10.78.171.20 with SMTP id t20mr4657374hue.24.1205609828832; Sat, 15 Mar 2008 12:37:08 -0700 (PDT) Received: from ?192.168.0.135? ( [62.21.45.185]) by mx.google.com with ESMTPS id b9sm22793623mug.12.2008.03.15.12.37.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 15 Mar 2008 12:37:07 -0700 (PDT) Message-ID: <47DC259C.50809@gmail.com> Date: Sat, 15 Mar 2008 20:38:04 +0100 From: dexters84 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] jffs2 on gentoo References: <1205578235.5566.28.camel@NOTE_GENTOO64.PHHEIMNETZ> In-Reply-To: <1205578235.5566.28.camel@NOTE_GENTOO64.PHHEIMNETZ> Content-Type: multipart/alternative; boundary="------------070001050504020901040500" X-Archives-Salt: 018c89ba-c620-4f46-9dc7-c72fdf561f7f X-Archives-Hash: 506258bdc7bd3471fada656d2e837a27 This is a multi-part message in MIME format. --------------070001050504020901040500 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Florian Philipp pisze: > On Fri, 2008-03-14 at 18:27 +0000, James wrote: > >> Hello, >> >> I have a firewall that is built pretty minimally on a P3 and >> and old 4 gig ide disk: >> >> /dev/hda3 2068348 1668104 400244 81% / >> /dev/hda1 100728 40452 60276 41% /boot >> >> I have a 4 gig Cf card (sandisk) and a ide-cf card that should >> make the CF card look like an ide hard drive. >> >> I've been searching for a wiki or something that describes the general >> sequence of events to migrate the existing gentoo system to the >> CF/ide disk, with no luck. >> >> I did find this page: >> http://gentoo-wiki.com/Mounting_a_block_device_with_JFFS2 >> >> >> But it seems vague(outdated) and missing many steps. Or >> am I confused? I'm just looking for some outline or verbose >> steps to replace an ide drive on a system with a CF/ide drive >> and jffs2, as I have many systems that I'd like to do this with, >> for core reliability on minimalistic gentoo servers. I plan >> on having additional space on these systems (when needed) >> via NFS. >> >> >> Any help or ideas are greatly appreciated. >> >> >> James >> >> > > As far as I know you won't need jffs2 (or any other fs for flash > memory). It is meant to be used on embedded devices that directly access > the flash memory. In your case, the CF-disk takes care of wear leveling. > Just use ext2. However, you could still get problems because, as far as > I know, wear leveling needs to be tuned for the FS and most probably no > one tuned the CF-disk for ext2. Maybe you could use fat instead... > I did this sort of system a while ago. I've used 1GB card with gentoo and cf-ide adapter. There are some tricky parts that nobody mentions. One of them is that I wasn't able to boot from my 1GB "hard drive" when it was connected via 80 pin ide cable, I've dig up some old 40 pin ata cable and it worked. Other things you have to remeber concern file system usage, you musn't create swap partition, disable local syslog, log rotation, turn everything except desired daemons etc. regards dexter --------------070001050504020901040500 Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Florian Philipp pisze:
On Fri, 2008-03-14 at 18:27 +0000, James wrote:
  
Hello,

I have a firewall that is built pretty minimally on a P3 and
and old 4 gig ide disk:

/dev/hda3              2068348   1668104    400244  81% /
/dev/hda1               100728     40452     60276  41% /boot

I have a 4 gig Cf card (sandisk) and a ide-cf card that should
make the CF card look like an ide hard drive.

I've been searching for a wiki or something that describes the general
sequence of events to migrate the existing gentoo system to the
CF/ide disk, with no luck.

I did find this page:
http://gentoo-wiki.com/Mounting_a_block_device_with_JFFS2


But it seems vague(outdated) and missing many steps. Or
am I confused? I'm just looking for some outline or verbose
steps to replace an ide drive on a system with a CF/ide drive
and jffs2, as I have many systems that I'd like to do this with, 
for core reliability on minimalistic gentoo servers. I plan
on having additional space on these systems (when needed)
via NFS.


Any help or ideas are greatly appreciated.


James

    

As far as I know you won't need jffs2 (or any other fs for flash
memory). It is meant to be used on embedded devices that directly access
the flash memory. In your case, the CF-disk takes care of wear leveling.
Just use ext2. However, you could still get problems because, as far as
I know, wear leveling needs to be tuned for the FS and most probably no
one tuned the CF-disk for ext2. Maybe you could use fat instead...
  
I did this sort of system a while ago. I've used 1GB card with gentoo and cf-ide adapter. There are some tricky parts that nobody mentions.
One of them is that I wasn't able to boot from my 1GB "hard drive" when it was connected via 80 pin ide cable, I've dig up some old 40 pin ata cable and it worked.
Other things you have to remeber concern file system usage, you musn't create swap partition, disable local syslog, log rotation, turn everything except desired daemons etc.

regards
dexter
--------------070001050504020901040500-- -- gentoo-user@lists.gentoo.org mailing list