{"id":323,"date":"2015-12-11T09:15:00","date_gmt":"2015-12-11T00:15:00","guid":{"rendered":"http:\/\/www.kinryo.net\/?p=323"},"modified":"2015-12-11T09:15:00","modified_gmt":"2015-12-11T00:15:00","slug":"%ef%bc%91%ef%bc%96%ef%bc%9anfs%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=323","title":{"rendered":"\uff11\uff16\uff1aNFS\u3092\u8a2d\u5b9a\u3059\u308b\u3002"},"content":{"rendered":"<div class=\"itemBody\">\n<p class=\"itemText\">nfs-utils\u306f\u6700\u521d\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3001\/etc\/idmapd.conf \u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<div class=\"xoopsCode\">\n<pre><code><span style=\"color: #0000ff;\">Domain = kinryokai.net<\/span>\u3000\u2190\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3001\u81ea\u5206\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u3059\u308b\u3002<\/code><\/pre>\n<\/div>\n<p>\/etc\/exports \u306f<\/p>\n<div class=\"xoopsCode\">\n<pre><span style=\"color: #0000ff;\"><code>\/Download\/NfsDir 192.168.xxx.0\/24(rw,no_root_squash,no_all_squash) <\/code><\/span><\/pre>\n<\/div>\n<p>\u3053\u306e\u610f\u5473\u306f\u3001\u3053\u306e\u30b5\u30d6\u30db\u30b9\u30c8\u306e \/Download\/NfsDir \u3092\u4ed6\u306e\u30db\u30b9\u30c8\u304b\u3089\u898b\u3048\u308b\u3088\u3046\u306b\u3001\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30db\u30b9\u30c8\u306f192.168.xxx. \u3064\u307e\u308alocal network \u304b\u3089\u3060\u3051\u3001RW\u30e2\u30fc\u30c9\u3067\u3001root\u3092\u8a31\u53ef\u3057\u3001\u305d\u306e\u307e\u307e\u306e\u6a29\u9650\u3067\u30a2\u30af\u30bb\u30b9\u3055\u305b\u308b\u3002<br \/>\n<span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> service rpcbind start<\/span><br \/>\n<span style=\"color: #ff6600;\">rpcbind \u3092\u8d77\u52d5\u4e2d:\u3000[ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> service nfslock start<\/span><br \/>\n<span style=\"color: #ff6600;\">NFS statd \u3092\u8d77\u52d5\u4e2d:\u3000[ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> service nfs start<\/span><br \/>\n<span style=\"color: #ff6600;\">NFS \u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u4e2d: [ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">NFS \u30af\u30a9\u30fc\u30bf\u3092\u8d77\u52d5\u4e2d: [ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">NFS mountd \u3092\u8d77\u52d5\u4e2d: [ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">NFS \u30c7\u30fc\u30e2\u30f3\u3092\u8d77\u52d5\u4e2d: [ OK ]<\/span><br \/>\n\u3068\u305d\u308c\u305e\u308c\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u30b9\u30bf\u30fc\u30c8\u3055\u305b\u308b\u3002<br \/>\n\u4e0a\u8a18\u306fCentos\uff16\u306e\u6642\u3001Centos\uff15\u306f service rpcbind start \u304cservice portmap start \u306b\u306a\u308b\u3002<br \/>\n\u79c1\u306f\u4eca\u3060\u3051\u4f7f\u3046\u306e\u3067\u3001\u518d\u8d77\u52d5\u5f8c\u306b\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u306f\u7121\u3044\u306e\u3067 chkconfig \u306b\u306f\u8a2d\u5b9a\u3092\u52a0\u3048\u306a\u304b\u3063\u305f\u3002<br \/>\n\u3053\u3053\u304b\u3089\u306fNFS\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u8a2d\u5b9a<br \/>\nnfs-utils \u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3060\u3063\u305f\u306e\u3067\u3001\/etc\/idmapd.conf \u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<div class=\"xoopsCode\">\n<pre><code><span style=\"color: #0000ff;\">Domain = kinryokai.net<\/span>\u3000\u2190\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3001\u81ea\u5206\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u3059\u308b\u3002<\/code><\/pre>\n<\/div>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u5fc5\u8981\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u8d70\u3089\u305b\u308b\u3002<br \/>\n\u4e0b\u8a18\u306fCentos\uff15\u306e\u6642\u3001Centos\uff16\u3067\u306f portmap \u306e\u4ee3\u308f\u308a\u306b rpcbind \u3068 rpcidmapd \u3092start\u3059\u308b\u3002<br \/>\n<span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> service portmap start<\/span><br \/>\n<span style=\"color: #ff6600;\">portmap \u3092\u8d77\u52d5\u4e2d: [ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> service nfslock start<\/span><br \/>\n<span style=\"color: #ff6600;\">NFS statd \u3092\u8d77\u52d5\u4e2d:\u3000[ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> service netfs start<\/span><br \/>\n<span style=\"color: #ff6600;\">\u305d\u306e\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u30de\u30a6\u30f3\u30c8\u4e2d:\u3000[ OK ]<\/span><br \/>\n<span style=\"color: #ff6600;\">#<\/span><span style=\"color: #008000;\"> mount -t nfs -o rw web.kinryokai.net:\/Download\/NfsDir \/test1<\/span><br \/>\n<span style=\"color: #ff6600;\">mount: mount to NFS server &#8216;web.kinryokai.net&#8217; failed: System Error: Connection refused.<\/span><br \/>\n\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002\u305d\u3046\u8a00\u3048\u3070 web.kinryokai.net \u3092\u7c21\u6613DNS\u3067\u3042\u308bdnsmasq\u304c\u8d70\u3063\u3066\u3044\u308b\u30db\u30b9\u30c8\u306e \/etc\/hosts \u306b\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u8a2d\u5b9a\u5f8c\u3001dnsmasq \u3092\u518d\u8d77\u52d5\u3059\u308b\u3068\u30de\u30a6\u30f3\u30c8\u51fa\u6765\u305f\u3002<\/div>\n<div class=\"itemFoot\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>nfs-utils\u306f\u6700\u521d\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u305f\u306e\u3067\u3001\/etc\/idmapd.conf \u3092\u8a2d\u5b9a\u3059\u308b\u3002 Domain = kinryokai.net\u3000\u2190\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3001\u81ea\u5206\u306e\u30c9\u30e1\u30a4\u30f3\u306b\u3059\u308b\u3002 \/etc\/exports \u306f &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=323\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-323","post","type-post","status-publish","format-standard","hentry","category-centos6"],"acf":[],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=323"}],"version-history":[{"count":3,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions"}],"predecessor-version":[{"id":326,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/323\/revisions\/326"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}