ts-7000
[Top] [All Lists]

Re: [ts-7000] RE: SD card corruption problems

To:
Subject: Re: [ts-7000] RE: SD card corruption problems
From: Jim Jackson <>
Date: Fri, 14 May 2010 20:35:00 +0100 (BST)


On Thu, 13 May 2010, Steve Drake wrote:

> I have had some problems with SD card corruption on the TS-7350. The usual
> symptom was that the SBC would not properly boot to the SD card and start my
> application program. However, I was always able to reimage the SD card and
> get it to working condition again. So my cards were not permanently damaged,
> just the contents were corrupted. Your case sounds like the card was
> permanently damaged.
>
> In my case, I have been able to eliminate the card corruption problems by
> flushing the filesystem using the 'sync' command before powering down, and
> also running an fsck automatically on each boot to repair the filesystem in
> case any damage has occurred. I thought the journaling filesystem would make
> these measures unnecessary, but I was wrong.

No. The journalling filesystem is designed so that if the filesystem is 
NOT unmounted cleanly, e.g. power fail, then there should be information on 
the disk in the journal so that an fsck on power up can complete what was 
interupted. So the fsck on boot is needed. The repair should be quick 
even for a very large partition.

At least that's the theory - you can never design anything for all 
eventualities, but ext3 file systems do seem pretty good. Of course there 
is an overhead to this. For each write to a disk file there are 3 writes to 
the disk, there is a write of the operation and data to the journal, then 
the journal action is implemented and the real write to file is done, then 
the entry is cleared from the journal. So journalling filesystems stress 
flash memory more than non-journalled filesystems.

Jim


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU