All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karl Voit <news@Karl-Voit.at>
To: linux-raid@vger.kernel.org
Subject: Re: only 4 spares and no access to my data
Date: Mon, 10 Jul 2006 12:36:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20060710T142912-798@post.gmane.org> (raw)
In-Reply-To: 62b0912f0607100507s21544d12xec9a8bf117b6edc2@mail.gmail.com

Molle Bestefich <molle.bestefich <at> gmail.com> writes:

> Karl Voit wrote:
> > OK, I upgraded my kernel and mdadm:
> >
> > "uname -a":
> > Linux ned 2.6.13-grml #1 Tue Oct 4 18:24:46 CEST 2005 i686 GNU/Linux
> 
> That release is 10 months old.
> Newest release is 2.6.17.

Sorry, my fault. "dpkg -i <kernel> does not boot the new one *g*

root@ned ~ # uname -a
Linux ned 2.6.17-grml #1 PREEMPT Tue Jun 20 19:39:46\
 CEST 2006 i686 GNU/Linux
root@ned ~ #

Now that should be working.

> > "dpkg --list mdadm" --> "2.4.1-6"
> 
> Newest release is 2.5.2.
> 2.4.1 is 3 months old.

Debian seems to be old. I downloaded the current version and replaced the binary:

root@ned ~ # wget http://www.cse.unsw.edu.au/~neilb/source/\
mdadm/mdadm-2.5.2.tgz
[...]
root@ned ~/tmp2del/mdadm-2.5.2 # make
[...]
root@ned ~/tmp2del/mdadm-2.5.2 # mv /sbin/mdadm /sbin/mdadm_v2.4.1
root@ned ~/tmp2del/mdadm-2.5.2 # cp ./mdadm /sbin/mdadm
root@ned ~/tmp2del/mdadm-2.5.2 #

> > Is it true, that I should try the following lines?
> > 
> > mdadm --stop /dev/md0
> > mdadm --zero-superblock /dev/sda
> > mdadm --zero-superblock /dev/sdb
> > mdadm --zero-superblock /dev/sdc
> > mdadm --zero-superblock /dev/sdd
> > mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 --force
> > (check, if it worked - probably not - and if not, try the following line)
> > mdadm --create -n 4 -l 5 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
"echo repair > /sys/block/md0/md/sync_action"

Before that, I'd like to check again now with the latest kernel and the latest
mdadm:

root@ned ~ # mdadm --stop /dev/md0
mdadm: stopped /dev/md0
root@ned ~ # mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1\
 /dev/sdd1
mdadm: No suitable drives found for /dev/md0
root@ned ~ # mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1\
 /dev/sdd1 --run
mdadm: No suitable drives found for /dev/md0
root@ned ~ # mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1\
 /dev/sdd1 --force
mdadm: No suitable drives found for /dev/md0
root@ned ~ # mdadm --zero-superblock /dev/sda
mdadm: Unrecognised md component device - /dev/sda
root@ned ~ #

OK, those are other (newer) messages. Do they change anything or should I try
the commands above now?


  reply	other threads:[~2006-07-10 12:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09 18:59 only 4 spares and no access to my data Karl Voit
2006-07-09 19:23 ` Molle Bestefich
2006-07-10  7:56   ` Karl Voit
2006-07-10  8:46     ` Henrik Holst
2006-07-10  9:27       ` Karl Voit
2006-07-10  9:34       ` Karl Voit
2006-07-10 11:16         ` Molle Bestefich
2006-07-10 11:42           ` Karl Voit
2006-07-10 12:07             ` Molle Bestefich
2006-07-10 12:36               ` Karl Voit [this message]
2006-07-10 17:06                 ` Molle Bestefich
2006-07-10 19:26                   ` Karl Voit
2006-07-12 19:35                     ` Molle Bestefich
2006-07-13 12:59                       ` Karl Voit
2006-07-15 10:31                       ` only 4 spares and no access to my data - solved Karl Voit
2006-07-10 11:18       ` only 4 spares and no access to my data Molle Bestefich
2006-07-18  2:17       ` Neil Brown
2006-07-18 23:44         ` Nix
2006-07-10  8:48   ` Karl Voit

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=loom.20060710T142912-798@post.gmane.org \
    --to=news@karl-voit.at \
    --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.