linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Paolo Smiraglia <paolo.smiraglia@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Shared LVM questions
Date: Tue, 14 Dec 2010 17:29:51 +0100	[thread overview]
Message-ID: <AANLkTimUpPyJYwU9PD9FQCAYetowittFHvgpE=9EsmM4@mail.gmail.com> (raw)
In-Reply-To: <20101214161505.GA29811@esri.com>

2010/12/14 Ray Van Dolson <rvandolson@esri.com>:
> On Tue, Dec 14, 2010 at 07:59:19AM -0800, Paolo Smiraglia wrote:
>> Hi to every ones...
>>
>>
>> I would to setup a LVM build on top of an iSCSI disk shared between
>> some nodes which is managed by a Master Node (MN) that sents commands
>> to other nodes (N1, N2,...) through SSH.
>>
>> I think the cluster extension is not required because a particular
>> Logical Volume (LV) is accessed exclusively by one node, and because
>> LVM metadata cannot be modified at the same time by multiple nodes.
>>
>> One issue is that once a LV is created by a node it cannot be
>> activated by another node by executing the command
>>
>> � $> lvchange -aey vg/lv01
>>
>> and the LV created is a snapshot. The error displayed is
>>
>> � Can't change logical volume "lv01"
>>
>>
>> 1. In this scenario is CLVMD required?
>> 2. Is it possible to activate a LV in another node?
>>
>>
>> Thanks in advance for all replies.
>
> I haven't tried this, but you probably would need to release the LVM
> from use by node B for node A to activate and use it.
>
> Ray

Hi Ray, thanks for the faster reply...

The problem is that node B is unable to deactivate the Snapshot LV,
because the command

   $> lvchange -aen vg/lv01

fails with the message posted above (Can't change logical volume "lv01").

What is the correct way to deactivate the Snapshot LV in this scenario?

Thanks!


-- 
PAOLO SMIRAGLIA
http://portale.isf.polito.it/paolo-smiraglia

      reply	other threads:[~2010-12-14 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14 15:59 [linux-lvm] Shared LVM questions Paolo Smiraglia
2010-12-14 16:15 ` Ray Van Dolson
2010-12-14 16:29   ` Paolo Smiraglia [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='AANLkTimUpPyJYwU9PD9FQCAYetowittFHvgpE=9EsmM4@mail.gmail.com' \
    --to=paolo.smiraglia@gmail.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 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).