RHEL 5.x "remount" an invalid option to NFS?

395 views
Skip to first unread message

Forrie

unread,
Aug 9, 2011, 4:18:58 PM8/9/11
to Puppet Users
I made an adjustment to my puppet config for three systems today,
which has the "remount" option set to true in the *.pp, and I see this
in the logs on my systems:

Execution of '/bin/mount -o remount /home/directory' returned 32:
mount.nfs: Invalid argument

"remount" is valid to the "mount" command, but not to the "mount.nfs"
command on RHEL.

I'm not really sure if this is important or how to get around this --
or if this is a bug.


Thanks.

jcbollinger

unread,
Aug 10, 2011, 11:24:16 AM8/10/11
to Puppet Users
The 'remount' option is valid for all filesystem types. mount.nfs is
complaining about the mount point argument -- this happens when an
attempt is made to remount a file system that is listed in /etc/fstab
but is not already mounted.

I'd account it a Puppet bug. It appears related to
http://projects.puppetlabs.com/issues/6027 and http://projects.puppetlabs.com/issues/6309,
yet distinct from them. I suggest you file a ticket.

Unless you're interested in creating a local version of Puppet, the
only general workaround I can see is to set remounts => false on your
Mount resource. There may be something special about your manifests
that triggers this bug, however, in which case there may be other
workarounds available. If you do plan to file a ticket, then the
requisite process of narrowing down the failure case should reveal any
such special circumstances that may be contributing.


John
Reply all
Reply to author
Forward
0 new messages