* [linux-lvm] Shared LVM questions
@ 2010-12-14 15:59 Paolo Smiraglia
2010-12-14 16:15 ` Ray Van Dolson
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Smiraglia @ 2010-12-14 15:59 UTC (permalink / raw)
To: linux-lvm
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.
--
PAOLO SMIRAGLIA
http://portale.isf.polito.it/paolo-smiraglia
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Shared LVM questions
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
0 siblings, 1 reply; 3+ messages in thread
From: Ray Van Dolson @ 2010-12-14 16:15 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Shared LVM questions
2010-12-14 16:15 ` Ray Van Dolson
@ 2010-12-14 16:29 ` Paolo Smiraglia
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Smiraglia @ 2010-12-14 16:29 UTC (permalink / raw)
To: LVM general discussion and development
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-14 16:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).