Linux RAID subsystem development
 help / color / mirror / Atom feed
From: carlos@fisica.ufpr.br (Carlos Carvalho)
To: linux-raid@vger.kernel.org
Subject: array doesn't run even with --force
Date: Sun, 20 Jan 2008 20:52:24 -0200	[thread overview]
Message-ID: <18323.53416.900135.357320@fisica.ufpr.br> (raw)

I've got a raid5 array with 5 disks where 2 failed. The failures are
occasional and only on a few sectors so I tried to assemble it with 4
disks anyway:

# mdadm -A -f -R /dev/md<number> /dev/disk1 /dev/disk2 /dev/disk3 /dev/disk4

However mdadm complains that one of the disks has an out-of-date
superblock and kicks it out, and then it cannot run the array with
only 3 disks.

Shouldn't it adjust the superblock and assemble-run it anyway? That's
what -f is for, no? This is with kernel 2.6.22.16 and mdadm 2.6.4.

             reply	other threads:[~2008-01-20 22:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-20 22:52 Carlos Carvalho [this message]
2008-01-21  1:13 ` array doesn't run even with --force Neil Brown
2008-01-21  2:53   ` Carlos Carvalho
2008-01-21  3:09     ` Neil Brown
2008-01-21  3:27       ` Carlos Carvalho

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=18323.53416.900135.357320@fisica.ufpr.br \
    --to=carlos@fisica.ufpr.br \
    --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