linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brown <david.brown@hesbynett.no>
To: linux-raid@vger.kernel.org
Subject: Re: Server down-fail​ed RAID5-asking for some assistance
Date: Thu, 21 Apr 2011 21:59:36 +0200	[thread overview]
Message-ID: <ioq2b8$3rl$1@dough.gmane.org> (raw)
In-Reply-To: <BANLkTi=81WTykGQ2TXaf7xGEsL-Gkf+Qrw@mail.gmail.com>

On 21/04/11 20:29, John Valarti wrote:
> Hi there.
> Please pardon my lack of experience and expertise here, as this is my
> first time posting.
>
> Where I work there is a fairly old fileserver.
> It is running CentOS 4, kernel 2.6.9-100EL
> Recently it failed and it tries to boot, but fails part way with:
> RAID5: not enough operational device for md1 (2/4 failed).
>
> This machine has data for a number of users, and, of course it seems
> the backup has not been roperly done for a few months ( responsible
> staff member left).
> I am in the position of being teh only likely person with a chance of
> recovering the data for a few users on this machine.
> And I am certainly NOT an expert!
>
> So, here is what I have done so far:
> On further inspection, I disconnected the drives out one at a time and
> determined which 2 are "failed".
> I pulled those out, and on another machine ran Seagate Seatest for
> Linux to test them.
> They both came out as healthy, although one apparently has a lot of
> uncommited bad sectors, or so the disk tool on a Fedora14 mchine tells
> me.
> I looked and see the layout is each of the 4 disks present have 2 partitions.
> After testing I was able to see the partitions on each disk with fdisk.
> I did not try to mount as these are simply RAID members, and I know
> there is no complete filesystem to mount on any single drive here.
>
> First partiton on each drive is small,  /boot, and it seems to be
> RAID1 on all 4 drives.
> Those are healthy enough to get partially into a boot.
>
> The machine still boots to the point of trying to get access to / and
> then kernel panics.
> The / and other parts are on a RAID5 made from the second partiton of
> the 4 disks.
>
> I have returned all 4 disks to the machine, and using CentOS
> install/recovery media, have teh machine up
> in rescue mode.
> At this point I believe that I need to rebuild the RAID5.
>
> I understand that I probably only get one chance to do this right, so
> I write here today
> to beg some help with this.
>   I do not lose other peoples data,
>
> Can anyone make me a suggestion?
>
>
> Thaks in advance for any help !
>

My first thought would be to get /all/ the disks, not just the "failed" 
ones, out of the machine.  You want to make full images of them (with 
ddrescue or something similar) to files on another disk, and then work 
with those images.  Don't touch the original disks - you will very 
quickly lose any chance you have of recovering your data.  But once 
you've got the images, you can copy them and try out recovery strategies 
- all it costs is some disk space and some time, and you've no risk of 
making things worse.

Once you've got some (hopefully most) of your data recovered from the 
images, buy four /new/ disks to put in the machine, and work on your 
restore.  You don't want to reuse the failing disks, and probably the 
other two equally old and worn disks will be high risk too.



  reply	other threads:[~2011-04-21 19:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-21 18:29 Server down-fail​ed RAID5-asking for some assistance John Valarti
2011-04-21 19:59 ` David Brown [this message]
     [not found]   ` <BANLkTim18Sx6JdZO5PiAqnrakDPzy5PNJQ@mail.gmail.com>
2011-04-22  2:32     ` John Valarti
2011-04-22  2:57       ` Server " NeilBrown
2011-04-22  3:31         ` John Valarti
     [not found]         ` <BANLkTin0SoBzRAear8Jt+26MnVJWouXoNA@mail.gmail.com>
     [not found]           ` <20110423074411.78fef94f@notabene.brown>
     [not found]             ` <BANLkTik_ZY4uoV3E=ua1p+tUD9g8xqQDVg@mail.gmail.com>
     [not found]               ` <20110423184824.55ee7893@notabene.brown>
     [not found]                 ` <BANLkTi=sCfFFfmZTzj2g8-aDNhDqVK8e-A@mail.gmail.com>
     [not found]                   ` <20110424075101.6763309f@notabene.brown>
2011-04-24  0:07                     ` John Valarti
2011-04-24  0:37                       ` John Robinson
2011-04-24  1:49                         ` John Valarti
2011-04-24  2:12                           ` John Robinson
2011-04-24  2:28                             ` John Valarti
2011-04-24  2:58                               ` NeilBrown
2011-04-24  6:30                                 ` John Valarti
2011-04-24  2:54                       ` NeilBrown
2011-04-24  7:06                         ` John Valarti
2011-04-24  8:41                           ` NeilBrown
2011-04-24 11:57                             ` John Robinson
2011-04-24 12:29                               ` NeilBrown
2011-04-24 16:04                                 ` John Valarti
2011-04-24 16:15                                   ` John Valarti
2011-04-24 16:31                                     ` Mathias Burén
2011-04-24 18:41                                       ` John Valarti
2011-04-22 11:19       ` David Brown

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='ioq2b8$3rl$1@dough.gmane.org' \
    --to=david.brown@hesbynett.no \
    --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).