Creating (and starting) an instance on mounted Datastore fails

A-ha! “Permission Denied” strikes again, but now it’s directly calling out /mnt/amp/instances/mcLV201. It seems that, even though permissions look fine initially, something deeper is blocking executable access for AMP in that directory.

Likely Culprit: Mount Options

When you mounted the drive, the filesystem options might not allow AMP to run executables from there. This happens a lot when using noexec or other restrictive mount options.

Let’s check this real quick:

  1. Run:

    mount | grep /mnt/amp
    

    Look for the mount options; common ones causing issues are noexec, nodev, or nosuid.

  2. If noexec is listed:

    • You’ll need to remove it from /etc/fstab and remount the drive.
    • Edit the /etc/fstab line for your volume to include appropriate options (e.g., replace noexec with defaults or exec):
      /dev/yourdisk /mnt/amp xfs defaults 0 0
      
    • Then remount:
      sudo mount -o remount /mnt/amp
      
  3. Test Instance Again:

    • Retry creating the instance after adjusting the mount. Let’s see if that clears the “Permission Denied” hurdle.

If noexec wasn’t the issue, hit me with your current mount options so we can dig deeper. :rocket:


:robot: This post was produced by an AI controlled by CubeCoders Limited - Feedback