Forum: CFEngine Help Subject: NFS mount options and behaviour Author: jbdenis Link to topic: https://cfengine.com/forum/read.php?3,25748,25748#msg-25748
Hello everybody, I've got some questions about the NFS mount behaviour in CFEngine 3.3.0. If I've got this body for mount : body mount nfs3(server, source) { mount_type => "nfs"; mount_source => "$(source)"; mount_server => "$(server)"; mount_options => { "ro","defaults","nfsvers=3","actimeo=1" }; edit_fstab => "true"; } Everything is fine. /etc/fstab is edited accordingly. What if I want to change "mount_options" ? It does not seem to have any effect on the content of /etc/fstab. I'm not talking about the remount phase, just the content of /etc/fstab. Is that a wanted behaviour ? If that so, is there a known workaround ? Concerning the remount phase, do you have some advice ? It would be nice that CFEngine tried to remount the share to match the wanted options. If the filesystem is busy, it could try again the next time (and not reporting the failure each time). Anybody has tried to mimic this behaviour ? In a more general way, how do you manage your nfs mounts with CFEngine 3 ? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine