Welcome, Guest
Username: Password: Remember me
NOTE: This is a "Community" forum. Please be mindful that community members are here to help as part of a community effort. We therefore appreciate your effort in keeping this forum a happy place!

If you have a specific issue (e.g. hardware, failure) and want help from our support team, please use our tech support portal (Support menu - > Contact Us).
Thanks a lot of your help in making a better community.
  • Page:
  • 1


Automount NFS share on volumio, when network estab 3 months 1 day ago #55319

  • Nervoservo
  • Nervoservo's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 1
Hi all,
I had several issues in the past with volumio losing the NFS network share (e.g. due to a reboot of either NAS or volumio, or connection/network/WiFi issues) without being able to restore it without several reboots of SHD's volumio.

That being said, I tried to find a way to mount it without such kind of issues and after several tryouts I found that the solution is quite simple!

First of all, I would like to make clear that I do not have any kind of responsibility for any kind of potential damage/instability/warranty loss etc, that this guide could cause on your system. Please also be aware that this could harm your official warranty. Do everything on your own responsibility.
Further, please do not ask me for SSH credentials; I will not provide them!

What we will need:
  1. SSH credentials for your SHD and a SSH client utility (e.g. putty)
  2. Network access to the webpage of the volumio

It is highly recommended that the SHD will be connected through Ethernet cable to your router while you are performing the below steps.

What this workaround is actually doing?
It will create an NFS mount towards NAS through fstab , not using the volumio's built in functionality. Please note that your library will be deleted and will be rebuilt from scratch.

The workaround:
  1. Navigate to SHD volumio's webpage-->Settings-->My Music and delete the existing NFS share.
  2. Login to SHD volumio through putty, using its local IP and SHD's SSH credentials.
  3. Create the mount point locally using the below command:
    mkdir /mnt/NAS/NFSmount
  4. Edit fstab:
    sudo nano /etc/fstab
  5. Move to the last line and add the below line (where represents the network path to NFS share of NAS) /mnt/NAS/NFSmount nfs ro,nolock,noauto,x-systemd.automount 0 0
  6. Press Ctrl+X , then Y
  7. Reboot SHD
  8. Navigate to SHD volumio's webpage-->Settings-->My Music and press Rescan button so the new Music Library will be built.
Rollback procedure:
If for any reason you are not happy with the results, it is very simple and quick to rollback. You only need to remove the above line from fstab (or just comment it out). Then, through Volumio's "My Music" webapge you need to configure again the NFS mount, using your previous settings.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: devteam