linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: sandip shete <sandipshete@gmail.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: "MEDIUM FORMAT CORRUPTED" error
Date: Fri, 08 Jun 2007 10:01:26 +0200	[thread overview]
Message-ID: <46690CD6.4020709@torque.net> (raw)
In-Reply-To: <11021579.post@talk.nabble.com>

sandip shete wrote:
> Hi,
>   I recieved the following ASC/ASCQ values as Additional Sense data :
> 31/00.
>   I looked it up and found that it stands for "MEDIUM FORMAT CORRUPTED".
> Does it mean that the target disk has bad sectors?

That error may be reported after a disk is reset during a
FORMAT operation. Another related case is a media access
after a MODE SELECT is used to change the sector size (e.g.
from 512 to 528 bytes) and prior to a FORMAT command which
actually reformats the disk to 528 byte sectors.

So if a disk is reporting that ASC/ASCQ sequence for ever
media access, then you need to format it. In that case
sg_format in sg3_utils may be useful.

Doug Gilbert


      reply	other threads:[~2007-06-08  8:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08  7:15 "MEDIUM FORMAT CORRUPTED" error sandip shete
2007-06-08  8:01 ` Douglas Gilbert [this message]

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=46690CD6.4020709@torque.net \
    --to=dougg@torque.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sandipshete@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).