From: Zoltan Boszormenyi <zboszor@dunaweb.hu>
To: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Is there a way to limit VFAT allocation?
Date: Tue, 17 Oct 2006 09:27:37 +0200 [thread overview]
Message-ID: <453485E9.7010502@dunaweb.hu> (raw)
In-Reply-To: <4533BD1E.3080804@lsrfire.ath.cx>
Rene Scharfe írta:
> Zoltan Boszormenyi schrieb:
>
>> Prakash Punnoor írta:
>>
>>> Am Montag 16 Oktober 2006 12:06 schrieb Zoltan Boszormenyi:
>>>
>>>
>>>> Is there a way to tell the VFAT driver to exclude
>>>> the last N sectors from the allocation strategy?
>>>>
>>>>
>>> Can't you mark that clusters as bad with a diskeditor?
>>>
>>>
>> Can you suggest one that works on Linux?
>> Or which bits should I change if I use LDE?
>> (lde.sourceforge.net)
>>
>
> Try mbadblocks, part of the Mtools package (http://mtools.linux.lu/).
> If it doesn't help, and you are brave, you may want to play with
> mdoctorfat, which comes with Mtools, too, but is hidden for some reason. :->
>
> René
>
Thanks. I have set up my /root/.mtoolsrc and:
# mbadblocks x:
plain_io: Input/output error
Bad cluster 63985 found
plain_io: Input/output error
Bad cluster 63986 found
plain_io: Input/output error
Bad cluster 63987 found
plain_io: Input/output error
Bad cluster 63988 found
plain_io: Input/output error
Bad cluster 63989 found
After unplugging the device didn't reformat itself.
Filling the disk seems to be working. It gives me
"disk full" without any new "Buffer I/O error on device sdc1"
or FAT panic messages in the kernel logs.
Thanks and best regards,
Zoltán Böszörményi
next prev parent reply other threads:[~2006-10-17 7:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 10:06 Is there a way to limit VFAT allocation? Zoltan Boszormenyi
2006-10-16 10:25 ` Prakash Punnoor
2006-10-16 10:57 ` Zoltan Boszormenyi
2006-10-16 17:10 ` Rene Scharfe
2006-10-17 7:27 ` Zoltan Boszormenyi [this message]
2006-10-16 10:37 ` Grzegorz Kulewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=453485E9.7010502@dunaweb.hu \
--to=zboszor@dunaweb.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=rene.scharfe@lsrfire.ath.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox