All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: Pavel Hofman <pavel.hofman@ivitera.com>
Cc: linux RAID <linux-raid@vger.kernel.org>
Subject: Re: How to update homehost of an existing raid component
Date: Mon, 19 Mar 2012 16:46:14 +0000	[thread overview]
Message-ID: <4F6762D6.7040602@anonymous.org.uk> (raw)
In-Reply-To: <4F670361.6090902@ivitera.com>

On 19/03/2012 09:58, Pavel Hofman wrote:
> Hi,
>
> Please is there a way to update a homehost value for a specific raid
> component?

I don't think you need to.

[...]
> mdadm --verbose -A /dev/md7 --update=homehost --scan
>
> with no difference. Unfortunately I was not able to find how to change
> the homehost of md6 to be local to orfeus. I do not want to force adding
> md6 to the array and go through the whole rebuild since the data
> themselves are OK.

I don't think --assemble --scan will include /dev/md6 if the homehost 
doesn't match :-(

Try mdadm --verbose --assemble /dev/md7 --update=homehost /dev/md5 /dev/md6

And if that doesn't do the business, specify --homehost=orfeus

Cheers,

John.


  reply	other threads:[~2012-03-19 16:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19  9:58 How to update homehost of an existing raid component Pavel Hofman
2012-03-19 16:46 ` John Robinson [this message]
2012-03-19 20:21   ` Pavel Hofman
2012-03-19 21:28 ` NeilBrown
2012-03-19 21:37   ` Pavel Hofman

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=4F6762D6.7040602@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=pavel.hofman@ivitera.com \
    /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.