Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2019 17:50:27 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@FreeBSD.org>
Subject:   Recover failed SD card
Message-ID:  <2341a9ac-42aa-737e-441f-b69cccc826c6@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.

A customer of mine gave me an SD card which is quite surely failing.
I'm trying to recover what I can.



I first tried using an USB based reader: altough the SD card should be 
4GB in size, dd just copies 121MB. So does recoverdisk.
"camcontrol readcap /dev/da3" gives:
> Last Block: 248319, Block Length: 512 bytes
which agains means about 121MB.

I put the card in another box and i get:
> mmcsd0: 127MB <SD  0.0 SN 00000000 MFG 00/0000 by 0x0000> at mmc0 0.4MHz/4bit/65535-block



Is there any way I can get beyond this 121-127MB limit and read what I 
can of the rest?
I looked into camcontrol's man page, but came up with no idea.

The card should hold pictures, so I could go ahead with photorec once I 
got an even partial image.

  bye & Thanks
	av.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2341a9ac-42aa-737e-441f-b69cccc826c6>