I thought that nothing could be easier on Solaris than to mount a directory from a QNAP NAS (running Linux). Ha! Nope… Here’s some gotchas.
QNAP firmware v2.x does not support NFSv3 or NFSv4, so you have to explicitly use “-o vers=2”. As a result, you cannot use files bigger than 2GB (no problems with SMB).
QNAP firmware v3.2.x supports NFSv3 (use “-o vers=3”) but does not support NFSv4. Big files are back, but to get the AUTH_SYS authentication back too, add “sec=sys” to the options string (considering that users on the NAS box have the same UID’s as on Solaris).
nfs mount: nas:/photo: No such file or directory
xeon# mount -F nfs -o vers=3,sec=sys nas:/photo /mnt
Or use the automounter:
. . .
/nas auto_nas -nobrowse
xeon# more /etc/auto_nas
* -vers=3,sec=sys nas:/&
xeon# svcadm restart autofs
xeon# cd /nas/video
The directories must be exported as “No Limit” access rights (UID’s and standard file access modes will be used).