All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Thompson <mark@ruthless.ws>
To: Linux Raid <linux-raid@vger.kernel.org>
Subject: Trashed Raid 5 software array
Date: Sun, 07 Nov 2004 15:50:24 +1300	[thread overview]
Message-ID: <418D8D70.50905@ruthless.ws> (raw)

Hi there,

I've search low and high and havn't been able to find a solution for my
problem with a software raid that I have setup under linux.

Kernel: 2.6.6
Controller: PDC202XX (Promise TX2 ATA100 IDE Controller)

Up until recently everything was fine, but recently the array has
started playing up and dropping a disk and when I reboot the disk
doesn't have the superblock for the md device and as a result can't
start, I then explored the disk using cfdisk and the disk had no
partition there.  So I reformated and this is what I get from mdadm now:

* When I try to assemble the array manually:

cold:~# mdadm -Af /dev/md1 /dev/hd[fjl]1
mdadm: no RAID superblock on /dev/hdj1
mdadm: /dev/hdj1 has no superblock - assembly aborted


* When I assemble the array with the two disks I know work:

cold:~# mdadm -A /dev/md1 /dev/hd[fl]1
mdadm: failed to RUN_ARRAY /dev/md1: Invalid argument


* And mdadm -D

cold:~# mdadm -D /dev/md1
/dev/md1:
         Version : 00.90.01
   Creation Time : Tue May 25 14:19:54 2004
      Raid Level : raid5
     Device Size : 117218176 (111.79 GiB 120.03 GB)
    Raid Devices : 3
   Total Devices : 2
Preferred Minor : 1
     Persistence : Superblock is persistent

     Update Time : Tue Nov  2 09:18:08 2004
           State : dirty, degraded
  Active Devices : 2
Working Devices : 2
  Failed Devices : 0
   Spare Devices : 0

          Layout : left-symmetric
      Chunk Size : 32K

            UUID : 1acc6a85:ce7440d9:dfa74489:64bd5694
          Events : 0.343086

     Number   Major   Minor   RaidDevice State
        0       0        0        -      removed
        1      57       65        1      active sync   /dev/hdl1
        2      33       65        2      active sync   /dev/hdf1

It is usually a raid 5 array with 3 x 120 gig disks on it.

What I'm wanting to know, is despite the fact that hdj1 doesn't have the 
superblock is there a way I can add it to the array so that I can then 
start it and hopefuly recover the 200 gig of data on there, which I can 
then shift off to a hardware array?

             reply	other threads:[~2004-11-07  2:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-07  2:50 Mark Thompson [this message]
2004-11-07  3:07 ` Trashed Raid 5 software array Guy

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=418D8D70.50905@ruthless.ws \
    --to=mark@ruthless.ws \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.