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

Re: [Xen-users] Re: cLVM on Debian/Lenny


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Jan Kalcic <jandot@xxxxxxxxxxxxxx>
  • Date: Mon, 20 Apr 2009 16:57:45 +0200
  • Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 20 Apr 2009 07:59:01 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=m62ErVteFu62wi9FzCzeg/ns8vzOns1ABuTpA1UBw9ykcMp21vE/+PQUJPWtzn7PU+ lRAvcr/2b9B5xgZvFp9VkSyPSBUf8U1DLRnEmcQ46v/o5XDPcgHuk0l5MIoX5Syj+7lG L1XtoPRB/L3qEzqBlUqbVyHgyK9+6MGhwi7FY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Fajar A. Nugraha wrote:
> On Mon, Apr 20, 2009 at 9:19 PM, Jan Kalcic <jandot@xxxxxxxxxxxxxx> wrote:
>   
>> But this does not make sense to me. Where are the pros of using LVM for
>> my VMs if they eventually reside as file on a (cluster) file system?  I
>> loose all the features I want from LVM (snapshot and resizing).
>>
>> I think of a cluster where the VMs are using a physical block device
>> (shared) based on LVM which provides me the LVM features as above and
>> manage access to the volume it self.
>>
>> Does it make sense or I am completely "out"?
>>     
>
> I think you're looking at it the wrong way. You still need a separate
> locking mechanism if you want to prevent a domU backend (be it LVM or
> file) from being used by two or more dom0 at the same time.
>
> Cluster file system (like GFS) can create a shared filesystem that can
> be mounted on two or more nodes at the same time, but it does NOT
> prevent you from (lets say) having a file-backed vm, located on GFS,
> that is used by two (or more) dom0 to as domU backend. End result:
> domU corruption.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>   

Right, I think I almost get the point.

cLVM can't say node1 is accessing this LV so node2 can't and vice versa.
There is not a cluster lock mechanism of this type (what is called
Cluster Segment Manager in EVMS2) Moreover, if there was this kind of
lock mechanism, it would not work for VMs live migration just because
multiple node can access to the same LV simultaneously.

Instead, cLVM can notifies all the nodes whenever a LVM change occurs.
That's it.

Thanks,
Jan



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.