Cent0S6ã§NFSã®ãã¦ã³ãã«è¦å´ãã
大å¦ã®ç 究室ã®è¨ç®æ©ãµã¼ããããã¡ã¤ã«ãµã¼ããNFSã§ãã¦ã³ãããã®ã«è¦å´ããã®ã§ã¡ã¢ã
ãã¡ã¤ã«ãµã¼ãå´ãdebianã®sargeï¼å¤ãâ¦ï¼ã§åããããè¨ç®æ©ãµã¼ãï¼debian lenny, CentOS5ï¼ã§ã¯åé¡ãªããã¦ã³ãã§ããã®ã«ãæ°ããè¨ç®æ©ãµã¼ãï¼CentOS6ï¼ã ããã¦ã³ãã§ããªãã¨ããçç¶ã«ãããã¾ããã
è²ã
調ã¹ã¦ããNFSã«ããã¼ã¸ã§ã³ããã£ã¦ãä»æ°ããã®ã¯NFSv4ã ãã©æã¯NFSv3ã ã£ããããã§ãã
ãã¦ã³ãã§ããªãã®ã¯ä¸çªæ°ããCentOS6ã ãã ã£ãã®ã§ããããæªããã¨ãããã¨ã§mount -vã§è©³ç´°ã表示ãã¦ã¿ãããã£ã±ãvers=4ã§ãã¦ã³ããããã¨ãã¦ã¿ã¤ã ã¢ã¦ããã¦ãã¾ããï¼
è²ã 調ã¹ãã¨vers=3ã§ãã¦ã³ããããªãã·ã§ã³ããã£ãã®ã§ãããã§ãã£ã¨ãã¦ã³ãã§ãã¾ããããããªæã
mount -t nfs -o nfsvers=3 fileserver:/home/data /mnt/
ç 究室ã®ãµã¼ãã¼ã¯OSããã¼ã¸ã§ã³ãçµ±ä¸ããã¦ãªãã®ã§ãåãäºããããã¨ãã¦ããããªãã¨ãããã¨ã®æ¹ãå°ãªã(-_-;)
å¾æ¥
æ°æ¥å¾ã«æ¹ãã¦mountããã
$ mount -v fileserver:/home/data /mnt/ mount: ã¿ã¤ããä¸ãããã¦ãã¾ãã -- ã³ãã³ãããã®ã§ nfs ã®æ§ã§ãã mount.nfs: timeout set for Tue Aug 21 10:49:52 2012 mount.nfs: trying text-based options 'vers=4,addr=192.168.100.32,clientaddr=192.168.100.81' mount.nfs: mount(2): Operation not permitted mount.nfs: trying text-based options 'addr=192.168.100.32' mount.nfs: prog 100003, trying vers=3, prot=6 mount.nfs: trying 192.168.100.32 prog 100003 vers 3 prot TCP port 2049 mount.nfs: prog 100005, trying vers=3, prot=17 mount.nfs: trying 192.168.100.32 prog 100005 vers 3 prot UDP port 910
ä½æ ããããªæãã«èªåçã«vers=3ã«åãæ¿ãã£ã¦ãã¦ã³ããã¦ãããï¼ä½ãè¨å®ãå¤ãã¦ãªãã¯ããªãã ãã©ã»ã»ã»