LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-29-2012, 09:11 AM   #1
5883
Member
 
Registered: Aug 2004
Posts: 173

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
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
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
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
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
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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
5883
Member
 
Registered: Aug 2004
Posts: 173

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 !

Quote:
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.
 
  


Reply



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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 02:20 PM.

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