From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 4CC5C2F139 for ; Thu, 15 Mar 2001 19:21:26 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f2G0MfY03873 for axp-list@listman.redhat.com; Thu, 15 Mar 2001 19:22:41 -0500 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f2G0MeV03866 for ; Thu, 15 Mar 2001 19:22:40 -0500 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id RAA31843 for axp-list@redhat.com; Thu, 15 Mar 2001 17:21:04 -0700 Date: Thu, 15 Mar 2001 17:21:04 -0700 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: SCSI HD trubble Message-ID: <20010315172104.A31840@ellpspace.math.ualberta.ca> References: <60C3F0B752909B428D39EA63B4352E9904225C@velma.ultrabac.com> <20010315165105.A31795@ellpspace.math.ualberta.ca> <3AB158EA.441BA378@tn.utwente.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB158EA.441BA378@tn.utwente.nl>; from A.Dergatchev@tn.utwente.nl on Fri, Mar 16, 2001 at 01:06:02AM +0100 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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 ' 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