Hanarion commented on issue #12122: URL: https://github.com/apache/cloudstack/issues/12122#issuecomment-3574727374
@abh1sar , the `umount` command sometimes returns an error, error that is then returned by the script (Treated as an `exit 1`) The piece of code i suggested first check if there is any process left that is using the mountpoint, and if so, waits for it to finish. Technically it should work everytime, but it may depend on other factors i'm not aware of (CIFS mountpoints can be tricky sometimes) I pushed the change of the script to my servers and it fixed my issue, but i only tested with CIFS (But it should work with every type of mountpoint) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
