This guide describes DRBD version 8.4 and above. For 8.3 please look here.


11.6. Using your GFS filesystem

After you have created your filesystem, you may add it to /etc/fstab:

/dev/<vg-name>/<lv-name> <mountpoint> gfs defaults 0 0

For a GFS2 filesystem, simply change the defined filesystem type to:

/dev/<vg-name>/<lv-name> <mountpoint> gfs2 defaults 0 0

Do not forget to make this change on both cluster nodes.

After this, you may mount your new filesystem by starting the gfs service (on both nodes):

service gfs start

From then onwards, as long as you have DRBD configured to start automatically on system startup, before the RHCS services and the gfs service, you will be able to use this GFS file system as you would use one that is configured on traditional shared storage.


This guide describes DRBD version 8.4 and above. For 8.3 please look here.