Mount command returns error code 32 on remount
Issue
- Mount command returns error code 32, even though it mounts successfully.
- Puppet Enterprise fails on some NFS mounts with exit code 32.
We are using puppet to manage certain NFS mounts, and a bad return code from the mount command is causing failures. Some mounts return with a good exit code (0) on a remount command. Other mounts return a 32 exit code. Both types of mounts return a good exit when mounting the first time. This can be reproduced manually from the command line as well:
#NFS Mounts
nasA:/unixadmin /unixadmin nfs rw,suid,vers=3,soft,proto=tcp,rsize=8192,wsize=8192 0 0
nasB:/nfs01/jenkins/slaves /jenkins nfs rw,suid,vers=3,soft,proto=tcp,rsize=8192,wsize=8192 0 0
root@test2:/root $ mount /unixadmin ; echo $?
0
root@test2:/root $ mount /jenkins ; echo $?
0
root@test2:/root $ mount -o remount /unixadmin ; echo $?
0
root@test2:/root $ mount -o remount /jenkins ; echo $?
32
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
