How do you mount a NX NAS SMB Share on a CentOS or Red Hat 7?


The relatime and unix arguments will cause mount error(22): Invalid argument if used in fstab on CentOS 7.2.  And when using CIFS, the highest version is 2.
Here is an example fstab inclusion:
//nas/share1 /mnt/share1 cifs rw,vers=2.0,cache=strict,username=guest,password="",domain=WORKGROUP,uid=0,noforceuid,gid=0,noforcegid,addr=,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1       0 0here is an example for 7.4 and ZX// /mnt/zxnas   cifs rw,guest,file_mode=0777,dir_mode=0777,nounix    0 0
Daryl Heinis
2019-06-28 00:24