All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marian Csontos <mcsontos@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] RE: using lvm mirroring in clusters
Date: Wed, 22 Apr 2009 08:36:39 +0200	[thread overview]
Message-ID: <49EEBAF7.5070903@redhat.com> (raw)
In-Reply-To: <0KHQ00HDXFTAD910@comexp1-srv.lux.eib.org>

AZZOPARDI Konrad wrote:
>  Hi list,
>
> I am quite new to RedHAt clustering and I am experimenting with RedHat 5.3. I read that LVM mirrors are now supported in cluster mode. At our work place we have two datacentres and each DC has an HDS SAN. The idea is that I put two cluster nodes in each DC and each node will be presented with two multipathed block devices say /dev/dm-5 and /dev/dm-6. How can I create 2 mirrored LVs out of a volume group {comprising the two devices} and assuring that the mirrors are spread between the two devices {to give me the assurance that if one DC is down, data is available in the other device}
>
> Thanks
> konrad
>
> --------------------------------------------------------------------
>
> Les informations contenues dans ce message et/ou ses annexes sont 
> reservees a l'attention et a l'utilisation de leur destinataire et peuvent etre 
> confidentielles. Si vous n'etes pas destinataire de ce message, vous etes 
> informes que vous l'avez recu par erreur et que toute utilisation en est 
> interdite. Dans ce cas, vous etes pries de le detruire et d'en informer la 
> Banque Europeenne d'Investissement.
>
> The information in this message and/or attachments is intended solely for 
> the attention and use of the named addressee and may be confidential. If 
> you are not the intended recipient, you are hereby notified that you have 
> received this transmittal in error and that any use of it is prohibited. In 
> such a case please delete this message and kindly notify the European 
> Investment Bank accordingly.
> --------------------------------------------------------------------
>  
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>   
Hi Konrad,
it is as simple as:
# lvcreate -L $SIZE -m1 -n $LV $VG $PV1 $PV2 ...

The "$PV1 $PV2" part does the trick.

See man lvcreate and search the web for details.

-- Marian

      reply	other threads:[~2009-04-22  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090406225259.B168561905E@hormel.redhat.com>
2009-04-07 13:22 ` [linux-lvm] RE: using lvm mirroring in clusters AZZOPARDI Konrad
2009-04-22  6:36   ` Marian Csontos [this message]

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=49EEBAF7.5070903@redhat.com \
    --to=mcsontos@redhat.com \
    --cc=linux-lvm@redhat.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.