mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Peter T. Breuer" <ptb@it.uc3m.es>
To: "Alok K. Dhir" <alok@dhir.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Possible md bug in 2.4.16-pre1
Date: Mon, 26 Nov 2001 20:29:57 +0100 (CET)	[thread overview]
Message-ID: <200111261929.UAA31258@nbd.it.uc3m.es> (raw)
In-Reply-To: <000c01c1769c$187cc390$9865fea9@pcsn630778> "from Alok K. Dhir at Nov 26, 2001 12:02:13 pm"

"Alok K. Dhir wrote:"
> On kernel 2.4.16-pre1 software RAID (tested with levels 0 and 1 on the
> same two drives), it is not possible to "raidstop /dev/md0" after
> mounting and using it, even though the partition is unmounted.  Attempts

Raid has been in quite a shocking state for a long while and
often there seems nor rhyme nor reason to its behaviour. If you want
to stick your machine in an endless loop, just try initialising a
mirror raid device with only one of its two components currently
working. 

> are rejected with "/dev/md0: Device or resource busy".  Even shutting

ya, ya. Try raidhotsetfaulty for good luck and then try raidhotremove.
(curse, splutter. Will the authors ever write some docs that make
sense. And also document the interactions with lvm).

> down to single user mode does not release the device for stopping.  I
> had to reboot to single user mode, then I was able to stop it,

You just said you couldn't?

> unconfigure it, etc.
> 
> Testing the throughput of Linux's software raid in levels raid1 and
> raid0 with various chunksizes was somewhat more tedious because of this

You ain't kidding. It's a nightmare to test upon.

> Here is my (current) raidtab:
> 
> Raiddev			/dev/md0
> raid-level			0
> nr-raid-disks		2
> chunk-size			64k
> persistent-superblock	1
> nr-spare-disks		0
> device			/dev/sda2
> raid-disk			0
> device			/dev/sdb1
> raid-disk			1

That's a standard setup. It's not even confusing to me! Try it over lvm
logical partitions and other raid devices (snicker).

Peter

  reply	other threads:[~2001-11-26 19:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-26 17:02 Alok K. Dhir
2001-11-26 19:29 ` Peter T. Breuer [this message]
2001-11-26 19:49   ` Alok K. Dhir
2001-11-27  9:04   ` Henning P. Schmiedehausen
2001-11-26 20:42 ` Anton Altaparmakov
2001-11-27  1:31 ` Neil Brown

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=200111261929.UAA31258@nbd.it.uc3m.es \
    --to=ptb@it.uc3m.es \
    --cc=alok@dhir.net \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®