All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Madsen <jacob@mungo.dk>
To: linux-raid@vger.kernel.org
Subject: Incative RAID5 (it should be active)
Date: Sat, 12 Aug 2006 17:01:57 +0200	[thread overview]
Message-ID: <44DDED65.10500@mungo.dk> (raw)

Hey

I only have 4 sata slots in my computer and i have a raid5 array of 
partitions on those 4 disks.

Today i needed a free sata slots, so i unplugged one of the disks and 
booted with knoppix. I then did some work, turned of the computer and 
plugged in the disk again.

I should say that i didnt use the array while using knoppix, so 
everything should be intact.

I then expected to be able to hotadd the missing partition and use the 
array as usual. But its inactive:

# mdadm --detail /dev/md8
mdadm: md device /dev/md8 does not appear to be active.

# cat /proc/mdstat
md8 : inactive sda10[1] sdd10[4] sdc10[3] sdb10[2]
      545791744 blocks

I then stopped the array:
# mdadm -S /dev/md8
mdadm: stopped /dev/md8

And tryed to assemble it:
# mdadm --verbose --assemble /dev/md8 /dev/sda10 /dev/sdb10 /dev/sdc10 
/dev/sdd10
mdadm: looking for devices for /dev/md8
mdadm: /dev/sda10 is identified as a member of /dev/md8, slot 1.
mdadm: /dev/sdb10 is identified as a member of /dev/md8, slot 2.
mdadm: /dev/sdc10 is identified as a member of /dev/md8, slot 3.
mdadm: /dev/sdd10 is identified as a member of /dev/md8, slot 4.
mdadm: no uptodate device for slot 0 of /dev/md8
mdadm: added /dev/sdb10 to /dev/md8 as 2
mdadm: added /dev/sdc10 to /dev/md8 as 3
mdadm: added /dev/sdd10 to /dev/md8 as 4
mdadm: added /dev/sda10 to /dev/md8 as 1
mdadm: /dev/md8 assembled from 2 drives and 1 spare - not enough to 
start the array.

The last line indicate something is wrong, but i have no idea what to 
do. (i still expect all the data to be intact)

Any good ideas will be appreciated alot!

/Jacob

             reply	other threads:[~2006-08-12 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-12 15:01 Jacob Madsen [this message]
2006-08-12 21:37 ` Incative RAID5 (it should be active) Jacob Madsen

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=44DDED65.10500@mungo.dk \
    --to=jacob@mungo.dk \
    --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.