mounting NFS v4 results in "Invalid argument"

You are trying to use:

mount_nfs -o rwsize=32768 -o locallocks -o namedattr -o noac -o rdirplus -o nfsv3 jin.local:volume1/File/ /Volumes/File

Instead try:

mount_nfs -vers=4 -o rwsize=32768 -o locallocks -o namedattr -o noac -o rdirplus jin.local:volume1/File/ /Volumes/File

or

mount_nfs -vers=4,rwsize=32768,locallocks,namedattr,noac,rdirplus jin.local:volume1/File/ /Volumes/File