'unmount function is not working in Synapse

able to create mount point using below code

mssparkutils.fs.mount(
    "abfss://[email protected]"
    , "/mntDemo"
    , {"linkedService": "ADLSGen2_StorageAccount"}
)

and using following code to unmount

mssparkutils.fs.unmount("/mntDemo")

but, unmount code is resulting following error:

Py4JJavaError: An error occurred while calling z:mssparkutils.fs.unmount.
: com.microsoft.spark.notebook.msutils.UnMountOperationFailedException: operation with id - 259c6c80-67c2-4087-bdb2-9e230c467c8c failed with error: Checking operation action execution status failed - service return Failed status for unmount operation. detail info: 
node c2a3644a-5d4e-4a1d-8c9d-114b0730a38f in failed status and the error is FailedWithNonZeroExitCode
The action for operation 259c6c80-67c2-4087-bdb2-9e230c467c8c failed with non-zero exit code 1

stdout:


stderr:
[fusermount] unmount /synfs/252/mntDemo failed with error fusermount: entry for /synfs/252/mntDemo not found in /etc/mtab
 with correlationId: 259c6c80-67c2-4087-bdb2-9e230c467c8c

node 7c0b5a0a-4114-4d45-9492-442a9aaf255b in failed status and the error is FailedWithNonZeroExitCode
The action for operation 259c6c80-67c2-4087-bdb2-9e230c467c8c failed with non-zero exit code 1

Appreciate any help in fixing the issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source