linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gil <gil@fooplanet.com>
To: Sandro Dentella <sandro@e-den.it>
Cc: Linux Raid List <linux-raid@vger.kernel.org>
Subject: Re: Hung rebuilding
Date: Thu, 30 Jun 2005 09:25:18 -0700	[thread overview]
Message-ID: <42C41CEE.6020602@fooplanet.com> (raw)
In-Reply-To: <20050630134537.GA14145@casa.e-den.it>

> Jun 30 14:40:31 srv-ornago kernel: hda: dma_intr: status=0x51 {
> DriveReady SeekComplete Error } Jun 30 14:40:31 srv-ornago
> kernel: hda: dma_intr: error=0x40 { UncorrectableError },
> LBAsect=15584452, sector=4194304 Jun 30 14:40:31 srv-ornago
> kernel: end_request: I/O error, dev 03:07 (hda), sector 4194304

This sequence usually indicates a bad block on the media.  If you
have enabled SMART on your disks, you can confirm this with

    smartctl -l error /dev/hda

You'll see a bunch of UNC errors.

> Jun 30 14:40:31 srv-ornago kernel: ide0(3,7):sh-2029: reiserfs
> read_bitmaps: bitmap block (#524288) reading failed Jun 30
> 14:40:31 srv-ornago kernel: ide0(3,7):sh-2014:
> reiserfs_read_super: unable to read bitmap

Worse yet it appears that your bad block contains a part of the
reiserfs superblock which would be why you can't mount the filesystem.

At first blush it would appear that the bad block is preventing the
resync from happening, but I'm no expert in the reading of mdadm -D.

>       srv-ornago:~# mdadm -D /dev/md3
>       /dev/md3:
> 	      Version : 00.90.00
> 	Creation Time : Wed Dec  8 12:28:15 2004
> 	   Raid Level : raid1
> 	   Array Size : 74340672 (70.90 GiB 76.12 GB)
> 	  Device Size : 74340672 (70.90 GiB 76.12 GB)
> 	 Raid Devices : 2
> 	Total Devices : 2
>       Preferred Minor : 3
> 	  Persistence : Superblock is persistent
>
> 	  Update Time : Thu Jun 30 12:53:14 2005
> 		State : dirty, degraded, recovering
>        Active Devices : 1
>       Working Devices : 2
>        Failed Devices : 0
> 	Spare Devices : 1
>
>        Rebuild Status : 0% complete
>
> 		 UUID : 1ea38e0e:050ac659:7e84e367:2d256edd
> 	       Events : 0.171
>
> 	  Number   Major   Minor   RaidDevice State
> 	     0       0        0        0      faulty removed
> 	     1      22        7        1      active sync
> /dev/ide/host0/bus1/target0/lun0/part7
>
> 	     2       3        7        2      spare rebuilding
> /dev/ide/host0/bus0/target0/lun0/part7


I'm confused by this because your I/O error is on hda according to
the kernel output, but hda should be the disk onto which the rebuild
would be writing.

>    Jun 30 14:33:48 srv-ornago kernel: md: cannot remove active
> disk ide/host0/bus0/target0/lun0/part7 from md3 ...

However, this error message seems to say that hda is, in fact, a
part of the array.

Someone with better mdadm -D kung-fu: what are your thoughts?

--Gil

  parent reply	other threads:[~2005-06-30 16:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30 13:45 Hung rebuilding Sandro Dentella
2005-06-30 15:38 ` Sandro Dentella
2005-06-30 16:25 ` Gil [this message]
2005-06-30 17:42   ` Sandro Dentella

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=42C41CEE.6020602@fooplanet.com \
    --to=gil@fooplanet.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=sandro@e-den.it \
    /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).