Ipfire NFS Server => cant write

Hi !
I setup NFS Server on Ipfire with

/export/backup 192.168.0.0/16(rw,async,subtree_check,no_root_squash,anonuid=1003,anongid=1002)

mounted on my ubuntu system with

ipfire:/video on /net/nfs4/ipfire/video type nfs4 (rw,relatime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.63.1,local_lock=none,addr=192.168.63.254)

but i get

root@capricorn:/net/nfs4/ipfire/video# touch test
touch: 'test' kann nicht berührt werden: Das Dateisystem ist nur lesbar

How can i make it writeable on the ubuntu host

Ciao Gerd

On your client are the user and group for the video directory also uid=1003 and gid=1002.

nfs doesn’t match the user names but it does require the uid and gid to match.

If you want to match the user and group names then you need to ensure the same uid and gid is used in both IPFire and the client machine for the same user and group names. These won’t match if the uid/gid have already been used.

2 Likes

Hi !

OK i setup on my ubuntu host gid and uid 1000 (same line) and from other clients (including ipfire) it works…
Because its only internal users etc. are not mandantory its only for data storage and everybody should be able to write and read on this share…

Ciao Gerd