tag:blogger.com,1999:blog-2150109385261698170.post8039360730004112244..comments2024-02-26T11:53:28.170+08:00Comments on linuxwave: NFS quick howto for centos 5Unknownnoreply@blogger.comBlogger8125tag:blogger.com,1999:blog-2150109385261698170.post-67194294412622563452011-06-23T20:30:02.480+08:002011-06-23T20:30:02.480+08:00Got some strange problems while mounting nfs on a ...Got some strange problems while mounting nfs on a ubuntu client machine (mount throw message about wrong filesystem, option, superblock etc). Installing nfs-common solved it. Hope that it will be helpful to someone.Roberthttp://robertgrubba.com/blognoreply@blogger.comtag:blogger.com,1999:blog-2150109385261698170.post-85928749098391024722011-06-23T20:29:10.327+08:002011-06-23T20:29:10.327+08:00Got some strange problems while mounting nfs on a ...Got some strange problems while mounting nfs on a ubuntu client machine (mount throw message about wrong filesystem, option, superblock etc). Installing nfs-common solved it. Hope that it will be helpful to someone.Roberthttp://robertgrubba.com/blognoreply@blogger.comtag:blogger.com,1999:blog-2150109385261698170.post-73795675965712595842010-08-13T03:35:07.056+08:002010-08-13T03:35:07.056+08:00Awesome, this worked great - no fuss - no nonsense...Awesome, this worked great - no fuss - no nonsense - it just works - thank-you very much!<br /><br />One thing to note: I was getting READONLY mode until I added no_root_squash to the arguments in /etc/exports on the Server.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2150109385261698170.post-90355712430500719732010-08-01T15:18:45.036+08:002010-08-01T15:18:45.036+08:00This is an ultimate post. I just tried the steps o...This is an ultimate post. I just tried the steps only one time. And my nfs is well set. But, only one question. --> From the client machine can't I mount the nfs other than /mnt ? I want to mount it as ther server to /home/sharing. Possible ?<br /><br />And what option shall I use to get permission from the client to create or delete file in /mnt ?<br /><br />spisteel@gmail.comAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2150109385261698170.post-45758063151896876932010-06-10T04:38:36.456+08:002010-06-10T04:38:36.456+08:00# Server-side:
yum install -y nfs-utils nfs-utils-...# Server-side:<br />yum install -y nfs-utils nfs-utils-lib<br />echo "/home/software 192.168.11.141(rw,sync)" >> /etc/exports<br />echo "/home/scripts 192.168.11.141(rw,sync)" >> /etc/exports<br />echo "portmap: 192.168.11.0/255.255.255.0" >> /etc/hosts.allow<br />exportfs -a -v<br />for i in nfs portmap; do chkconfig $i on; done<br />for i in tcp udp; do iptables -A INPUT -p $i -m $i -m multiport --dports 1110,2049 -j ACCEPT; done<br />iptables-save > /etc/sysconfig/iptables<br />service portmap start<br />service nfs start<br />#<br /># Client-side:<br />service portmap start<br />chkconfig portmap on<br />cd /<br />mkdir fx6-share<br />mount 192.168.11.64:/home/software /fx6-share<br /># Make it stick:<br />echo "192.168.11.64:/home/software /fx6-share nfs defaults 0 0" >> /etc/fstab<br />echo "192.168.11.64:/home/scripts /fx6-scripts nfs defaults 0 0" >> /etc/fstab<br />mount -a<br /># EOFMalachai Allegherihttps://www.blogger.com/profile/06749853851785751065noreply@blogger.comtag:blogger.com,1999:blog-2150109385261698170.post-40575898164930036122009-11-19T02:57:52.097+08:002009-11-19T02:57:52.097+08:00NSF ver 2 and 3 require portmap service to be runn...NSF ver 2 and 3 require portmap service to be running before nfs service can start. If you use NFS ver 4, you don't have to worry about it, because it is not used.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2150109385261698170.post-53895060323627859092009-10-08T22:50:31.257+08:002009-10-08T22:50:31.257+08:00I had trouble starting the nfs service before port...I had trouble starting the nfs service before portmap. When I started portmap first, then the nfs service started with no errors.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2150109385261698170.post-23966299249490131202009-08-25T04:38:48.196+08:002009-08-25T04:38:48.196+08:00Doesn't work. I started with a full installat...Doesn't work. I started with a full installation, then used yum to get nfs-utils and nfs-utils-lib. After I follow these instructions, the NFS Daemon always comes up as [Failed].Anonymousnoreply@blogger.com