Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


LinkBack Search this Thread
Old 09-29-2012, 09:11 AM   #1
Registered: Aug 2004
Posts: 144

Rep: Reputation: 0
Is SD solid enough as primary storage for file system in embedded system ?

used to use nand for linux fs in arm board, was ok,
now use SD, with ext2 fs, every once a while "cp some file" could case fs corruption.

this happened in multiple boards.

so is this the bad designing using SD as file system media,
or something wrong with the SD cards ?

any suggestions ?
Old 09-29-2012, 11:32 AM   #2
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
There might be several causes;

Could be...
SD quality,... The cards might not be rated fast enough for the file read/write operations

Firmware... The firmware might not support large file transfers (e.g.: some Android kernels)

SD card "spent"... All current SD cards,only support so many write operations before failing to be able to write any longer. Older cards support fewer writes than more modern cards with modern wear leveling techniques.

Or something else entirely, that I haven't thought of...
Old 09-29-2012, 04:30 PM   #3
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
I'd think some power issue/power quality. Good case for cheap SD cards (cheap controller). Poor connections. EMI/RFI/poorly or ineffective shielding. Temps of system? Just because you have many boards it could still be that as fault or the OS. Wrong settings on how the SD is mounted or speeds or support like dma.

SD cards are used in millions of small systems.

In an odd way, some sd's could be too fast for some OS choices. Could easily be too slow.

Most of these board makers make claims based on some specs like the type and brand of SD even. Contact them maybe for their supported list.

I'd get a high quality SD and try it again.

Last edited by jefro; 09-29-2012 at 04:31 PM.
Old 09-30-2012, 10:16 AM   #4
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,882
Blog Entries: 1

Rep: Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307Reputation: 1307
Moderator Response

Moved: This thread is more suitable in <Linux-Embedded> and has been moved accordingly to help your thread/question get the exposure it deserves.
Old 09-30-2012, 11:20 AM   #5
Registered: Aug 2002
Posts: 11,539

Rep: Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676
Can you post the make/model of your arm board?
Do you perform a shutdown or just pull power to the board?
Old 09-30-2012, 01:27 PM   #6
Registered: Aug 2004
Posts: 144

Original Poster
Rep: Reputation: 0
we build our own boards using at91sam9g45 in house,
no shutdown/power cycle, just normal mount/cp etc.

i'll grab more details tomorrow.
thx !

Originally Posted by michaelk View Post
Can you post the make/model of your arm board?
Do you perform a shutdown or just pull power to the board?

Last edited by 5883; 09-30-2012 at 01:44 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File System for embedded system nima0102 Linux - Security 3 11-19-2010 03:12 PM
File system for embedded system nima0102 Linux - General 2 05-04-2010 12:01 AM
XFS File system on my storage Linux Fan Linux - Hardware 1 05-20-2009 04:25 AM
FTL and file system to be used for Solid State Device(SSD) AbhijitK Linux - Embedded & Single-board computer 1 01-17-2009 09:01 AM
Which File Storage System is best whyrus Linux - Networking 4 12-27-2006 12:00 PM

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration