{"id":5080,"date":"2016-12-06T11:09:31","date_gmt":"2016-12-06T09:09:31","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=5080"},"modified":"2024-12-10T12:40:55","modified_gmt":"2024-12-10T10:40:55","slug":"nfs-multimount","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=5080","title":{"rendered":"NFS multimount"},"content":{"rendered":"<p>\u0414\u043b\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0443 <strong>NFS<\/strong> \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0432 \u043f\u043b\u0430\u043d\u0435 <strong>failover<\/strong> \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0445\u043e\u0441\u0442. \u0418 \u0442\u0430\u043a, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0431\u0449\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439:<\/p>\n<p><code>srv1.domain.com, share = \/data\/share1<br \/>\nsrv2.domain.com, share = \/data\/share2<\/code><\/p>\n<p>\u0422\u043e\u0433\u0434\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f <strong>NFS<\/strong> (\u0434\u043b\u044f <strong>Solaris<\/strong>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 <strong>\/etc\/auto_direct<\/strong>) \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p><!--more--><\/p>\n<p><code>localmount\u00a0\u00a0 [options]\u00a0\u00a0\u00a0\u00a0\u00a0 host1:share1\u00a0 host2:share2 .... hostN:shareN<\/code><\/p>\n<p>\u0438\u043b\u0438 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435:<\/p>\n<p><code>\/data\/dst_dir\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 -ro,rsize=1048576,wsize=1048576\u00a0\u00a0 srv1.domain.com:\/data\/share1\u00a0\u00a0\u00a0\u00a0\u00a0 srv2.domain.com:\/data\/share2<\/code><\/p>\n<p>\u0442\u043e \u0435\u0441\u0442\u044c, \u043f\u043e\u0441\u043b\u0435 \u043e\u043f\u0446\u0438\u0439 \u0438\u0434\u0451\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0445\u043e\u0441\u0442\u043e\u0432 \u0438 \u0438\u0445 &#8220;\u0448\u0430\u0440&#8221;. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0441\u0435\u0445 \u0445\u043e\u0441\u0442\u043e\u0432 \u0448\u0430\u0440\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0443\u0442\u0438, \u0442\u043e\u0433\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e:<\/p>\n<p><code>localmount\u00a0\u00a0 [options]\u00a0\u00a0 host1,host2:share<\/code><\/p>\n<p>\u0415\u0449\u0451 \u0435\u0441\u0442\u044c \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0432\u044b\u0431\u043e\u0440\u0430 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u0432, \u0442\u043e \u0435\u0441\u0442\u044c \u043e\u0447\u0435\u0440\u0451\u0434\u043d\u043e\u0441\u0442\u044c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u044f <strong>failover&#8217;a<\/strong>. \u041e\u0431\u0449\u0430\u044f \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p><code>localmount\u00a0\u00a0 [options]\u00a0\u00a0\u00a0\u00a0\u00a0 host1(M1):share1\u00a0 host2(M2):share2 .... hostN(MN):shareN<\/code><\/p>\n<p>\u0433\u0434\u0435 <strong>M1,M2,&#8230;MN<\/strong> &#8211; \u0447\u0438\u0441\u043b\u043e. \u0427\u0435\u043c \u043d\u0438\u0436\u0435 \u0447\u0438\u0441\u043b\u043e \u0442\u0435\u043c, \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u0432\u044b\u0448\u0435 (\u043f\u043e\u043b\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u0432 \u0432 <strong>MX<\/strong>-\u0437\u0430\u043f\u0438\u0441\u044f\u0445 \u0438\u043b\u0438 \u0440\u043e\u0443\u0442\u0438\u043d\u0433\u0430 \u0432 \u0432\u0438\u043d\u0434\u0435). \u0415\u0441\u043b\u0438 \u0447\u0438\u0441\u043b\u043e \u043d\u0435 \u0437\u0430\u0434\u0430\u043d\u043e, \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0435\u0433\u043e \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 1, \u0442\u043e \u0435\u0441\u0442\u044c \u0441\u0430\u043c\u044b\u0439 \u0432\u044b\u0441\u0448\u0438\u0439.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0443 NFS \u0442\u043e\u0436\u0435 \u0435\u0441\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u044b \u0432 \u043f\u043b\u0430\u043d\u0435 failover \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0445\u043e\u0441\u0442. \u0418 \u0442\u0430\u043a, \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043e\u0431\u0449\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439: srv1.domain.com, share = \/data\/share1 srv2.domain.com, share = \/data\/share2 \u0422\u043e\u0433\u0434\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438 \u0434\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f NFS (\u0434\u043b\u044f Solaris, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044d\u0442\u043e \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/auto_direct) \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-5080","post","type-post","status-publish","format-standard","hentry","category-others"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5080"}],"version-history":[{"count":2,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5080\/revisions"}],"predecessor-version":[{"id":6510,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5080\/revisions\/6510"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}