[CentOS] NFS mount auto remount in case of problems.
Leon Fauster
leonfauster at googlemail.com
Wed Feb 20 10:52:29 UTC 2013
Am 20.02.2013 um 11:29 schrieb Rafał Radecki <radecki.rafal at gmail.com>:
> Hi All.
>
> I have a setup in which I have two servers serving nfs share. The nfs
> service is made highly available with pacemaker. When the primary
> server goes down the secondary starts nfs service. Service IP is
> floating between servers but they have NO "shared" storage/filesystem
> so NFS state/connection information in case of failover is lost. I
> have two clients. When the failover from primary to secondary occurs
> the mount is stale and I need to manually remount the share.
> Is there a way in linux/CentOS to automatically remount nfs share in
> such case? Or should I just write a script which (for example) check
> /proc/mounts and execute it from crontab? I am curious if it can be
> done with "standard" linux services (automounter?) ;)
what is the order of the resources nfs and ip?
--
LF
More information about the CentOS
mailing list