{"id":161,"date":"2004-12-26T00:49:10","date_gmt":"2004-12-25T15:49:10","guid":{"rendered":"\/\/do-gugan.com\/~furuta\/index.php\/2004\/12\/26\/linistationnfs\/"},"modified":"2004-12-26T00:49:10","modified_gmt":"2004-12-25T15:49:10","slug":"linistationnfs","status":"publish","type":"post","link":"https:\/\/do-gugan.com\/~furuta\/archives\/2004\/12\/linistationnfs.html","title":{"rendered":"LinkStation\u3092NFS\u30de\u30a6\u30f3\u30c8\u3059\u308b"},"content":{"rendered":"<p>\u3000\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u5ea6\u306b\u8a2d\u5b9a\u304c\u521d\u671f\u5316\u3055\u308c\u308bLinkStation\u306eLinuxBox\u5316\u3068NFS\u30de\u30a6\u30f3\u30c8\u8a31\u53ef\u306e\u899a\u3048\u66f8\u304d\uff08\u81ea\u5206\u7528\u3002\u8d85\u4e0d\u89aa\u5207\uff09\u3002\u8fd1\u3005\u3001LinkDe\u9332\u306e\u6b63\u5f0f\u30d5\u30a1\u30fc\u30e0\u304c\u51fa\u305f\u969b\u306b\u307e\u305f\u3084\u308b\u3068\u601d\u3046\u306e\u3067\u3002<\/p>\n<h4>\u5225\u30de\u30b7\u30f3\u3067\u30de\u30a6\u30f3\u30c8\u3059\u308b<\/h4>\n<ul>\n<li><a href=\"http:\/\/bonner.s45.xrea.com\/\">\u3053\u3053<\/a>\u304b\u3089\u30de\u30b8\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u4fee\u6b63\u30c4\u30fc\u30eb\u3068Linux Box \u5316\u30c4\u30fc\u30eb\u3092\u30b2\u30c3\u30c8\u3002<\/li>\n<li>LinkStation\u304b\u3089HDD\u3092\u53d6\u308a\u51fa\u3057\u3001Linux\u30de\u30b7\u30f3\u306b\u3064\u3051\u308b\u3002<\/li>\n<li>\uff08\u6211\u304c\u5bb6\u7279\u6709\u306e\u30e1\u30e2\uff09IEEE1394\u30b1\u30fc\u30b9\u3092\u4f7f\u3063\u3066\u3068\u308a\u3064\u3051\u308b\u306e\u3067\u3001\/dev\/sda1\u306b\u306a\u308b\u3002\u30c7\u30a3\u30b9\u30af\u304c\u4e0a\u624b\u304f\u8a8d\u8b58\u3055\u308c\u306a\u3044\u5834\u5408\u306f\u3001ieee1394\u3068ohci1392\u30e2\u30b8\u30e5\u30fc\u30eb\u3092rmmod -> insmod\u3059\u308b\u3002<\/li>\n<li>fix_ext2_magic \/dev\/sda1\u3067\u30de\u30b8\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u304c0xef54\u306a\u306e\u3092\u30c1\u30a7\u30c3\u30af<\/li>\n<li>fix_ext2_magic &#8211;fix \/dev\/sda1\u3067\u66f8\u304d\u63db\u3048<\/li>\n<li>\/sbin\/fsck -f -n \/dev\/sda1\u3067\u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u3002\u4fee\u5fa9\u306f-f -y\u3002<\/li>\n<li>\u30de\u30a6\u30f3\u30c8\uff08\u6211\u304c\u5bb6\u3067\u306ffstab\u306b\u8a2d\u5b9a\u6e08\u307f\u306a\u306e\u3067\u3001mount \/mnt\/rack\u3067OK\uff09<\/li>\n<\/ul>\n<h4>LinuxBox\u5316<\/h4>\n<ul>\n<li>tar xzvf linuxbox.tar.gz -C \/mnt\/rack\/<br \/>\n\uff08\u6700\u8fd1\u306e\u30d5\u30a1\u30fc\u30e0\u3067\u306fftp\u306f\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u6211\u304c\u5bb6\u3067\u306f\u4e0a\u8a18\u30a2\u30fc\u30ab\u30a4\u30d6\u304b\u3089proftpd\u3092\u629c\u304d\u3001\u4e0b\u8a18\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u4f7f\u3046\uff09\u3002<\/li>\n<li>\/mnt\/rack\/etc\/inetd.conf\u3092\u8997\u304d\u3001telnet\u306e\u8a2d\u5b9a\u304c\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3044\u305f\u3089\u5916\u3059\u3002\u3082\u3057\u8a18\u8ff0\u304c\u306a\u304b\u3063\u305f\u3089inetd.conf.add\u3092\u30b3\u30d4\u30fc<\/li>\n<li>\/mnt\/rack\/etc\/securetty\u306bpts\/0\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d<\/li>\n<li>passwd\u30d5\u30a1\u30a4\u30eb\u306f\u30d5\u30a1\u30fc\u30e0\u66f4\u65b0\u3067\u306f\u30af\u30ea\u30a2\u3055\u308c\u306a\u3044\u3063\u307d\u3044\u3002\u521d\u56deLinuxBox\u5316\u6642\u306froot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6d88\u3057\u3066\u304a\u304f\u3002<\/li>\n<li>HDD\u3092\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3001LinkStation\u306b\u623b\u3059\u3002<\/li>\n<\/ul>\n<h4>NFS\u30de\u30a6\u30f3\u30c8\u8a31\u53ef\uff08HGLAN\u306e\u307f\uff09<\/h4>\n<ul>\n<li>telnet\u3059\u308b<\/li>\n<li>\/etc\/hosts.allow\u3092<br \/>\nportmap:  192.168.0.1  :allow<br \/>\n\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\uff08IP\u30a2\u30c9\u30ec\u30b9\u306f\u9069\u5b9c\u8aad\u307f\u66ff\u3048\u3002\u30b7\u30e3\u30c3\u30c8\u30c0\u30a6\u30f3\u306e\u5ea6\u306b\u30af\u30ea\u30a2\u3055\u308c\u308b\uff1f\uff09<\/li>\n<li>\/etc\/exports\u306b<br \/>\n\/mnt\/backup\/hoge 192.168.0.1(rw,sync,all_squash,anonuid=0,anongid=0)<br \/>\n\u306e\u3088\u3046\u306b\u8ffd\u8a18\uff08hoge\u3068IP\u30a2\u30c9\u30ec\u30b9\u306f\u9069\u5b9c\u8aad\u307f\u66ff\u3048\u308b\uff09\u3002<\/li>\n<li>inetd\u30c7\u30fc\u30e2\u30f3\u3092\u518d\u8d77\u52d5\u3002\/etc\/rc.d\/init.d\/inetd restart<\/li>\n<\/ul>\n<p>\u3000\u3053\u3093\u306a\u611f\u3058\u3060\u3063\u305f\u3088\u3046\u306a\u6c17\u304c\u3059\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u5ea6\u306b\u8a2d\u5b9a\u304c\u521d\u671f\u5316\u3055\u308c\u308bLinkStation\u306eLinuxBox\u5316\u3068NFS\u30de\u30a6\u30f3\u30c8\u8a31\u53ef\u306e\u899a\u3048\u66f8\u304d\uff08\u81ea\u5206\u7528\u3002\u8d85\u4e0d\u89aa\u5207\uff09\u3002\u8fd1\u3005\u3001LinkDe\u9332\u306e\u6b63\u5f0f\u30d5\u30a1\u30fc\u30e0\u304c\u51fa\u305f\u969b\u306b\u307e\u305f\u3084\u308b\u3068\u601d\u3046\u306e\u3067\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-161","post","type-post","status-publish","format-standard","hentry","category-cat79"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":0,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"wp:attachment":[{"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/do-gugan.com\/~furuta\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}