Altera_Forum
Honored Contributor
16 years agoJFS corrupt data recovery after power loss
In preparation for a Custom board I'm using the Cyclone II Eval board with the Compact Flash to record data.
I need a quick boot - which I've accomplished. (5-8 seconds) The next step was what "fsck" will be the fastest to maintain my fast boot. I know there will be power losses while I'm writing data and - The system can be running for 1 hour before the power is cycled and I've found with the NiosII running at 100 MHz 1. EXT3 "fsck" can take over 2 minutes !! 2. EXT4 "fsck" -- almost as bad 3. JFS "fsck" -- 30 seconds (which I can live with) However, the data in the JFS file is CORRUPTED whereas with EXT3/4 the data is fine. I've never used the JFS filesystem before so I'm wondering WHAT AM I DOING WRONG? Are there settings when I format? SHould I tune it in some way. Thanks in advance.