Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: SCSI HD trubble
Date: Thu, 15 Mar 2001 17:21:04 -0700	[thread overview]
Message-ID: <20010315172104.A31840@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <3AB158EA.441BA378@tn.utwente.nl>; from A.Dergatchev@tn.utwente.nl on Fri, Mar 16, 2001 at 01:06:02AM +0100

On Fri, Mar 16, 2001 at 01:06:02AM +0100, Andrei A. Dergatchev wrote:
> Michal Jaegermann wrote:
> > There is 'badblocks' utility on your system and 'e2fsck' will use
> > it automatically when called with '-c' flag.  Try 'man badblocks'
> > and 'man e2fsck'; in the later case flags '-c' and '-l' in particular.
> 
> I'm wondering about this '-l|-L" option - man page doesn't say
> anything about expected format of this file. Will a list like
> 0x000000001
> ...
> 0x100000000
> do ?

This is what documentation says:

       -o output_file
              Write the list of bad blocks to the specified file.
              Without this option, badblocks displays the list on
              its  standard  output.   The format of this file is
                                         ^^^^^^^^^^^^^^^^^^^^^^^
              suitable for use by the -l option in  e2fsck(8)  or
              ^^^^^^
              mke2fs(8).

I am afraid that I do not know much more but it should be easy
to find that from sources what is this format if you do not have
any bad blocks. :-)

> Just curious, got a few bad blocks on my drive which neither
> low level format (SCSI 06 that is) nor reassign (07) can deal with :-((

In theory 'e2fsck -fc <device>' should do that for you (these blocks
will be marked as "used" in your file system) but I never tried that
myself.  '-c' runs badblocks as a subprocess.

  Michal




  reply	other threads:[~2001-03-16  0:21 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-15 20:53 SCSI HD trubble Paul Bunn
2001-03-15 23:51 ` Michal Jaegermann
2001-03-16  0:06   ` Andrei A. Dergatchev
2001-03-16  0:21     ` Michal Jaegermann [this message]
2001-03-16  0:42       ` Andrei A. Dergatchev
2001-03-16  0:54         ` Michal Jaegermann
2001-03-16  7:25           ` Helge Kreutzmann
2001-03-16 14:04   ` Alan P. Kennedy, Sr
2001-03-16 15:27   ` Alan P. Kennedy, Sr
2001-03-16 21:58 ` RHCE Peter Watkinson
2001-03-16 23:33   ` RHCE Jerry Winegarden
  -- strict thread matches above, loose matches on Subject: below --
2001-04-24 14:04 SCSI HD trubble Haniel Mercedes
2001-03-22 20:45 Paul Bunn
2001-03-22 18:22 KirkE
2001-03-22 17:16 Paul Bunn
2001-03-22 18:16 ` Uncle George
2001-03-19 17:45 Paul Bunn
2001-03-18 17:11 KirkE
2001-03-19  6:11 ` Alexey Chupakhin
2001-03-17  0:59 Paul Bunn
2001-03-17 17:10 ` Michal Jaegermann
2001-03-16 16:27 Paul Bunn
2001-03-16 22:17 ` Uncle George
2001-03-16 22:25   ` Andrei A. Dergatchev
2001-03-16 22:27     ` Andrei A. Dergatchev
2001-03-19 11:43     ` Uncle George
2001-03-19 18:36       ` Andrei A. Dergatchev
2001-03-19 20:43         ` Sebastian Moeller
     [not found]         ` <3AB66A3B.6353D457@voicenet.com>
     [not found]           ` <3AB679F9.C935D2E5@tn.utwente.nl>
2001-03-22 16:23             ` Uncle George
2001-04-24  0:06         ` Bill Beers
2001-04-24  4:04           ` Uncle George
2001-03-15 18:57 Hoover, Tony
2001-03-15 18:49 KirkE
2001-03-15 19:00 ` Steve
2001-03-12 14:06 Everyone's SRM woes Rich Payne
2001-03-12 14:38 ` alvin
2001-03-13  6:09   ` Maurice Hilarius
2001-03-15  8:09     ` AVI/ Mpeg4 player Alexey Chupakhin
2001-03-15  8:49       ` francis Hauguet
2001-03-15 18:10         ` SCSI HD trubble Alexey Chupakhin
2001-03-15 18:54           ` Steve
2001-03-16 10:14             ` Uncle George
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox