All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Urlichs <matthias@urlichs.de>
To: linux-scsi@vger.kernel.org
Subject: Re: Low-level reformat with different sector size: ?
Date: Sat, 30 Jun 2007 15:30:01 +0000 (UTC)	[thread overview]
Message-ID: <f65stp$gk4$1@sea.gmane.org> (raw)
In-Reply-To: 4685B6E5.80204@torque.net

On Fri, 29 Jun 2007 21:50:29 -0400, Douglas Gilbert wrote:

> Umm, I hope you don't consider losing all the previous data
> on the disks when a re-format is performed as "screwing up"?

*Giggle* As I just got the disk, have no idea what's on it, and can't read
it in any case (OK, so I could use /dev/sg*...), that would be rather
silly.

No, I consider "reformat it in such a way that the disk now reports 512
bytes instead of 70 GBytes, total" or "brick it" to be screw-ups. Anything
else I can live with. If nothing else, German consumer code happily
gives me 14-day return rights, so if nothing else works I can send the
things back.

Right now, though, it looks like there's something else broken.
*This* does not look normal at all:

# sg_format --format --size=512 --count=-1 --verbose /dev/sg1
    inquiry cdb: 12 00 00 00 24 00 
    inquiry: requested 36 bytes but got 18 bytes
    S330L  !  C0     peripheral_type: disk [0x0]
      PROTECT=1
      << supports 'protection information'>>
    mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00 
    mode sense (10): requested 252 bytes but got 14 bytes
Mode sense (block descriptor) data, prior to changes:
  Number of blocks=2177429504 [0x81c8f000]
  Block size=2615479 [0x27e8b7]
Need to perform MODE SELECT (to change number or blocks or block length)
but (single) block descriptor not found in earlier MODE SENSE
#

This happens on all three disks, so it seems that either the OS or the
controller are screwing things up royally.  :-/

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
 - -
Accuracy:
	Exploded concept. Foolish, Platonic notion that we can get our facts
	straight.
		-- Fashionable Dictionary (www.butterfliesandwheels.com)


      reply	other threads:[~2007-06-30 15:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-29 15:34 Low-level reformat with different sector size: ? Matthias Urlichs
2007-06-29 15:50 ` James Bottomley
2007-06-30  2:04   ` Douglas Gilbert
2007-06-30  1:47 ` Douglas Gilbert
2007-06-30  1:50 ` Douglas Gilbert
2007-06-30 15:30   ` Matthias Urlichs [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='f65stp$gk4$1@sea.gmane.org' \
    --to=matthias@urlichs.de \
    --cc=linux-scsi@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.