DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 5th January 2010
algkalv's Avatar
algkalv algkalv is offline
New User
 
Join Date: May 2008
Location: Oslo, Norway
Posts: 7
Thanked 0 Times in 0 Posts
Default Corrupted msdos filesystem on a compactflash card - recovery

Hei,

One of my CompactFlash cards has a corrupted filesystem, and I wonder if I can do anything about it to recover some of the photos I still have there.

I have tried to run fsck_msdosfs, and the result is this:

Code:
$ fsck_msdosfs -py /dev/da0s1
** /dev/da0s1
** Phase 1 - Read and Compare FATs
** Phase 2 - Check Cluster Chains
** Phase 3 - Checking Directories
** Phase 4 - Checking for Lost Files
297 files, 1152256 free (36008 clusters)

$ fsck_msdosfs -y /dev/da0
** /dev/da0
Invalid sector size: 20487
The dcim/101msdcf appears as a file, whereas it's normally a directory with jpeg files in it. Post mount:

Code:
$ file dcim/101msdcf 
dcim/101msdcf: ERROR: cannot read `dcim/101msdcf' (Argument list too long)
Do you have any hints as to what I could do to recover the files?
Reply With Quote
 

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disaster recovery best practices RandomSF FreeBSD General 8 7th December 2010 06:41 AM
Recovery CVsup files vigol FreeBSD Ports and Packages 1 5th December 2009 10:38 PM
data recovery. LateNiteTV FreeBSD General 8 29th August 2008 08:11 PM
dvd filesystem type chill FreeBSD General 6 17th June 2008 08:22 AM
Best Filesystem thavinci FreeBSD General 25 29th May 2008 03:32 PM


All times are GMT. The time now is 10:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick