{"id":597,"date":"2024-02-28T22:33:28","date_gmt":"2024-02-28T18:33:28","guid":{"rendered":"https:\/\/avdeevk.ru\/?p=597"},"modified":"2024-03-12T13:57:43","modified_gmt":"2024-03-12T09:57:43","slug":"nfs-share-setup-in-ubuntu-debian","status":"publish","type":"post","link":"https:\/\/avdeevk.ru\/index.php\/2024\/02\/28\/nfs-share-setup-in-ubuntu-debian\/","title":{"rendered":"\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043e\u0431\u0449\u0435\u0439 \u043f\u0430\u043f\u043a\u0438 \u0432 Ubuntu\/Debian \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e NFS"},"content":{"rendered":"\n<p>\u041a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u043d\u0435 \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u043b\u0441\u044f \u0441 Samba. \u041d\u0443, \u043d\u0435 \u043c\u043e\u0433\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0451 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e. \u0411\u0435\u0441\u0438\u0442 =) \u0418 \u043a\u0430\u043a-\u0442\u043e \u043e\u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u0443 \u043c\u0435\u043d\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0447\u0435\u0440\u0435\u0437 &#171;\u043a\u0440\u0430\u0439 \u0437\u0435\u043c\u043b\u0438&#187;&#8230; \u041d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u0432 \u043e\u0431\u0449\u0435\u043c. \u042d\u0442\u043e \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 NFS (Network File System)<\/h2>\n\n\n\n<p>NFS \u043f\u0435\u0440\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u044f \u0437\u0430\u043f\u0438\u043b\u0438 \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Sun Microsystems \u0435\u0449\u0451 \u0432 1984 \u0433\u043e\u0434\u0443, \u043a\u043e\u0433\u0434\u0430 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0431\u0443\u0440\u0430\u0442\u0438\u043d\u044b \u0431\u044b\u043b\u0438 \u0435\u0449\u0451 \u0441\u0430\u0436\u0435\u043d\u0446\u0430\u043c\u0438. \u0417\u0430\u043f\u0438\u043b\u0438\u043b\u0438 \u043e\u043d\u0438 \u0435\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043e\u0431\u043c\u0435\u043d, \u0442\u043e\u0447\u043d\u0435\u0435 \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u043f \u043a \u0444\u0430\u0439\u043b\u0430\u043c, \u043f\u043e \u0441\u0435\u0442\u0438. \u0412\u0435\u0440\u0441\u0438\u0439 \u0431\u044b\u043b\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e, \u0441\u0430\u043c\u0430\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f &#8212; NFS4. <\/p>\n\n\n\n<p>\u0415\u0441\u0442\u044c \u043c\u043d\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 NFS \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: <\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u041a\u043b\u0438\u0435\u043d\u0442 NFS \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 NFS \u0444\u0430\u0439\u043b\/\u043f\u0430\u043f\u043a\u0443 \u0447\u0435\u0440\u0435\u0437 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 RPC<\/li>\n\n\n\n<li>\u0421\u0435\u0440\u0432\u0430\u043a \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u0434\u043e\u0441\u0442\u0443\u043f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u0443<\/li>\n\n\n\n<li>\u0421\u0435\u0440\u0432\u0435\u0440 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0448\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\/\u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/li>\n\n\n\n<li>\u0421\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u0447\u0435\u0440\u0435\u0437 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435<\/li>\n\n\n\n<li>\u041a\u043b\u0438\u0435\u043d\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u0444\u0430\u0439\u043b\u0443 \u043a\u0430\u043a \u043a \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0440\u0435\u0441\u0443\u0440\u0441\u0443<\/li>\n<\/ol>\n\n\n\n<p>\u0415\u0449\u0451 \u0443 NFS \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0431\u044b\u043b\u043e, \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0444\u0430\u0439\u043b\u0430. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0427\u0435\u043c NFS \u043b\u0443\u0447\u0448\u0435 Samba<\/h2>\n\n\n\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c, \u0442\u0435 \u0436\u0435 \u044f\u0439\u0446\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0440\u043e\u0444\u0438\u043b\u044c. <\/p>\n\n\n\n<p>\u0413\u043e\u0432\u043e\u0440\u044f\u0442, \u0447\u0442\u043e \u043c\u0435\u0436\u0434\u0443 \u043d\u0435\u0432\u0438\u043d\u0434\u043e\u0432\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c NFS, \u0442\u0430\u043a \u043a\u0430\u043a Samba &#8212; \u043c\u0430\u0441\u0442\u0434\u0430\u0439\u043d\u0430\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f, \u043d\u043e \u044f \u0431\u044b \u0432 \u044d\u0442\u043e \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0432\u0435\u0440\u0438\u043b. \u0418 \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 NFS \u0432\u0440\u043e\u0434\u0435 \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435. <\/p>\n\n\n\n<p>\u041d\u043e \u043f\u043e \u043c\u043e\u0435\u043c\u0443 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u043c\u0443 \u043c\u043d\u0435\u043d\u0438\u044e &#8212; \u043f\u0440\u043e\u0449\u0435, \u0441\u0442\u0440\u043e\u0436\u0435 \u0438 \u043d\u0435 \u043b\u0430\u0433\u0430\u0435\u0442. \u041f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435 \u0443 \u043c\u0435\u043d\u044f. <strong>\u041d\u0410\u0422\u0418\u0412\u041d\u0415\u0415<\/strong>! \u0423\u0445! =)) \u042f \u0436\u0435 \u0442\u0443\u0442 \u0432\u0430\u043b\u044e \u0441 Window \u043f\u043e\u043d\u0435\u043c\u043d\u043e\u0433\u0443, \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435 \u043c\u0435\u0440\u0435 \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 HomeLab \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0427\u0442\u043e \u043d\u0430\u0434\u043e \u0443\u043c\u0435\u0442\u044c \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c NFS<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u041d\u0430\u0434\u043e \u0443\u043c\u0435\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438\u0437-\u043f\u043e\u0434 root&#8217;\u0430. <\/li>\n\n\n\n<li>\u041f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a<\/li>\n\n\n\n<li>\u041f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0435\u0433\u043e \u0442\u044b \u0445\u043e\u0447\u0435\u0448\u044c \u043e\u0442 Linux<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u043e\u0440\u0430 \u0431\u044b \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435<\/h2>\n\n\n\n<p>\u0422\u043e\u0447\u043d\u043e, \u0430 \u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u044f \u0442\u0443\u0442 \u00ab\u0440\u0430\u0441\u0442\u0451\u043a\u0441\u044f \u043c\u044b\u0441\u043b\u044c\u044e \u043f\u043e \u0434\u0440\u0435\u0432\u0443\u00bb. \u041d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043f\u043e\u0431\u043e\u043b\u0442\u0430\u0442\u044c, \u0432\u0438\u0434\u0438\u043c\u043e.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u0447\u0442\u043e \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0443 \u043d\u0430\u0441 \u0442\u0430\u043a\u0438\u0435:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u0421\u0435\u0440\u0432\u0435\u0440 <\/strong>\u0443 \u043d\u0430\u0441 \u0438\u0434\u0451\u0442 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.1.10<\/li>\n\n\n\n<li><strong>\u041a\u043b\u0438\u0435\u043d\u0442<\/strong> \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.1.100<\/li>\n\n\n\n<li>\u0420\u0430\u0441\u0448\u0430\u0440\u0438\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c \u043f\u0430\u043f\u043a\u0443 &#171;<strong>\/home\/serveradmin\/share folder<\/strong>&#187; (\u0442\u0443\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u0435\u043b, \u0432 \u043c\u0435\u0442\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0446\u0435\u043b\u044f\u0445. \u0422\u0430\u043a-\u0442\u043e \u0448\u043b\u0438\u0442\u0435 \u043f\u0440\u043e\u0431\u0435\u043b \u043d\u0430\u0445\u0435\u0440, \u043e\u043d \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u0434\u043a\u0438\u043d\u0435\u0442 \u0432\u0430\u043c \u043f\u0440\u043e\u0431\u043b\u0435\u043c)<\/li>\n\n\n\n<li>\u041c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u043f\u043a\u0443 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0431\u0443\u0434\u0435\u043c \u0432 <strong>\/mnt\/server_folder<\/strong><\/li>\n<\/ol>\n\n\n\n<p>\u0410\u0434\u0440\u0435\u0441\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0443\u0432\u0430\u0436\u0430\u044e\u0449\u0435\u0439 \u0441\u0435\u0431\u044f \u0441\u0435\u0442\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0438 \u0431\u0443\u0434\u0443\u0442, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u044b\u043c\u0438 (\u0433\u0443\u0433\u043b\u0438\u0442\u0435 \u0438 \u043d\u0430\u0433\u0443\u0433\u043b\u0438\u0442\u0435)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 NFS<\/h2>\n\n\n\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043d\u0430 <strong>\u0421\u0415\u0420\u0412\u0415\u0420\u0415 <\/strong>\u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b <strong>\/etc\/exports<\/strong> . \u0412 linux \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0432\u0435\u0440\u0441\u0438\u0438 \u043e\u043d\u043e\u0433\u043e \u0438 \u043e\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<\/p>\n\n\n\n<p>\u041d\u043e \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \u0443 \u0432\u0430\u0441 \u0431\u044b\u043b. \u0415\u0433\u043e \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0431\u044b\u0442\u044c, \u0438 \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043d\u0435 \u0431\u0443\u0434\u0435\u0442. \u0423\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u044d\u0442\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>cat \/etc\/exports<\/strong><\/code><\/pre>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b\u0432\u0435\u0434\u0435\u0442:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>cat: \/etc\/exports: No such file or directory<\/strong><\/code><\/pre>\n\n\n\n<p>\u0417\u043d\u0430\u0447\u0438\u0442, \u0444\u0430\u0439\u043b\u0430 \u0443 \u0432\u0430\u0441 \u043d\u0435\u0442. \u041d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043c\u0430\u043d\u0434, \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0445 \u043a\u0430\u0436\u0434\u043e\u043c\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo apt update\nsudo apt install nfs-common\nsudo apt install nfs-kernel-server<\/strong><\/code><\/pre>\n\n\n\n<p>\u0424\u0430\u0439\u043b <strong>\/etc\/exports<\/strong> \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f.<\/p>\n\n\n\n<p><strong>\u0412\u0430\u0436\u043d\u043e!<\/strong> \u0415\u0441\u0442\u044c \u043c\u043d\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 nfs-kernel-server \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0430\u043f\u043a\u0443 \u0434\u043b\u044f \u0448\u0430\u0440\u0438\u043d\u0433\u0430, \u043d\u043e \u0443 \u043c\u0435\u043d\u044f \u0438 \u0442\u0430\u043a \u0432\u0441\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e \u0432\u0441\u0435\u0433\u0434\u0430.<\/p>\n\n\n\n<p>\u0418\u0442\u0430\u043a, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u043b\u0438\u0431\u043e <strong>sudo nano \/etc\/exports<\/strong><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u043b\u0438\u0431\u043e <strong>sudo vim \/etc\/exports<\/strong><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u043b\u0438\u0431\u043e <strong>sudo mcedit \/etc\/exports<\/strong><\/code><\/pre>\n\n\n\n<p>\u0412 \u0441\u0430\u043c \u0444\u0430\u0439\u043b (\u0412 \u041a\u041e\u041d\u0415\u0426 \u0444\u0430\u0439\u043b\u0430!) \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u043d\u0430\u0448\u0443 \u00ab\u0448\u0430\u0440\u0443\u00bb \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u043f\u0430\u043f\u043a\u043e\u0439 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>\"\/home\/serveradmin\/share folder\" 192.168.1.100(rw,sync,no_subtree_check,root_squash)<\/strong><\/code><\/pre>\n\n\n\n<p>\u0422\u0443\u0442 \u0432\u0430\u0436\u043d\u044b \u043a\u0430\u0432\u044b\u0447\u043a\u0438, \u043a\u0430\u043a \u0440\u0430\u0437 \u0438\u0437-\u0437\u0430 \u043f\u0440\u043e\u0431\u0435\u043b\u0430 \u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u043f\u0430\u043f\u043a\u0438. \u0415\u0441\u043b\u0438 \u0431\u044b \u043f\u0440\u043e\u0431\u0435\u043b\u0430 \u043d\u0435 \u0431\u044b\u043b\u043e \u0432 \u043f\u0443\u0442\u0438, \u0442\u043e \u0432\u0430\u0432\u044b\u0447\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u0442\u044c. ip \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043c\u0430\u0441\u043a\u0443: 192.168.1.* \u0442\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u043c\u0430\u0448\u0438\u043d\u044b \u0438\u0437 \u043f\u043e\u0434\u0441\u0435\u0442\u0438 \u0441\u043c\u043e\u0433\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0440\u0443. \u041d\u043e \u044f \u043b\u044e\u0431\u043b\u044e \u0430\u0434\u0440\u0435\u0441\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0442\u0430\u043a, \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b \u0432 \u044d\u0442\u043e\u0439 \u0436\u0435 \u0441\u0442\u0440\u043e\u043a\u0435:<\/p>\n\n\n\n<p><strong>&#171;\/home\/serveradmin\/share folder&#187; 192.168.1.100(rw,sync,no_subtree_check,root_squash)  192.168.1.101(rw,sync,no_subtree_check,root_squash)  192.168.1.102(rw,sync,no_subtree_check,root_squash) <\/strong><\/p>\n\n\n\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u0442\u043e\u0436\u0435 \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>rw (ro) <\/strong>&#8212; \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u0430. rw &#8212; \u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c. ro &#8212; \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u0435\u043d\u0438\u0435.<\/li>\n\n\n\n<li><strong>sync<\/strong> (async) &#8212; \u043d\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c, \u043f\u043e\u043a\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435. \u041c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c <strong>async<\/strong>, \u043e\u043d \u0431\u044b\u0441\u0442\u0440\u0435\u0435. \u041d\u043e \u0438 \u043c\u0435\u043d\u0435\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438  \u0441\u043e\u0445\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0438 \u0444\u0430\u0439\u043b\u0430. \u041d\u043e async \u0432\u0440\u043e\u0434\u0435 \u0431\u043e\u043b\u0435\u0435 \u0449\u0430\u0434\u044f\u0449\u0438\u0439 \u0434\u043b\u044f SSD, \u0442.\u043a. \u043d\u0435 \u0434\u0451\u0440\u0433\u0430\u0435\u0442 \u0434\u0438\u0441\u043a \u043f\u043e \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443. \u041d\u043e sync \u0431\u043e\u043b\u0435\u0435 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0430 HDD.<\/li>\n\n\n\n<li><strong>no_subtree_check<\/strong>(<strong>subtree_check<\/strong>) &#8212; \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a\u043e \u0432\u0441\u0435\u043c\u0443 \u043f\u043e\u0434\u0434\u0435\u0440\u0435\u0432\u0443. <strong>subtree_check<\/strong> \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u0435\u0435, \u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0435\u0435.<\/li>\n\n\n\n<li><strong>root_squash<\/strong> &#8212; \u044d\u0442\u043e \u043f\u0440\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c. \u0427\u0442\u043e\u0431\u044b \u0430\u0434\u043c\u0438\u043d \u041a\u043b\u0438\u0435\u043d\u0442\u0430 \u043d\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u043b \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u043d\u0430 \u0421\u0435\u0440\u0432\u0435\u0440\u0435. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 no_root_squash \u043d\u0430\u0434\u0435\u043b\u0438\u0442 \u0430\u0434\u043c\u0438\u043d\u0430 \u041a\u043b\u0438\u0435\u043d\u0442\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043f\u043e\u0434\u043c\u0435\u043d\u0438\u0432 \u0435\u0433\u043e UID<\/li>\n<\/ul>\n\n\n\n<p>\u0412\u0441\u0451, \u0441\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0428\u0430\u0440\u0430 \u0433\u043e\u0442\u043e\u0432\u0430. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0447\u0443\u0442\u044c-\u0447\u0443\u0442\u044c:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo exportfs -rv<\/strong>\n#\u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 NFS, \u043d\u043e \u0443 \u043c\u0435\u043d\u044f \u0438 \u0442\u0430\u043a \u043d\u0430 \u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0432\u0441\u0435\u0433\u043e\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e:\n<strong>sudo systemctl restart nfs-kernel-server<\/strong>  #\u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e =) <\/code><\/pre>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u044d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0435\u0441\u043b\u0438 \u0432\u0441\u0451 \u043f\u0440\u043e\u0448\u043b\u043e \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a, \u0442\u043e \u0432\u0430\u0448\u0430 \u0448\u0430\u0440\u0430 \u0443\u0436\u0435 \u0442\u043e\u0440\u0447\u0438\u0442 \u043d\u0430\u0440\u0443\u0436\u0443 \u0438\u0437 \u0432\u0430\u0448\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c NFS \u043d\u0430 \u041a\u043b\u0438\u0435\u043d\u0442\u0435<\/h2>\n\n\n\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c NFS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo apt<\/strong> <strong>update<\/strong>\n<strong>sudo apt install nfs-common<\/strong><\/code><\/pre>\n\n\n\n<p>\u0427\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u043e\u0432\u043e (\u0434\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438) \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0440\u0443 \u0432\u0432\u043e\u0434\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 (\u043d\u0435 \u043f\u043e\u043c\u043d\u044e, \u043d\u0443\u0436\u043d\u044b \u043b\u0438 \u043a\u0430\u0432\u044b\u0447\u043a\u0438 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u043e\u043a\u0440\u0443\u0433 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u0443\u0442\u0438. \u041f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0441\u0430\u043c\u0438!) :<\/p>\n\n\n\n<p><strong>sudo mount -t nfs 192.168.1.10:\/home\/serveradmin\/share folder \/mnt\/server_folder<\/strong><\/p>\n\n\n\n<p>\u0427\u0442\u043e\u0431\u044b \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0440\u0443 \u043d\u0430 \u041a\u043b\u0438\u0435\u043d\u0442\u0435 \u0435\u0441\u0442\u044c \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c <strong>\/etc\/fstab<\/strong><\/li>\n\n\n\n<li>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0435\u043c\u043e\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0448\u0430\u0440\u0443 \u0441\u0430\u043c<\/li>\n<\/ol>\n\n\n\n<p>\u0413\u043e\u0432\u043e\u0440\u044f\u0442, \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0438 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0434\u0432\u0435\u0441\u0438\u0442\u044c \u041a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435. \u041d\u043e \u044f \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b\u0441\u044f \u0441 \u0442\u0430\u043a\u043e\u0439 \u0431\u0435\u0434\u043e\u0439.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0418\u0442\u0430\u043a, \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431:<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo nano \/etc\/fstab<\/strong>n<\/code><\/pre>\n\n\n\n<p>\u0412 \u0444\u0430\u0439\u043b \u0434\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0441\u0442\u0440\u043e\u0447\u043a\u0443:<\/p>\n\n\n\n<p><strong>192.168.1.10:\/home\/serveradmin\/share folder \/mnt\/server_folder nfs defaults 0 0<\/strong><\/p>\n\n\n\n<p>\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c, \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c, \u0432\u0432\u043e\u0434\u0438\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<p>sudo mount -a   #\u0442\u0430\u043a \u0436\u0435, \u0432\u0440\u043e\u0434\u0435, \u043c\u043e\u0436\u043d\u043e <strong>sudo mount \/mnt\/server_folder<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0418\u0442\u0430\u043a, \u0432\u0442\u043e\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431:<\/h2>\n\n\n\n<p>\u041d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b \u0432 \u043f\u0430\u043f\u043a\u0435 <strong>\/etc\/systemc\/system\/<\/strong>  \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c, \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0438\u043c \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f ( \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e! ). \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0431\u0443\u0434\u0435\u0442 <strong>mnt-server_folder.mount<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>cd \/etc\/systemd\/system\nsudo touch mnt-server_folder.mount<\/strong>\n\n#\u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c:\n<strong>sudo nano mnt-server_folder.mount<\/strong><\/code><\/pre>\n\n\n\n<p>\u0412 \u0444\u0430\u0439\u043b\u0435 \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u043e\u043a\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>&#91;Unit]\nDescription=Mount nfs share\nAfter=network.target\n\n&#91;Mount]\nWhat=192.168.1.10:\/home\/serveradmin\/share folder\nWhere=<strong>\/mnt\/server_folder<\/strong>\nType=nfs\n\n&#91;Install]\nWantedBy=multi-user.target<\/strong><\/code><\/pre>\n\n\n\n<p>\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0444\u0430\u0439\u043b. \u0418 \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c systemd \u043f\u0435\u0440\u0435\u0447\u0438\u0442\u0430\u0442\u044c \u0432\u0441\u0435\u0445 \u0434\u0435\u043c\u043e\u043d\u043e\u0432:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo systemctl daemon-reload<\/strong><\/code><\/pre>\n\n\n\n<p>\u0417\u0430\u0442\u0435\u043c, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0448\u0435\u0433\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo systemctl start mnt-server_folder.mount<\/strong>\n<\/code><\/pre>\n\n\n\n<p>\u0427\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0434\u0435\u043c\u043e\u043d \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u0441\u044f \u0441\u0430\u043c \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>sudo systemctl enable mnt-server_folder.mount<\/strong><\/code><\/pre>\n\n\n\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0443\u0441\u043f\u0435\u0445 \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -l \/mnt\/server_folder<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0414\u043e\u0441\u0442\u0443\u043f \u043a NFS \u043f\u0430\u043f\u043a\u0435 \u0441 Windows<\/h2>\n\n\n\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c PowerShell <strong>\u0431\u0435\u0437<\/strong> \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u0430\u0432.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043e\u0431\u0449\u0435\u0439 \u043f\u0430\u043f\u043a\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>New-PSdrive -PSProvider FileSystem -Name D -Root \\\\192.168.1.1\\mnt\\nfs\\doc -Persist<\/code><\/pre>\n\n\n\n<p>\u0413\u0434\u0435, <strong>D<\/strong> &#8212; \u0438\u043c\u044f \u0431\u0443\u0434\u0443\u0449\u0435\u0433\u043e \u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 (\u0431\u0435\u0437 \u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u044f!), <strong>192.168.1.1<\/strong> &#8212; ip-\u0430\u0434\u0440\u0435\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430, <strong>\\mnt\\nfs\\doc<\/strong> &#8212; \u043f\u0443\u0442\u044c \u0434\u043e \u043f\u0430\u043f\u043a\u0438(\u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0439)<\/p>\n\n\n\n<p>\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0438\u0441\u043a \u043c\u043e\u0436\u043d\u043e \u043a\u0430\u043a \u0438\u0437 GUI &#8212; \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0434\u0438\u0441\u043a, \u0442\u0430\u043a \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0432 PowerShell \u0431\u0435\u0437 \u043f\u0440\u0438\u0432\u0435\u043b\u0435\u0433\u0438\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Remove-PSdrive -Name Z<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n\n\n\n<p>\u041e\u0441\u043d\u043e\u0432\u043e\u0439 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043e\u043f\u044b\u0442, \u043d\u0430\u0431\u0438\u0442\u044b\u0435 \u0448\u0438\u0448\u043a\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0437\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>https:\/\/www.ev3dev.org\/docs\/tutorials\/setting-up-an-nfs-file-share\/<\/li>\n\n\n\n<li>https:\/\/www.opennet.ru\/docs\/HOWTO-RU\/NFS-HOWTO-6.html<\/li>\n\n\n\n<li>https:\/\/bluexp.netapp.com\/blog\/azure-anf-blg-linux-nfs-server-how-to-set-up-server-and-client<\/li>\n\n\n\n<li>https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-set-up-an-nfs-mount-on-ubuntu-20-04-ru<\/li>\n\n\n\n<li>https:\/\/redos.red-soft.ru\/base\/server-configuring\/other-utilites\/nfs\/<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u0430\u043a-\u0442\u043e \u0442\u0430\u043a \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u044f \u043d\u0435 \u043f\u043e\u0434\u0440\u0443\u0436\u0438\u043b\u0441\u044f \u0441 Samba. \u041d\u0443, \u043d\u0435 \u043c\u043e\u0433\u0443 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433 \u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0430, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0451 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e. \u0411\u0435\u0441\u0438\u0442 =) \u0418 \u043a\u0430\u043a-\u0442\u043e \u043e\u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u0443 \u043c\u0435\u043d\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0447\u0435\u0440\u0435\u0437 &#171;\u043a\u0440\u0430\u0439 \u0437\u0435\u043c\u043b\u0438&#187;&#8230; \u041d\u0435 \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f, \u0432 \u043e\u0431\u0449\u0435\u043c. \u042d\u0442\u043e \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e. \u0427\u0442\u043e \u0442\u0430\u043a\u043e\u0435 NFS (Network File System) NFS \u043f\u0435\u0440\u0432\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u044f \u0437\u0430\u043f\u0438\u043b\u0438 \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Sun Microsystems<\/p>\n","protected":false},"author":1,"featured_media":603,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[23,18],"tags":[26,29,28,27,21],"class_list":["post-597","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gnu-linux","category-administration","tag-linux","tag-mount","tag-nfs","tag-share","tag-21","has-thumbnail"],"_links":{"self":[{"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/posts\/597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/comments?post=597"}],"version-history":[{"count":5,"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/posts\/597\/revisions"}],"predecessor-version":[{"id":607,"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/posts\/597\/revisions\/607"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/media\/603"}],"wp:attachment":[{"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/media?parent=597"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/categories?post=597"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avdeevk.ru\/index.php\/wp-json\/wp\/v2\/tags?post=597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}