{"id":1094,"date":"2017-04-17T15:31:30","date_gmt":"2017-04-17T20:31:30","guid":{"rendered":"http:\/\/blog.ls-al.com\/?p=1094"},"modified":"2017-04-17T15:31:30","modified_gmt":"2017-04-17T20:31:30","slug":"linux-mount-nfsv4-2","status":"publish","type":"post","link":"https:\/\/blog.ls-al.com\/linux-mount-nfsv4-2\/","title":{"rendered":"Linux Mount nfsv4.2"},"content":{"rendered":"

Just a quick test on using nfs v4.2. This test was on a Ubuntu 17.4 server as well as client.<\/p>\n

\r\n#\u00a0cat \/etc\/exports \r\n<snip>\r\n\/DATA\t*(ro,sync,no_root_squash,insecure)\r\n\/home   192.168.1.43(rw,insecure)\r\n\r\n#\u00a0systemctl restart nfs-kernel-server\r\n\r\n#\u00a0more \/proc\/fs\/nfsd\/versions \r\n+2 +3 +4 +4.1 +4.2\r\n\r\n# mount -t nfs -o minorversion=2 server1:\/DATA \/DATA\r\n# nfsstat -m\r\n\/mnt\/home from server1:\/home\r\n Flags:\trw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.42,mountvers=3,mountport=41341,mountproto=udp,local_lock=none,addr=192.168.1.42\r\n\r\n\/DATA from server1:\/DATA\r\n Flags:\trw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=10.0.3.15,local_lock=none,addr=192.168.1.42\r\n\r\n# rsync -a --progress ubuntu-17.04-desktop-amd64.iso \/DATA\/DATABANK\/iso\/\r\nsending incremental file list\r\nubuntu-17.04-desktop-amd64.iso\r\n  1,609,039,872 100%  157.75MB\/s    0:00:09 (xfr#1, to-chk=0\/1)\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

Just a quick test on using nfs v4.2. This test was on a Ubuntu 17.4 server as well as client.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,82],"tags":[],"class_list":["post-1094","post","type-post","status-publish","format-standard","hentry","category-linux","category-nfs"],"_links":{"self":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/comments?post=1094"}],"version-history":[{"count":0,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/posts\/1094\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/media?parent=1094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/categories?post=1094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ls-al.com\/wp-json\/wp\/v2\/tags?post=1094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}