From: "Francisco Zafra" <fzafra@gmail.com>
To: 'Neil Brown' <neilb@cse.unsw.edu.au>
Cc: linux-raid@vger.kernel.org
Subject: RE: Recovery raid5 after sata cable failure.
Date: Mon, 18 Jul 2005 11:56:58 +0200 [thread overview]
Message-ID: <42db7d1e.6cc951d1.55b4.ffffb383@mx.gmail.com> (raw)
In-Reply-To: <17115.31017.434682.374811@cse.unsw.edu.au>
Hi Neil,
Since some hours I am trying to solved it with the last version:
root@Torero-2:~ # mdadm --version
mdadm - v2.0-devel-2 - DEVELOPMENT VERSION NOT FOR REGULAR USE - 7 July 2005
With the same results :(
I really don't think it is locked I dd it in act of desperation and I have
no problems:
root@Torero-2:~ # dd if=/dev/zero of=/dev/sdh bs=1k count=1000
1000+0 records in
1000+0 records out
1024000 bytes transferred in 0.417862 seconds (2450570 bytes/sec)
No locked or anything... I have really get out of ideas with this...
Thanks for all your help.
Paco.
> -----Mensaje original-----
> De: Neil Brown [mailto:neilb@cse.unsw.edu.au]
> Enviado el: lunes, 18 de julio de 2005 11:41
> Para: Francisco Zafra
> CC: linux-raid@vger.kernel.org
> Asunto: RE: Recovery raid5 after sata cable failure.
>
> On Monday July 18, fzafra@gmail.com wrote:
> > I already tried that:
> >
> > root@Torero-2:~ # cat /proc/mdstat
> > Personalities : [linear] [raid5]
> > md0 : active raid5 sdg1[6] sdf1[5] sde1[4] sdd1[3] sdc1[2]
> sdb1[1] sda1[0]
> > 1367507456 blocks level 5, 512k chunk, algorithm 2 [8/7]
> > [UUUUUUU_]
> >
> > unused devices: <none>
> > root@Torero-2:~ # mdadm /dev/md0 -r /dev/sdh1
> > mdadm: hot remove failed for /dev/sdh1: No such device or address
> > root@Torero-2:~ # mdadm /dev/md0 -a /dev/sdh1
> > mdadm: Cannot open /dev/sdh1: Device or resource busy
>
>
> Uhm, you might have a buggy version of mdadm. If you have
> 1.10.0, get an upgrade.
>
> Otherwise either sdh1 or sdh must be:
> open by some process with O_EXCL
> open via a /dev/raw/* device
> part of an md device (which it obviously isn't)
> part of a dm device
> mounted as a filesystem
> an external-journal device for a jfs or ext3 or xfs filesystem
> in use as a swap device
> open for writing under a security level of 1 (whatever that means..)
> an mtd device that is open
>
> (those are all the places that I can find that take an
> exclusive lock on a block device).
>
> NeilBrown
>
next prev parent reply other threads:[~2005-07-18 9:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-17 11:34 Recovery raid5 after sata cable failure Francisco Zafra
2005-07-17 22:10 ` Neil Brown
2005-07-18 8:36 ` Francisco Zafra
2005-07-18 9:40 ` Neil Brown
2005-07-18 9:56 ` Francisco Zafra [this message]
2005-07-18 10:15 ` Brad Campbell
2005-10-12 17:19 ` safe to test SATA array by pulling cables? Harry Mangalam
[not found] <Pine.LNX.4.61.0507170520090.8523@hoss.npl.com>
2005-07-17 12:52 ` Recovery raid5 after sata cable failure Francisco Zafra
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=42db7d1e.6cc951d1.55b4.ffffb383@mx.gmail.com \
--to=fzafra@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
/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).