by Wander Boessenkool (Red Hat)
Replicated Red Hat Storage Server Volumes provide you with high-availability, when a single server goes down all your data is still there. Even better, if you were using that server to access your data using the native client it will automatically switch over to a server that is still responding. But what if you want to mount the volume while the server you normally use is down?
When you want to mount a Red Hat Storage Server Volume from your /etc/fstab you normally use a line like this:
storage-server-1:/volume /mnt/volume glusterfs _netdev 0 0
This work great when the storage-server-1 machine is on-line, but fails when it is down. In order to still be able to mount this volume when the specified server is down you can add a backup server like this:
storage-server-1:/volume /mnt/volume glusterfs _netdev,backupvolfile-server=storage-server2 0 0
With the backupvolfile-server option in place your client will now attempt to contact storage-server-2 when storage-server-1 is unreachable.
Learn more about Red Hat Storage Server Volumes in our all-new Red Hat Storage Server Administration (RH236) course.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.