Recommended Posts

  I have tried mounting it in fstab, and exporting it via NFS in /etc/exports, but somehow fstab gets overwritten when I reboot.

Anything outside of /boot and /mnt/disk? is in RAM and recreated on reboot. If you have it working until you reboot, then any commands you run to mount and share it will need to be put into the go file so that they will run on reboot. I'm not sure putting the mount point on an existing disk is a good idea, you might want to create the mount point directory /mnt/mycustom/something as part of your script.
Link to comment
  • 1 month later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.