[SOLVED] Setup nfs on artix with runit 07 December 2023, 13:34:36 How to setup nfs server on artix with runit?I basically just follow nfs page in arch linux wikiI did this in export /srv/nfs 192.168.1.0/24(rw,sync,crossmnt,fsid=0)/srv/nfs/music 192.168.1.0/24(rw,sync)mount --bind /mnt/music /srv/nfs/musicOn my server ls /srv/nfs/music show contents of /mnt/music but on client the srv/nfs/music mount point show nothingThank you for your help. Last Edit: 03 March 2024, 13:44:24 by nous
Setup nfs on artix with runit help Reply #1 – 07 December 2023, 13:37:00 How to setup nfs server on artix with runit?I basically just follow nfs page in arch linux wikiI did this in export/srv/nfs 192.168.1.0/24(rw,sync,crossmnt,fsid=0)/srv/nfs/music 192.168.1.0/24(rw,sync)mount --bind /mnt/music /srv/nfs/musicOn my server ls /srv/nfs/music show contents of /mnt/music but on client the srv/nfs/music mount point show nothingThank you for your help.
Re: Setup nfs on artix with runit Reply #2 – 11 February 2024, 22:51:59 Hi , I had some issues to with connection refused when just installing the package nfs-utils.with Artix Runit , you have to enable statd service on the server side and the rpcbind service.So to run on next boot your nfs-server doln -s /etc/runit/sv/statd /run/runit/service/ln -s /etc/runit/sv/rpcbind /run/runit/service/ln -s /etc/runit/sv/nfs-server /run/runit/service/and offcourse setup your /etc/export file Have a nice day
Re: Setup nfs on artix with runit Reply #3 – 03 March 2024, 04:54:10 Quote from: thinkerwim – on 11 February 2024, 22:51:59Hi , I had some issues to with connection refused when just installing the package nfs-utils.with Artix Runit , you have to enable statd service on the server side and the rpcbind service.So to run on next boot your nfs-server doln -s /etc/runit/sv/statd /run/runit/service/ln -s /etc/runit/sv/rpcbind /run/runit/service/ln -s /etc/runit/sv/nfs-server /run/runit/service/and offcourse setup your /etc/export file Have a nice dayHi, Thank you so much for your help. I could not find statd or rpc.statd packageI ran this sudo pacman -S nfs-utils nfs-utils-runit rpcbind rpcbind-runitThanks again for your advise.
Re: Setup nfs on artix with runit Reply #4 – 03 March 2024, 04:58:33 the nfs-utils package contain usr/bin/rpc.statdvar/lib/nfs/statd/ I did not find separate statd service that come with runit that i can install
Re: Setup nfs on artix with runit Reply #5 – 03 March 2024, 10:30:52 per your advise ln -s /etc/runit/sv/statd /run/runit/service/ln -s /etc/runit/sv/rpcbind /run/runit/service/ln -s /etc/runit/sv/nfs-server /run/runit/service/I added this to my /etc/exports/mnt/data 192.168.1.0/24(rw,sync,all_squash,insecure,no_subtree_check,no_root_squash) -----> These options are needed for android apps to access the nfs share. Before I did not add all_squash, insecure, and no_root_squash, I could not access the nfs share from my android phone VLC APP and android tvbox Kodi APPThe nfs share for Linux client is working fine just use/mnt/data 192.168.1.0/24(rw,sync)Thank you so much for your advise. Have a great day. Last Edit: 03 March 2024, 11:14:03 by JamesL