sassoftware/viya4-iac-azure

Auto-mount NFS on Jumpserver Restart

andybouts opened this issue · 4 comments

Upon a recent ssh login to the jump-server, the Ubuntu OS indicated that the VM needed to be restarted.

After performing a shutdown -r now, and logging back into the jump-server, a sudo mount -a was required to mount the NFS.

Requesting that the IAC project be updated so that the NFS will be automatically mounted upon restart instead of requiring the mount command.

I currently don't have time to work on a PR for this.

The mount point is setup as an automount. If you access the location /viya-share, the mount then activates. This should not cause any issues with the system. Will test with a system where I've shutdown the jump box and then do a deployment to verify.

You don't even need to run mount -a you can simply cd into that directory or manipulate as needed. The os automounts the directory whenever activity is needed on the /viya-share directory. Closing.

You're correct @thpang , sorry I didn't realize the auto-mount configuration was in place