IPv6 Testing on NFS should be similar to IPv4 NFS, and when specifying ipv6 address, it needs to be enclosed in square brackets. Link-local and site-local IPv6 addresses must be accompanied by an interface identifier. Please see ipv6(7) manpage for details on specifying raw IPv6 addresses.
- An example of /etc/fstab shows how to mount an NFS server using a raw IPv6 link local address using brackets:
[fe80::215:c5ff:fb3e:e2b1%eth0]:/export /mnt nfs defaults 0 0
- An good example to try is to mount a nfs filesystem via an ipv6 address:
# mount -t nfs '[2001:470:8:d63:20e:cff:fec6::1]:/export' /mnt/foo
Note: NFS Client side IPv6 support is in RHEL6.0; NFS Server side IPv6 support is in RHEL6.1