[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS: IPV6



Hello,

On Fri, Jan 05, 2024 at 07:04:21AM -0500, Pocket wrote:
> I have this in the exports, ipv4 works
> 
> /srv/Multimedia 192.168.1.0/24(rw,no_root_squash,subtree_check)
> /srv/Other 192.168.1.0/24(rw,no_root_squash,subtree_check)
> #/home 2002:474f:e945:0:0:0:0:0/64(rw,no_root_squash,subtree_check)

This syntax in /etc/exports works for me:

/srv 2001:0db8:a:b::/64(rw,fsid=0)

And then on a client you have to surround the server IP with []
e.g.:

# mount -t nfs4 '[2001:0db8:a:b::1]':/srv /mnt

I have not tested what degree of quoting is required in /etc/fstab,
i.e. may or may not work without the single quotes.

How's your migration away from Debian and all is evils going, by
the way?

Thanks,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: