Re: [Dovecot] Local node indexes in a cluster backend with GFS2
Should I set mmap_disable = yes when storing indexes in a GFS2 shared filesystem??
2010/11/15 Aliet Santiesteban Sifontes alietsantiesteban@gmail.com
Ok, I will create a LUN also as a shared clustered storage for indexes, any consideration to have into account when the indexes are shared by many nodes... thank you all...
2010/11/15 Timo Sirainen tss@iki.fi
On 15.11.2010, at 6.44, Aliet Santiesteban Sifontes wrote:
mail_location = sdbox:/var/vmail/%d/%3n/%n/sdbox:INDEX=/var/indexes/%d/%3n/%n
/var/vmail is shared clustered filesystem with GFS2 shared by node1 and node2
/var/indexes is a local filesystem at the node, so each node has his own /var/indexes stuff on ext3 and raid1 for improving performance, I mean each node a different /var/indexes of its own.
This is a bad idea. With dbox the message flags are only stored in index files, so if you lose indexes you lose all message flags. Users won't be happy.
Read this in GFS2 docs: mmap/splice support for journaled files (enabled by using the same on disk format as for regular files)
... 2010/11/15 Aliet Santiesteban Sifontes alietsantiesteban@gmail.com
Should I set mmap_disable = yes when storing indexes in a GFS2 shared filesystem??
2010/11/15 Aliet Santiesteban Sifontes alietsantiesteban@gmail.com
Ok, I will create a LUN also as a shared clustered storage for indexes, any
consideration to have into account when the indexes are shared by many nodes... thank you all...
2010/11/15 Timo Sirainen tss@iki.fi
On 15.11.2010, at 6.44, Aliet Santiesteban Sifontes wrote:
mail_location = sdbox:/var/vmail/%d/%3n/%n/sdbox:INDEX=/var/indexes/%d/%3n/%n
/var/vmail is shared clustered filesystem with GFS2 shared by node1 and node2
/var/indexes is a local filesystem at the node, so each node has his own /var/indexes stuff on ext3 and raid1 for improving performance, I mean each node a different /var/indexes of its own.
This is a bad idea. With dbox the message flags are only stored in index files, so if you lose indexes you lose all message flags. Users won't be happy.
You could try, but mmap_disable=yes might be faster (or might not).
On 15.11.2010, at 20.30, Aliet Santiesteban Sifontes wrote:
Read this in GFS2 docs: mmap/splice support for journaled files (enabled by using the same on disk format as for regular files)
... 2010/11/15 Aliet Santiesteban Sifontes alietsantiesteban@gmail.com
Should I set mmap_disable = yes when storing indexes in a GFS2 shared filesystem??
2010/11/15 Aliet Santiesteban Sifontes alietsantiesteban@gmail.com
Ok, I will create a LUN also as a shared clustered storage for indexes, any
consideration to have into account when the indexes are shared by many nodes... thank you all...
2010/11/15 Timo Sirainen tss@iki.fi
On 15.11.2010, at 6.44, Aliet Santiesteban Sifontes wrote:
mail_location = sdbox:/var/vmail/%d/%3n/%n/sdbox:INDEX=/var/indexes/%d/%3n/%n
/var/vmail is shared clustered filesystem with GFS2 shared by node1 and node2
/var/indexes is a local filesystem at the node, so each node has his own /var/indexes stuff on ext3 and raid1 for improving performance, I mean each node a different /var/indexes of its own.
This is a bad idea. With dbox the message flags are only stored in index files, so if you lose indexes you lose all message flags. Users won't be happy.
participants (2)
-
Aliet Santiesteban Sifontes
-
Timo Sirainen