* mdadm --manage --run stops a running array
@ 2004-01-07 14:26 Lars Ehrhardt
0 siblings, 0 replies; only message in thread
From: Lars Ehrhardt @ 2004-01-07 14:26 UTC (permalink / raw)
To: linux-raid
Hi,
I was creating a documentation about a local raid setup and typed
"mdadm --manage --run /dev/md1"
This was on a running array and the command returned:
mdadm: failed to run array "/dev/md1": Device or ressource busy.
I thought, alright, this makes sense /dev/md1 is already started and
mounted as /, so running it again does not work.
Unfortunately I was not able to do anything useful after that, since all
shell commands, like ls failed. Investigating this a bit on a
testmachine I found out that the raid array was shut-down and marked as
clean due to this run command. So, what happened was that the / fs was
still mounted but the raid-device was not running anymore and thus I
could not do anything useful with the system.
I've tested this on two different machines, running kernel 2.4.23 with
the grsecurity patch.
Is this a bug or expected? In my opinion the run command should not stop
an already running (and mounted) array.
Kind regards
Lars
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-07 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-07 14:26 mdadm --manage --run stops a running array Lars Ehrhardt
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.