Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I wanted to run fsck to repair a VFAT filesystem on a 2GB SD card, on Fedora 12. I got an 'invalid argument' error as seen below. What does it mean in this context? Is it not possible to check a filesystem on a SD card?

$ fsck -t vfat /dev/sdd1
fsck from util-linux-ng 2.16.2
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
Seek to 2031225344:Invalid argument
share|improve this question
add comment

2 Answers

backup information, reparted and reformated sd card. or try windows System File Checker(fsc)

share|improve this answer
    
Well, I can not copy the files because the file system seems damaged. I wanted to try bringing it to an usable state so I can copy things off it. –  filmil Sep 24 '10 at 17:32
    
I think you may have meant chkdsk, rather than System File Checker. –  ThatGraemeGuy Nov 29 '10 at 19:40
add comment

Seems like a bug in dosfsck: https://bugzilla.redhat.com/show_bug.cgi?id=693662

Apparently, no update for Fedora 12.

Some more info can be found here: http://daniel-baumann.ch/gitweb/?p=software/dosfstools.git;a=blob;f=ChangeLog;hb=0d2c9bcd6ac21d1ef6fab5b563334fe1e1f743ba#l655

Consider compiling newer version from the sources or grab the rpm from Daniel's page. Good luck!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.