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

Re: [Linux-cluster] Thin (sparse) provisioning

On 11/19/2012 04:58 PM, Phil Daws wrote:
> Hello:
> am learning about clustering with DRBD and GFS2 and have a question about thin provisioning.  I would like to set up a number of individual vservers that reside on their own LVs which can then be shared between two nodes and flipped backwards and forwards using Pacemaker.  When setting up the block/lvm device for DRBD I have used:
> lvcreate --virtualsize 1T --size 10G --name vserver01 vg1
> once that has been added as a resource would I perform a standard mkfs.gfs2 or do I need to specify any further options; I was thinking something like:
> mkfs.gfs2 -t vservercluster:vservers -p lock_dlm -j 2 /dev/vservermirror/vserver01
> Is that the way I should be doing it ?
> Thanks.

I'm not entirely sure what you are trying to do here. If you want to put
VMs on LVs, use clustered LVM (clvmd) and use the LVs as backing devices
for the VMs. GFS2 is a great clustered FS, but no clustered FS is good
for backing VMs, in my opinion.

Here is how I do it:


I use GFS2 for storing the install images and XML definition files only.

Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

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