[ClusterLabs] How to mount rpc_pipefs on a different mountpoint on RHEL/CentOS 7?
Oyvind Albrigtsen
oalbrigt at redhat.com
Fri Nov 3 13:01:20 CET 2017
On 02/11/17 22:54 +0100, Dennis Jacobfeuerborn wrote:
>On 31.10.2017 12:58, Ferenc Wágner wrote:
>> Dennis Jacobfeuerborn <dennisml at conversis.de> writes:
>>
>>> if I create a new unit file for the new file the services would not
>>> depend on it so it wouldn't get automatically mounted when they start.
>>
>> Put the new unit file under /etc/systemd/system/x.service.requires to
>> have x.service require it. I don't get the full picture, but this trick
>> may help puzzle it together.
>>
You should be able to change it by adding a systemd drop-in file where
it overrides Where= with what you want it to be.
There's also a fix coming in NFS to simplify this by being able to set
it in nfs.conf instead.
>
>It seems the nfsserve resource agent isn't compatible with
>RHEL/CentOS-7. These systems always mount /var/lib/nfs/rpc_pipefs on
>boot but the resource agent script actually checks if "/var/lib/nfs" is
>present in /proc/mounts and if that is the case then it will refuse to
>start the nfs server thus preventing the fail-over.
>I honestly have no good idea how to solve this as the mounting of
>/var/lib/nfs/rpc_pipefs is basically hard-coded into the RHEL/CentOS
>service files.
>
>Regards,
> Dennis
>
>
>_______________________________________________
>Users mailing list: Users at clusterlabs.org
>http://lists.clusterlabs.org/mailman/listinfo/users
>
>Project Home: http://www.clusterlabs.org
>Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>Bugs: http://bugs.clusterlabs.org
More information about the Users
mailing list