linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Wierdl Máté" <wierdlmate@gmail.com>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: superblock error after power failure ---on an old system
Date: Sat, 24 Apr 2010 08:39:50 -0500	[thread overview]
Message-ID: <h2v4dfc23d1004240639i4a8132c1x307f261a74b853cb@mail.gmail.com> (raw)
In-Reply-To: <20100424214744.284ccadc@notabene.brown>

2010/4/24 Neil Brown <neilb@suse.de>
>
> On Sat, 24 Apr 2010 06:18:57 -0500
> Wierdl Máté <wierdlmate@gmail.com> wrote:
>
> > Hello,
> >
> > I have an old Dell Poweredge 2500 server running Fedora Core 3. The
> > server  had one of its power units failed, and (I think) as a result,
> > the raid arrays got damaged: three of them stayed alive (though
> > degraded), but one is not accessible. Unfortunately, the server only
> > has a floppy drive which doesn't work now, and so I cannot get any
> > files, command outputs directly off the box.  I copy it all from the
> > screen.
> >
> > The array I cannot access is md3. It has the shared libraries on it so
> > many commands do not work. In particular, I cannot have remote access
> > to the box.
> >
> >  The output of
> >
> > mdadm -Es
> >
> > is (I am not copying the UUIDs)
> >
> > ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/sdb2,/dev/sdc2
> > ARRAY /dev/md2 level=raid1 num-devices=2 devices=/dev/sda6,/dev/sdc3
> > ARRAY /dev/md3 level=raid5 num-devices=3 devices=/dev/sda3,/dev/sdb1,/dev/sdc1
> > ARRAY /dev/md1 level=raid1 num-devices=2 devices=/dev/sda1,/dev/sda2
> >
> > Also
> >
> > md0  mounted at /
> > md2 mounted at /var
> > md1  mounted at /boot
> > md3 should be mounted at /home
> >
> > # cat /proc/mdstat
> > Personalities: raid1 raid5
> > md1: active raid1 sda2[1] sda1[0]
> >          104320 blocks [2/2] [UU]
> >
> > md2: active raid1 sda6[0]
> >          513984 blocks [2/1] [U_]
> >
> > md0: active raid1 sdc2[1]
> >         1534080 blocks [2/1] [_U]
> >
> > unused devices: none
> >
> > # mdadm --detail /dev/md3
> > mdadm: md device /dev/md3 does not appear to be active
> >
> > At somebody's suggestion I tried
> >
> > mdadm --assemble --scan /dev/md0
> >
> > and got
> >
> > /dev/sda has no superblock - assembly aborted
> >
> > Then tried
> >
> > mdadm  --force --run /dev/md3
> >
> > and got
> >
> > failed to run array /dev/md3: Invalid argument
> >
> > I finally tried
> >
> > # mdadm --assemble /dev/md3 /dev/sda3 /dev/sdb1 /dev/sdc1
> > mdadm: device 1 in  /dev/md3 has wrong state superblock, but /dev/sdb1 seems ok
>
> That looks close.  Just add "--force" to that and it will probably get
> you going.
>
> NeilBrown
>
>

Well, I now get, after rebooting:

/dev/md3: UNEXPECTED INCONSISTENCY; run fsck manually

So I did

fsck -y /dev/md3

and after running for about a minute or so, it gets into this

Too many illegal blocks in inode 8

and

Illegal block #6828 (39485860) in inode 8. CLEARED

Several lines of these, and then again

Too many illegal blocks in inode 8

The block number (#6828) changes but this loop never seems to end. I
aborted this, for now.  When I tried

mount /dev/md3 /home

I got: wrong fs type, bad option, bad superblock on md3

Máté
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-04-24 13:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <h2g4dfc23d1004240409s2409f02i2b99c50473ae4301@mail.gmail.com>
2010-04-24 11:18 ` superblock error after power failure ---on an old system Wierdl Máté
2010-04-24 11:47   ` Neil Brown
2010-04-24 13:39     ` Wierdl Máté [this message]
     [not found]     ` <i2h4dfc23d1004240608i16872c26i1a13c489d69ee0d@mail.gmail.com>
2010-04-24 13:42       ` Wierdl Máté

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=h2v4dfc23d1004240639i4a8132c1x307f261a74b853cb@mail.gmail.com \
    --to=wierdlmate@gmail.com \
    --cc=linux-raid@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 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).