1 |
Florian Philipp pisze: |
2 |
> On Fri, 2008-03-14 at 18:27 +0000, James wrote: |
3 |
> |
4 |
>> Hello, |
5 |
>> |
6 |
>> I have a firewall that is built pretty minimally on a P3 and |
7 |
>> and old 4 gig ide disk: |
8 |
>> |
9 |
>> /dev/hda3 2068348 1668104 400244 81% / |
10 |
>> /dev/hda1 100728 40452 60276 41% /boot |
11 |
>> |
12 |
>> I have a 4 gig Cf card (sandisk) and a ide-cf card that should |
13 |
>> make the CF card look like an ide hard drive. |
14 |
>> |
15 |
>> I've been searching for a wiki or something that describes the general |
16 |
>> sequence of events to migrate the existing gentoo system to the |
17 |
>> CF/ide disk, with no luck. |
18 |
>> |
19 |
>> I did find this page: |
20 |
>> http://gentoo-wiki.com/Mounting_a_block_device_with_JFFS2 |
21 |
>> |
22 |
>> |
23 |
>> But it seems vague(outdated) and missing many steps. Or |
24 |
>> am I confused? I'm just looking for some outline or verbose |
25 |
>> steps to replace an ide drive on a system with a CF/ide drive |
26 |
>> and jffs2, as I have many systems that I'd like to do this with, |
27 |
>> for core reliability on minimalistic gentoo servers. I plan |
28 |
>> on having additional space on these systems (when needed) |
29 |
>> via NFS. |
30 |
>> |
31 |
>> |
32 |
>> Any help or ideas are greatly appreciated. |
33 |
>> |
34 |
>> |
35 |
>> James |
36 |
>> |
37 |
>> |
38 |
> |
39 |
> As far as I know you won't need jffs2 (or any other fs for flash |
40 |
> memory). It is meant to be used on embedded devices that directly access |
41 |
> the flash memory. In your case, the CF-disk takes care of wear leveling. |
42 |
> Just use ext2. However, you could still get problems because, as far as |
43 |
> I know, wear leveling needs to be tuned for the FS and most probably no |
44 |
> one tuned the CF-disk for ext2. Maybe you could use fat instead... |
45 |
> |
46 |
I did this sort of system a while ago. I've used 1GB card with gentoo |
47 |
and cf-ide adapter. There are some tricky parts that nobody mentions. |
48 |
One of them is that I wasn't able to boot from my 1GB "hard drive" when |
49 |
it was connected via 80 pin ide cable, I've dig up some old 40 pin ata |
50 |
cable and it worked. |
51 |
Other things you have to remeber concern file system usage, you musn't |
52 |
create swap partition, disable local syslog, log rotation, turn |
53 |
everything except desired daemons etc. |
54 |
|
55 |
regards |
56 |
dexter |