Panorama NFS Errors
Resolution
Overview
During NFS configuration/test, Panorama can show various error messages on the WebUI. This document provides a quick reference and probable cause of the errors.
Details
Failure mounting NFS from aaa.bbb.ccc.ddd:/examplenfs
This error may appear when trying to mount a non-exported folder or Panorama is not allowed to access it.
Example error on NFS server:
rpc.mountd[2414]: refused mount request from aaa.bbb.ccc.eee for /examplenfs (/): not exported
Eror in panlognfs:
ERROR: Mount failure err 32, [], ['mount: aaa.bbb.ccc.ddd:/examplenfs failed, reason given by server: Permission denied\n']
Solution:
Check in the NFS server configuration if the specific exported folder is accessible from Panorama's IP address. This is NFS error level
Write test failure, could not write to NFS mount
This error may appear if the export can be mounted but Panorama cannot write to it (incorrect permissions on the exported filesystem)
Example log messages on NFS server:
rpc.mountd[2414]: authenticated mount request from aaa.bbb.ccc.eee:643 for /examplenfs (/examplenfs)
rpc.mountd[2414]: authenticated unmount request from aaa.bbb.ccc.eee:653 for /examplenfs (/examplenfs)
Error in panlognfs:
INFO: Mounted aaa.bbb.ccc.dd:/examplenfs
ERROR: Write test of /mnt/dynamic-logs-check/ failed
INFO: Cleanup: unmounted /mnt/dynamic-logs-check/
Solution:
Panorama needs to create files and folders on the NFS share. Check on the NFS server if the folder has the correct file system level permissions - (try chmod 777). This is file system error level.
Content test failure, NFS mount contains invalid directories.
Everything is correct from NFS/file system permissions point of view. However, the exported folder contains file which were not created by Panorama.
Example log messages on NFS server:
rpc.mountd[2414]: authenticated mount request from aaa.bbb.ccc.eee:643 for /examplenfs (/examplenfs)
rpc.mountd[2414]: authenticated unmount request from aaa.bbb.ccc.eee:653 for /examplenfs (/examplenfs)
Error in panlognfs:
INFO: Mounted aaa.bbb.ccc.dd:/examplenfs
ERROR: Content test of /mnt/dynamic-logs-check/ failed
INFO: Cleanup: unmounted /mnt/dynamic-logs-check/
Solution:
Make sure there aren't any files or folders which Panorama did not create.
Ownership test failure, the mount point is owned by another system. Set force-ownership to take ownership
This error may appear if Panorama in HA failed over or an original Panorama was replaced by another M-100/VM.
Error in panlognfs:
INFO: Mounted aaa.bbb.ccc.dd:/examplenfs
ERROR: Ownership test of /mnt/dynamic-logs-check/ failed
INFO: Cleanup: unmounted /mnt/dynamic-logs-check/
Solution:
Panorama creates .panorama file on NFS mounted folder. In there it saves it's serial number. If these do not match systems assumes it is not the owner of the folder. Either remove the file or issue command: request high-availability convert-to-primary
owner: rweglarz