LVM2 configure options for CLVM with GFS
Hi. The example at ...
http://gfs.wikidev.net/Installation
... shows this command line for LVM2 configuration:
./configure --with-clvmd --with-cluster=shared \
--with-kernel-source=/path/to/patched/kernelI see there are more options that look to me like they should be set to "shared" for using CLVMD with GFS:
--with-pool=TYPE GFS pool read-only support: internal/shared/none
TYPE=internal
--with-cluster=TYPE Cluster LVM locking support: internal/shared/none
TYPE=internal
--with-snapshots=TYPE Snapshot support: internal/shared/none
TYPE=internal
--with-mirrors=TYPE Mirror support: internal/shared/none
TYPE=internal
If I'm already running the patched kernel that I plan to use, should I configure LVM2 like this?
./configure --with-clvmd --with-cluster=shared \
--with-pool=shared \
--with-snapshots=shared \
--with-mirrors=sharedSignature · 1 line
Ed L Cashin <[email protected]>
Ed L Cashin <[email protected]> writes:
...
Quoted 8 lines
--with-pool=TYPE GFS pool read-only support: internal/shared/none
TYPE=internal
--with-cluster=TYPE Cluster LVM locking support: internal/shared/none
TYPE=internal
--with-snapshots=TYPE Snapshot support: internal/shared/none
TYPE=internal
--with-mirrors=TYPE Mirror support: internal/shared/none
TYPE=internal
Alasdair pointed out to me in the IRC channel that these options do not configure LVM's ability to share state with other nodes in the cluster. Rather, they simply choose how to link in the components of the LVM binaries -- shared or static.
So it doesn't matter, and the example in GFS' usage.txt should work fine.
Signature · 1 line
Ed L Cashin <[email protected]>