You need to log in to create posts and topics. Login · Register

Unable to create nfs share

After setting up nfs configuration and filesystem i am not able to create nfs share

Error log shown in /opt/petasan/log/Petasan.log

22/04/2024 12:29:11 INFO LockBase : Reassignment job finished.
22/04/2024 12:31:00 ERROR
22/04/2024 12:31:00 ERROR EditExportFailed
22/04/2024 12:31:00 ERROR EditExportFailed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PetaSAN/web/admin_controller/manage_nfs.py", line 202, in save_export
manage_nfs.add_export(new_export)
File "/usr/lib/python3/dist-packages/PetaSAN/backend/manage_nfs.py", line 99, in add_export
raise NFSException(NFSException.EDIT_EXPORT_FAILED, 'EditExportFailed')
PetaSAN.core.common.CustomException.NFSException: EditExportFailed

 

In node1 getting the above error and in node4 this error is getting.

22/04/2024 12:52:15 INFO NFSServer : sync Consul settings -> done
22/04/2024 12:53:40 ERROR Could not run cmd : mkdir -p /mnt/File_Share_HDD/Data/nfs/test.
22/04/2024 12:53:40 ERROR Error in adding export , Exception : AddExportFailed
22/04/2024 12:53:40 ERROR AddExportFailed
Traceback (most recent call last):
File "/opt/petasan/scripts/nfs/nfs_exports.py", line 118, in add_export
nfs_export_svr.add_export(export)
File "/usr/lib/python3/dist-packages/PetaSAN/core/nfs/nfs_exports_server.py", line 120, in add_export
raise NFSException(NFSException.ADD_EXPORT_FAILED, 'AddExportFailed')
PetaSAN.core.common.CustomException.NFSException: AddExportFailed
22/04/2024 12:57:05 ERROR Could not run cmd : mkdir -p /mnt/File_Share_HDD/Data/nfs/test.
22/04/2024 12:57:05 ERROR Error in adding export , Exception : AddExportFailed
22/04/2024 12:57:05 ERROR AddExportFailed
Traceback (most recent call last):
File "/opt/petasan/scripts/nfs/nfs_exports.py", line 118, in add_export
nfs_export_svr.add_export(export)
File "/usr/lib/python3/dist-packages/PetaSAN/core/nfs/nfs_exports_server.py", line 120, in add_export
raise NFSException(NFSException.ADD_EXPORT_FAILED, 'AddExportFailed')
PetaSAN.core.common.CustomException.NFSException: AddExportFailed