Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Gionatan Danti
Il 29-08-2017 13:28 Steven Whitehouse ha scritto: There is no siginificant overhead when reading the same file on multiple nodes. The overhead mostly applies when writes are involved in some form, whether mixed with other writes or reads. GFS2 does ensure cache coherency, but in order to do that

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Steven Whitehouse
Hi, On 29/08/17 12:26, Gionatan Danti wrote: Il 29-08-2017 13:13 Steven Whitehouse ha scritto: Whatever kind of storage is being used with GFS2, it needs to act as if there was no cache or as if there is a common cache between all nodes - what we want to avoid is caches which are specific to

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Gionatan Danti
Il 29-08-2017 13:13 Steven Whitehouse ha scritto: Whatever kind of storage is being used with GFS2, it needs to act as if there was no cache or as if there is a common cache between all nodes - what we want to avoid is caches which are specific to each node. Using individual node caching will

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Steven Whitehouse
Hi, On 29/08/17 12:07, Gionatan Danti wrote: Il 29-08-2017 12:59 Steven Whitehouse ha scritto: Yes, it definitely needs to be set to cache=none mode. Barrier passing is only one issue, and as you say it is down to the cache coherency, since the block layer is not aware of the caching

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Gionatan Danti
Il 29-08-2017 12:59 Steven Whitehouse ha scritto: Yes, it definitely needs to be set to cache=none mode. Barrier passing is only one issue, and as you say it is down to the cache coherency, since the block layer is not aware of the caching requirements of the upper layers in this case. Ok.

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Steven Whitehouse
On 29/08/17 11:54, Gionatan Danti wrote: Hi Steven, Il 29-08-2017 11:45 Steven Whitehouse ha scritto: Yes, there is some additional overhead due to the clustering. You can however usually organise things so that the overheads are minimised as you mentioned above by being careful about the

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Gionatan Danti
Hi Steven, Il 29-08-2017 11:45 Steven Whitehouse ha scritto: Yes, there is some additional overhead due to the clustering. You can however usually organise things so that the overheads are minimised as you mentioned above by being careful about the workload. No. You want to use the default

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-29 Thread Steven Whitehouse
Hi, On 26/08/17 07:11, Gionatan Danti wrote: Hi list, I am evaluating how to refresh my "standard" cluster configuration and GFS2 clearly is on the table ;) GOAL: to have a 2-node HA cluster running DRBD (active/active), GFS2 (to store disk image) and KVM (as hypervisor). The cluster had

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-26 Thread Gionatan Danti
Il 26-08-2017 11:34 Kristián Feldsam ha scritto: Hello, accroding to red hat documentation "smaller is better". I personaly use 1TB volumes with 256MB journal https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Global_File_System_2/index.html#s1-formatting-gfs2

Re: [Linux-cluster] GFS2 as virtual machine disk store

2017-08-26 Thread Kristián Feldsam
Hello, accroding to red hat documentation "smaller is better". I personaly use 1TB volumes with 256MB journal https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Global_File_System_2/index.html#s1-formatting-gfs2 S pozdravem Kristián Feldsam Tel.: +420 773 303