Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Chris Osicki <Krzysztof.Osicki@swisscom.com>
To: linux-raid@vger.kernel.org
Subject: Q: Moving raid1 array to another host, safe?
Date: Mon, 14 Mar 2005 14:43:14 +0100	[thread overview]
Message-ID: <20050314144314.664142c5@mwdsp001> (raw)


Hi

I have two Linux boxes running kernel 2.4.21 having access to two
devices over fibre channel SAN.
What I'm trying to achive is host based mirroring with ability to
"move" the storage from one host to another.
On the firs host I created a raid1 array, put LVM on it, created a
filesystem. To move the storage to the second host I do the following
(on the first host):

deactivate volume group: 
	    vgchange -an dxvg
stop array: 
	    mdadm --misc --stop /dev/md0

Then on the second host:

assemble the array: 
	    mdadm --assemble /dev/md0 /dev/emcpowera  /dev/emcpowerb
activate the volume group: 
	    vgchange -ay dxvg

The following procedure seams to be working OK. 
However, I'm asking myself how safe is it what I'm doing?

Thanks for your time.

Regards,
Chris

                 reply	other threads:[~2005-03-14 13:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050314144314.664142c5@mwdsp001 \
    --to=krzysztof.osicki@swisscom.com \
    --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