linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mitchell Laks <mlaks@verizon.net>
To: linux-raid@vger.kernel.org
Subject: mdadm -f ?
Date: Wed, 29 Jun 2005 08:23:09 -0400	[thread overview]
Message-ID: <200506290823.09776.mlaks@verizon.net> (raw)

Hi,
I described  on this list (a few days ago) how I physically removed one of 2 
drives from a raid 1 array. I then took it to another computer to use it as a 
second copy of the data.



That worked fine, although I described at that time that my linux box would  
not boot normally until I ran mdadm -A --run /dev/md0 /dev/hdb1 
with the --run option
as the raid 1 would not start in the degraded state otherwise.

I was wondering. 

imagine I have /dev/md0 composed of /dev/hdb1 and /dev/hdg1

What is the effect  of the command


mdadm --manage /dev/md0 -f /dev/hdg1

Ie: If I "fail" the drive in this way:
1) will the remainder of the array (ie /dev/md0 composed of /dev/hdb1) now 
boot without the --run being added in?
2) Will I still be able to take the drive /dev/hdg1 and use it on another 
machine as a copy of the data from the array?
3) If the  answer to 2 is no, should I do
	a) remove drive /dev/hdg1 physically (machine off)
	b) then after booting without /dev/hdg1 via the --run 
		run the command 	
		mdadm --manage /dev/md0 -f /dev/hdg1 (even though it is  not on the 
machine...
		then will it boot without the --run added in.

thanks,

I am simply not sure of what -f does...

Thanks,

Mitchell 

             reply	other threads:[~2005-06-29 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29 12:23 Mitchell Laks [this message]
2005-07-04  7:06 ` mdadm -f ? 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=200506290823.09776.mlaks@verizon.net \
    --to=mlaks@verizon.net \
    --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;
as well as URLs for NNTP newsgroup(s).