{"id":561,"date":"2023-01-12T11:23:37","date_gmt":"2023-01-12T09:23:37","guid":{"rendered":"https:\/\/my-opinions.uw-t.com\/?p=561"},"modified":"2023-01-12T11:23:37","modified_gmt":"2023-01-12T09:23:37","slug":"auto-mount-without-fstab","status":"publish","type":"post","link":"https:\/\/uw-t.com\/ru\/ssh\/auto-mount-without-fstab","title":{"rendered":"Auto mount without fstab"},"content":{"rendered":"<p><\/p>\n<ul>\n<li>create file<\/li>\n<\/ul>\n<p><strong>\/etc\/systemd\/system\/var-nfs.mount<\/strong><\/p>\n<p>name file mast directory if \/var\/nfs name var-nfs.mount, if \/nfs name nfs.mount<\/p>\n<blockquote>\n<pre>[Unit]\r\nDescription=Things devices\r\nAfter=network.target\r\n\r\n[Mount]\r\nWhat=1.1.2.2:\/minio\/nfs\r\nWhere=\/var\/nfs\r\nType=nfs4\r\nOptions=rw\r\nOptions=_netdev,auto\r\nDirectoryMode=0755\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<\/blockquote>\n<ul>\n<li>and enable service <strong>systemctl enable var-nfs.mount<\/strong><\/li>\n<\/ul>\n<p>this all, afte reboot this automount nfs<\/p>","protected":false},"excerpt":{"rendered":"<p>create file \/etc\/systemd\/system\/var-nfs.mount name file mast directory if \/var\/nfs name var-nfs.mount, if \/nfs name nfs.mount [Unit] Description=Things devices After=network.target [Mount] What=1.1.2.2:\/minio\/nfs Where=\/var\/nfs Type=nfs4 Options=rw Options=_netdev,auto DirectoryMode=0755 [Install] WantedBy=multi-user.target and enable service systemctl enable var-nfs.mount this all, afte reboot this automount nfs<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[42],"tags":[],"class_list":["post-561","post","type-post","status-publish","format-standard","hentry","category-ssh"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts\/561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/comments?post=561"}],"version-history":[{"count":1,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts\/561\/revisions"}],"predecessor-version":[{"id":562,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/posts\/561\/revisions\/562"}],"wp:attachment":[{"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/media?parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/categories?post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uw-t.com\/ru\/wp-json\/wp\/v2\/tags?post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}