User avatar
arunagirinathar
Posts: 8
Joined: Wed Mar 20, 2013 5:25 am
Location: India

"USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 9:45 am

Hello All,

"Namaste".


I just went through this post at

http://c-mobberley.com/wordpress/2013/0 ... o-usb-hdd/

and also a similar howto at

http://elinux.org/Transfer_system_disk_ ... _hard_disk

basically the earlier post mentions that USB "Thumb-drives" are less prone to FS corruption as compared to SD Cards.

Either I have read/understood it wrong, or there is some tech fundamental (that I am yet to learn of) that makes SD-cards different from USB Thumb-drives ??

I assume that at the physical layer since both use NAND-Chips, there should not be much difference in the way data is physically stored or retrieved (?).

So what makes USB-Thumbdrives more resilient to FS-Corruption than SD Cards, Especially during Power-failures during a read / write operation ?

Thank you.

Regards,
SRK.

User avatar
RaTTuS
Posts: 10829
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 9:51 am

no - it will be down to power / bad connections or bad kama
see

http://media.ccc.de/browse/congress/201 ... _xobs.html

for stuff about flash memory
Last edited by RaTTuS on Thu Jul 31, 2014 10:29 am, edited 1 time in total.
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
redhawk
Posts: 3465
Joined: Sun Mar 04, 2012 2:13 pm
Location: ::1

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 10:28 am

basically the earlier post mentions that USB "Thumb-drives" are less prone to FS corruption as compared to SD Cards.
My experience with memory cards have been the reverse except for maybe SmugMedia I guess it's all down to luck as they all essentially use the same technology though.
My Micro SD card in the Pi is well over 2 years old and showing no signs of wear damage yet, I also have other fully functioning SD cards and MagicGate sticks too.
As for USB memory sticks 2 have gone bad on me (cheap and nasty ones from Argos) and several other branded sticks that I have copied files with Windows only to find the next day they won't show the root folder.
Then there's SmartMedia - probably the worse memory card I've ever used in a digital camera. :o

Richard S.
Last edited by redhawk on Thu Jul 31, 2014 11:22 am, edited 1 time in total.

User avatar
arunagirinathar
Posts: 8
Joined: Wed Mar 20, 2013 5:25 am
Location: India

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 11:06 am

Hello,

I am currently watching that "interesting" video on Youtube ...

Will get back after that.

User avatar
arunagirinathar
Posts: 8
Joined: Wed Mar 20, 2013 5:25 am
Location: India

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 11:41 am

Thanks for the link; very illuminating; CF, SD, ... all NAND Based Storage technology is simply not very reliable.

User avatar
arunagirinathar
Posts: 8
Joined: Wed Mar 20, 2013 5:25 am
Location: India

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 11:50 am

I was just wondering...

Would it be any good to connect a good-old 5400 RPM 3.5" HDD to a through a USB External Case; mount the entire root FS (except the FAT16 Bootloader; since pi can only book from SD ) on that ... ?

In terms of performance it would most likely be much slower than SD or a "thumb-drive"; but I am sure, it would be much more reliable; albeit at being less Mobile and consuming more power .... ??

User avatar
RaTTuS
Posts: 10829
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 11:56 am

arunagirinathar wrote:Thanks for the link; very illuminating; CF, SD, ... all NAND Based Storage technology is simply not very reliable.
well yes and no .. it all depends ;)
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
DougieLawson
Posts: 42641
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 11:58 am

Use a USB2.0 2.5" enclosure with a SATA disk. That's going to be most reliable and give best possible performance (I'm ignoring SSD drives).

You will suffer from the SMSC9514 ethernet/USB controller being a bottleneck but it's probably going to be as good as running from an SDCard for the rootfs.

YMMV
Languages using left-hand whitespace for syntax are ridiculous

DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.

The use of crystal balls and mind reading is prohibited.

User avatar
RaTTuS
Posts: 10829
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 12:00 pm

DougieLawson wrote:Use a USB2.0 2.5" enclosure with a SATA disk. That's going to be most reliable and give best possible performance (I'm ignoring SSD drives).

You will suffer from the SMSC9514 ethernet/USB controller being a bottleneck but it's probably going to be as good as running from an SDCard for the rootfs.

YMMV
^WHS
2 of my RPI's have proper HD attached - BIG space and rootfs moved onto them - they seem faster in use and no issues
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

gkreidl
Posts: 6345
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: "USB-Sticks" Vs. SD Cards

Thu Jul 31, 2014 5:24 pm

arunagirinathar wrote:I was just wondering...

Would it be any good to connect a good-old 5400 RPM 3.5" HDD to a through a USB External Case; mount the entire root FS (except the FAT16 Bootloader; since pi can only book from SD ) on that ... ?

In terms of performance it would most likely be much slower than SD or a "thumb-drive"; but I am sure, it would be much more reliable; albeit at being less Mobile and consuming more power .... ??
No, it's definitely faster, especially when it comes to writing lots of small files. rpi-update, for example, runs three times (estimated) as fast as it does when using a SD card. I've got a very stable system with high overclock rates; read/write to an EXT4 formatted HD is between 25 and 29 MBytes/sec. since I moved the roos FS to HDD.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
arunagirinathar
Posts: 8
Joined: Wed Mar 20, 2013 5:25 am
Location: India

Re: "USB-Sticks" Vs. SD Cards

Fri Aug 01, 2014 4:08 pm

Hello all,

Thanks for the great feedback !

I have an old 40GiG 5400RPM Disk from circa 2002 lying around (and it's mostly good). Will simply use it. My main use is a LAMP setup.

Thanks again.

User avatar
Richard-TX
Posts: 1549
Joined: Tue May 28, 2013 3:24 pm
Location: North Texas

Re: "USB-Sticks" Vs. SD Cards

Sat Aug 02, 2014 5:07 pm

What really works well on a Rpi is a small solid state drive and USB adapter. The drive draws almost no current compared to a standard HDA. I am building a RPI development station and a SSD is a key part of that.
Richard
Doing Unix since 1985.
The 9-25-2013 image of Wheezy can be found at:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2013-09-27/2013-09-25-wheezy-raspbian.zip

User avatar
RaTTuS
Posts: 10829
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: "USB-Sticks" Vs. SD Cards

Mon Aug 04, 2014 7:51 am

Richard-TX wrote:What really works well on a Rpi is a small solid state drive and USB adapter. The drive draws almost no current compared to a standard HDA. I am building a RPI development station and a SSD is a key part of that.
my media server RPi is a 128GB SSD + USB to SATA adapter and an old RPi [256MB] - it's root partition is on the SSD.
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Return to “Off topic discussion”