[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] CLVMD without GFS



Hi,

El mar, 18-08-2009 a las 16:19 +0200, brem belguebli escribió:
> Hi,
>  
> I see what you mean.
>  
> On the other hand, it would may be lessen some flexibility. The
> typical case being the fact that you do not want to use FS on top of
> your LV's but raw devices.
>  
> Brem
> 
>  
> 2009/8/18, Moralejo, Alfredo <alfredo moralejo roche com>: 
>         Hi,
>         
>          
>         
>         Yes, I understand that. 
>         
>          
>         
>         However, what I meant is that, from a configuration simplicity
>         point of view, it could be convenient to add the functionality
>         into a only resource that take care of the entire cycle,
>         logical volume activation in exclusive mode and mounting it. I
>         think this is the most common usage of the fs resource. In
>         this way, I don’t need to create two resources for each
>         filesystem (one for the logical volume and one other for the
>         fs) and I can be sure a filesystem can not be mounted by hand
>         in another node (as it has been activate exclusively in the
>         node running the service).
>         
>          
>         
>         Best regards,
>         
>          
>         
>         Alfredo
>         
>          
>         
>          

What Alfredo asks is exactly the point i wanted to reach at the end of
my lvm-cluster resource script: a filesystem resource with grants of
exclusive use, avoiding administrators make the mistake of, by hand,
mount concurrently the same FS on two different nodes.

As far as i know, and correct me please if i'm wrong, there is no
"exclusive usage" flag on non-clustered FS, even maybe nor in clustered
FS. So i moved the protection to a lower layer into the storage stack:
the LVM layer.

This approach is the same i was accustomed to use with the Linux-HA +
EVMS (Enterprise Volume Manager System) approach. I used to use
Clustered Segment Managers to build the /dev EVMS devices that were used
as mountpoints, so if an administrator wanted to mount the FS by hand he
was needed to assure the CSM was owned by the node he was working on. 

I agree with both of you that this would be much simpler is there was no
need of implicating LVM layer on the protection of the FS, but i have
not found any other way of doing this.

In the other hand, there is also the "bug" of the overlapping of the LVM
exclusive flag that Brem has opened in the bugzilla. If this gets fixed
in the way we think it should be, i think we would have reached a good
complexity/success ratio for this security solution.

Cheers,

Rafael


-- 
Rafael Micó Miranda


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]