hi scorp123.
I'm running CentOS v5.2 i386 and I had the same problem with Ubuntu 8.04 : to 
mount (using NFS) to an exported folder on a CentOS server.

My config:
- A CentOS 5.2 machine the will act as a NFS server with IP of 192.168.1.151. I 
disabled the firewall and SELinux on CentOS server . If you want to play with 
Firewall and SELinux furthermore, than it's up to yourself. I've disabled them 
for testing purposes.
- Ubuntu 8.04 machine - NFS client  with IP of 192.168.1.138 and a patrick user 
account 

1) First, I've created a folder to be exported on a CentOS server.

mkdir /home/kris/storage

2) Then, I've set everyone to have read-write permissions:

sudo chmod 777 storage

3) Then using GUI version of NFS I've exported:
3.1) /home folder as Read-Only (this had to be done so everyone can see all the 
exported folders)
3.2) /home/kris/storage as Read-Write for everyone on my network by typing 
192.168.1.0/24 as Host(s)

4) On Ubuntu PC I've created an empty folder to use as a mount point
mkdir /home/patrick/share

5) Again on Ubuntu PC I  installed NFS:

apt-get install nfs-common

6) Finally I've mounted the exported folder:
mount -t nfs -o soft,intr,tcp,timeo=20 192.168.1.151:/home/kris/storage 
/home/patrick/share

7) To see if the folder was accessible for Ubuntu client  I issued a command:
mount

and it showed me in the last line:
192.168.1.151:/home/kris/storage on /home/patrick/share type nfs 
(rw,soft,intr,tcp,timeo=20, addr=192.168.1.151)

8) to stop using that exported folder simply run as a root:
umount  share

9) I don't have time now to write how to permanently add this mount
point during Ubuntu system startup but if you're interested, then let me
know. It's all about modyfying /etc/fstab file.

with Regards
kris

-- 
Ubuntu 8.04: /sbin/mount.nfs no longer understands certain (standard?) mount 
options
https://bugs.launchpad.net/bugs/251923
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to