NFSv3 support for .zfs
By erickustarz on Mar 14, 2006
Rob just did the putback last night to now enable NFSv3 to access .zfs/snapshot! So now both v3 and v4 have access.
fsh-weakfish# mount -o vers=3 fsh-mullet:/pool /mnt fsh-weakfish# ls /mnt/.zfs/snapshot krispies fsh-weakfish# ls /mnt/.zfs/snapshot/krispies neat.txt fsh-weakfish# cat /mnt/.zfs/snapshot/krispies/neat.txt hi fsh-weakfish#
In my previous blog on how the v4 support was done, i introduced a new data structure "fhandle_ext_t". That strucuture is now renamed to fhandle4_t to ease code changes in the future in case we ever need to increase v4's potential filehandle size (its currently set to v3's protocol limitation). NFSv3, similarly, uses the data structure fhandle3_t.
These changes will be in build 36 of nevada.