{"id":376,"date":"2005-09-25T00:00:00","date_gmt":"2005-09-25T04:00:00","guid":{"rendered":"http:\/\/www.ippei813.com\/nikki\/?p=376"},"modified":"2007-11-05T01:04:27","modified_gmt":"2007-11-05T06:04:27","slug":"samba-or-nfs","status":"publish","type":"post","link":"https:\/\/www.ippei813.com\/nikki\/mac\/376","title":{"rendered":"Samba or NFS"},"content":{"rendered":"<p>Debian \u3067\u8d70\u3063\u3066\u308b\u5bb6\u5185 server \u306e directory \u3092 Samba \u3067 PBG4 \u306b mount \u3057\u3066\u305f\u3093\u3060\u3051\u3069\u3001MacOS X 10.4 \u306e\u3044\u3064\u306e\u9803\u304b\u306e update \u304b\u3089\u305d\u308c\u304c\u51fa\u6765\u306a\u304f\u306a\u3063\u3066\u305f\u3002Windows machine \u306e directory \u306f mount \u51fa\u6765\u308b\u3093\u3060\u304c\u3001\u3001\u3001\uff1f \u30b0\u30b0\u30c3\u3066\u3082\u540c\u3058\u554f\u984c\u3092\u304b\u304b\u3048\u3066\u308b\u4eba\u306f\u898b\u3064\u304b\u3063\u3066\u3082\u3001\u89e3\u6c7a\u65b9\u306f\u7121\u3044\u3088\u3046\u3060\u3063\u305f\u3002<\/p>\n<p>\u3057\u3087\u3046\u304c\u7121\u3044\u306e\u3067 Samba \u306f\u6b62\u3081\u3066 NFS \u306b\u3059\u308b\u4e8b\u306b\u3057\u305f\u3002\u4ee5\u4e0b\u306f\u3001net\u3067\u3044\u308d\u3044\u308d\u53c2\u7167\u3057\u306a\u304c\u3089\u3053\u3046\u3084\u3063\u305f\u3089\u52d5\u3044\u305f\u3068\u3044\u3046\u3060\u3051\u3067\u3001\u6b63\u3057\u3044\u8a2d\u5b9a\u304b\u3069\u3046\u304b\u306f\u4e0d\u660e\u3002<\/p>\n<h4>Debian \u5074\u306e\u8a2d\u5b9a<\/h4>\n<ol>\n<li>kernel recompile with NFS<\/li>\n<li>\/etc\/exports (\u5b9f\u969b\u306b\u306f\u6539\u884c\u7121\u3057)\n<pre>\r\n\/home\/ippei     192.168.1.0\/255.255.255.0(rw,sync,insecure,\r\n                        all_squash,anonuid=1000,anongid=1000)<\/pre>\n<p>NFS \u7d4c\u7531\u306e \/home\/ippei \u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f\u5168\u3066 uid 1000 (ippei) \u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u308b\u3002<\/li>\n<li>\/etc\/hosts.allow\n<pre>\r\nALL: 192.168.1.0\/255.255.255.0<\/pre>\n<\/li>\n<li>cd \/etc\/init.d; .\/nfs-kernel-server restart<\/li>\n<\/ol>\n<h4>Mac \u5074\u306e\u8a2d\u5b9a<\/h4>\n<ol>\n<li>Netinfo \u30de\u30cd\u30fc\u30b8\u30e3 -&gt; machines \u3067\u65b0\u898f\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\n<pre>\r\nip_address &lt;NFS server\u306eip address&gt;\r\nname       &lt;NFS server\u306ehost name&gt;\r\nserves     .\/local<\/pre>\n<\/li>\n<li>Netinfo \u30de\u30cd\u30fc\u30b8\u30e3 -&gt; mounts \u3067\u65b0\u898f\u306e\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\n<pre>\r\nname NFSserver_name:\/home\/ippei\r\ndir  \/Users\/ippei\/Mac\u5185\u306emount point\r\nops  -b net -P -s\r\nvfstype nfs<\/pre>\n<p>mount point \u306f\u5148\u306b mkdir \u3057\u3066\u304a\u304f\u3002<\/li>\n<li>restart<\/li>\n<\/ol>\n<h4>version<\/h4>\n<ul>\n<li>Debian\n<pre>\r\nkernel: 2.4.27\r\nsamba: 3.0.14a-3<\/pre>\n<\/li>\n<li>Mac\n<pre>\r\nMacOS X 10.4.2<\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Debian \u3067\u8d70\u3063\u3066\u308b\u5bb6\u5185 server \u306e directory \u3092 Samba \u3067 PBG4 \u306b mount \u3057\u3066\u305f\u3093\u3060\u3051\u3069\u3001MacOS X 10.4 \u306e\u3044\u3064\u306e\u9803\u304b\u306e update \u304b\u3089\u305d\u308c\u304c\u51fa\u6765\u306a\u304f\u306a\u3063\u3066\u305f\u3002Windows machine \u306e directory \u306f mount \u51fa\u6765\u308b\u3093\u3060\u304c\u3001\u3001\u3001\uff1f \u30b0\u30b0\u30c3\u3066\u3082\u540c\u3058\u554f\u984c\u3092\u304b\u304b\u3048\u3066\u308b\u4eba\u306f\u898b\u3064\u304b\u3063\u3066\u3082\u3001\u89e3\u6c7a\u65b9\u306f\u7121\u3044\u3088\u3046\u3060\u3063\u305f\u3002 \u3057\u3087\u3046\u304c\u7121\u3044\u306e\u3067 Samba \u306f\u6b62\u3081\u3066 NFS \u306b\u3059\u308b\u4e8b\u306b\u3057\u305f\u3002\u4ee5\u4e0b\u306f\u3001net\u3067\u3044\u308d\u3044\u308d\u53c2\u7167\u3057\u306a\u304c\u3089\u3053\u3046\u3084\u3063\u305f\u3089\u52d5\u3044\u305f\u3068\u3044\u3046\u3060\u3051\u3067\u3001\u6b63\u3057\u3044\u8a2d\u5b9a\u304b\u3069\u3046\u304b\u306f\u4e0d\u660e\u3002 Debian \u5074\u306e\u8a2d\u5b9a kernel recompile with NFS \/etc\/exports (\u5b9f\u969b\u306b\u306f\u6539\u884c\u7121\u3057) \/home\/ippei 192.168.1.0\/255.255.255.0(rw,sync,insecure, all_squash,anonuid=1000,anongid=1000) NFS \u7d4c\u7531\u306e \/home\/ippei \u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f\u5168\u3066 uid 1000 (ippei) \u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3066\u308b\u3002 \/etc\/hosts.allow ALL: 192.168.1.0\/255.255.255.0 cd \/etc\/init.d; .\/nfs-kernel-server restart [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[9],"tags":[],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7QWS-64","_links":{"self":[{"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/posts\/376"}],"collection":[{"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/comments?post=376"}],"version-history":[{"count":0,"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/posts\/376\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/media?parent=376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/categories?post=376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ippei813.com\/nikki\/wp-json\/wp\/v2\/tags?post=376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}