Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #410431
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | sci.electronics.design, comp.arch.embedded, comp.sys.raspberry-pi |
| Subject | Re: Verifying SD Cards |
| Date | 2016-05-04 10:17 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <ngcb0v$ccv$1@dont-email.me> (permalink) |
| References | <ngadte$bmo$1@dont-email.me> |
Cross-posted to 3 groups.
On 03/05/16 16:54, rickman wrote: > I found an eBay vendor with a really *great* price on 64 GB microSDXC > cards and ordered one ($11.50 shipped). It was shipped from within the > US so it came in a few days. I've used H2testw to verify that it really > is 64 GB and got this message... "Warning: Only 61052 of 61053 MByte > tested." A dialog pops up saying this is normal if you are using NTFS, > but I formatted it in exFAT. So is this a problem? > > The intended use is in the rPi, so I will try firing that up later today > and see if I can run a similar test there. I'd like to verify the speed > of the card. What utility would be good for that? > > If the card checks out I'm going to order several more. > (Note - I haven't tried any of this, but it is how I would expect to test such a card. I really hope my suggestions don't break your card or anything else, but as I say, it is untested. And be /really/ careful to make sure you use the right block device names!) You are going to be using the card with the rPi, and that means Linux. You might find it more convenient to test on a PC with a USB card reader. Your obvious first test is then: hdparm -t -T /dev/mmcblk0 (to test read speeds). To check that the card /really/ supports 64 GB, there is only one good way - write 64 GB to it, read it back, and compare the results. That means you first need a file of at least 64 GB that contains a variety of data. You can make a nice one like this: dd if=/dev/urandom of=sampleFile bs=1M count=65536 But you could also just attach a USB hard drive of at least 64GB, with a whole bunch of data on it. Just make sure the filesystem on the drive is not mounted - you don't want it to change during the test. Write your file to the SDCard: time dd if=sampleFile of=/dev/mmcblk0 bs=1M count=65536 or time dd if=/dev/sdb of=/dev/mmcblk0 bs=1M count=65536 (Assuming the USB drive is on /dev/sdb) The time output will let you calculate the sequential write speed, and any errors might show you that the size is less than 64GB Then compare the data written to the original: time cmp sampleFile /dev/mmcblk0 or time cmp /dev/sdb /dev/mmcblk0 If you get a message saying the files differ, that shows the limit of working flash. This process not only checks that the card is not fake, it also checks that it is not damaged or worn out. Then you can start using card. If you are using it exclusively for the Pi, you can use a proper filesystem rather than NTFS or exFAT. ext4 works fine, but for something smarter you can use btrfs along with lzo compression and "dup" to save you from bit errors. Remember also that with Linux, you can partition your SDCard if you want.
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 10:54 -0400
Re: Verifying SD Cards David Taylor <david-taylor@blueyonder.co.uk.invalid> - 2016-05-03 17:52 +0100
Re: Verifying SD Cards Marte Schwarz <marte.schwarz@gmx.de> - 2016-05-03 19:17 +0200
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 14:34 -0400
Re: Verifying SD Cards "Dr. Dynamite" <ka-bang@mail.com> - 2016-05-03 12:26 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 16:31 -0400
Re: Verifying SD Cards "Dr. Dynamite" <ka-bang@mail.com> - 2016-05-03 20:40 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 00:44 -0400
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 03:50 -0400
Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-04 09:25 +0100
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:06 -0400
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 13:22 -0400
Re: Verifying SD Cards Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-05-04 18:41 +0100
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 14:15 -0400
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 14:21 -0400
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 14:46 -0400
Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 12:24 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 17:03 -0400
Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 14:36 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 18:44 -0400
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 19:08 -0400
Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-04 18:17 -0500
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 21:47 -0400
Re: Verifying SD Cards Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-04 21:35 -0400
Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-05 07:47 +0100
Re: Verifying SD Cards Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-05-05 14:30 +0200
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 08:47 -0400
Re: Verifying SD Cards Martin Gregorie <martin@address-in-sig.invalid> - 2016-05-05 13:19 +0000
Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-05 20:19 +0100
Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-05 19:51 -0500
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 21:55 -0400
Re: Verifying SD Cards Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-05 20:16 -0400
Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 18:45 -0700
Re: Verifying SD Cards Clifford Heath <no.spam@please.net> - 2016-05-05 11:28 +1000
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 23:05 -0400
Re: Verifying SD Cards Clifford Heath <no.spam@please.net> - 2016-05-05 14:12 +1000
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 01:45 -0400
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 07:11 -0400
Re: Verifying SD Cards John Doe <always.look@message.header> - 2016-05-06 05:25 +0000
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-06 02:45 -0400
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-06 05:10 -0400
Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 20:18 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 00:33 -0400
Re: Verifying SD Cards Clifford Heath <no.spam@please.net> - 2016-05-05 09:02 +1000
Re: Verifying SD Cards alister <alister.ware@ntlworld.com> - 2016-05-05 12:17 +0000
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 08:43 -0400
Re: Verifying SD Cards The Natural Philosopher <tnp@invalid.invalid> - 2016-05-05 13:45 +0100
Re: Verifying SD Cards alister <alister.ware@ntlworld.com> - 2016-05-05 15:32 +0000
Re: Verifying SD Cards Rob <nomail@example.com> - 2016-05-05 17:00 +0000
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-05 15:23 -0400
Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-05 20:37 +0100
Re: Verifying SD Cards Rob Morley <nospam@ntlworld.com> - 2016-05-06 03:09 +0100
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 21:53 -0400
Re: Verifying SD Cards Rob Morley <nospam@ntlworld.com> - 2016-05-06 03:23 +0100
Re: Verifying SD Cards Lasse Langwadt Christensen <langwadt@fonz.dk> - 2016-05-05 19:32 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 22:39 -0400
Re: Verifying SD Cards Jasen Betts <jasen@xnet.co.nz> - 2016-05-06 10:39 +0000
Re: Verifying SD Cards The Natural Philosopher <tnp@invalid.invalid> - 2016-05-06 13:14 +0100
Re: Verifying SD Cards Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2016-05-06 15:35 +0300
Re: Verifying SD Cards George Neuner <gneuner2@comcast.net> - 2016-05-06 13:29 -0400
Re: Verifying SD Cards Ahem A Rivet's Shot <steveo@eircom.net> - 2016-05-06 18:26 +0100
Re: Verifying SD Cards Jasen Betts <jasen@xnet.co.nz> - 2016-05-06 22:39 +0000
Re: Verifying SD Cards Rob <nomail@example.com> - 2016-05-07 07:20 +0000
Re: Verifying SD Cards Martin Gregorie <martin@address-in-sig.invalid> - 2016-05-07 08:18 +0000
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 04:38 -0400
Re: Verifying SD Cards Jasen Betts <jasen@xnet.co.nz> - 2016-05-07 11:29 +0000
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 07:52 -0400
Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-07 13:04 +0100
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 08:49 -0400
Re: Verifying SD Cards JW <none@dev.null> - 2016-05-11 09:54 -0400
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-11 10:50 -0400
Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-11 18:59 +0100
Re: Verifying SD Cards mm0fmf <none@invalid.com> - 2016-05-07 10:06 +0100
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-07 08:48 -0400
Re: Verifying SD Cards Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2016-05-07 12:01 +0200
Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-08 15:29 -0500
Re: Verifying SD Cards Robert Wessel <robertwessel2@yahoo.com> - 2016-05-04 16:03 -0500
Re: Verifying SD Cards Martin Riddle <martin_rid@verizon.net> - 2016-05-04 15:42 -0400
Re: Verifying SD Cards Marte Schwarz <marte.schwarz@gmx.de> - 2016-05-04 23:17 +0200
Re: Verifying SD Cards Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-05-04 20:37 +0100
Re: Verifying SD Cards Marte Schwarz <marte.schwarz@gmx.de> - 2016-05-04 23:21 +0200
Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-05 07:41 +0100
Re: Verifying SD Cards Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-04 21:20 -0400
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-05 00:40 -0400
Re: Verifying SD Cards Bryan Hogan <spam@nowhere.invalid> - 2016-05-07 02:30 +0100
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-06 22:03 -0400
Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 13:42 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-03 17:33 -0400
Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 20:43 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 00:02 -0400
Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 21:40 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 01:12 -0400
Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-03 23:55 -0700
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 03:46 -0400
Re: Verifying SD Cards Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-05-04 11:45 +0100
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:09 -0400
Re: Verifying SD Cards mike <ham789@netzero.net> - 2016-05-04 02:24 -0700
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 08:08 -0400
Re: Verifying SD Cards Ahem A Rivet's Shot <steveo@eircom.net> - 2016-05-04 14:40 +0100
Re: Verifying SD Cards "Kerr Mudd-John" <admin@127.0.0.1> - 2016-05-04 15:14 +0100
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 13:25 -0400
Re: Verifying SD Cards DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-04 13:18 -0400
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:14 -0400
Re: Verifying SD Cards Martin Riddle <martin_rid@verizon.net> - 2016-05-03 16:50 -0400
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-04 10:15 -0400
Re: Verifying SD Cards David Brown <david.brown@hesbynett.no> - 2016-05-04 10:17 +0200
Re: Verifying SD Cards rickman <gnuarm@gmail.com> - 2016-05-11 14:58 -0400
Re: Verifying SD Cards Paul Rubin <no.email@nospam.invalid> - 2016-05-11 12:08 -0700
Re: Verifying SD Cards Rob Morley <nospam@ntlworld.com> - 2016-05-11 21:06 +0100
Re: Verifying SD Cards druck <news@druck.org.uk> - 2016-05-11 21:19 +0100
csiph-web