NFS and shared folders problem

Sebastian M=?ISO-8859-1?B?/A==?=sch sebastian at sebastian-muesch.de
Thu Aug 18 16:34:45 UTC 2005


Hi,

Seems like you are not familar with the mount-command? You should have taken
a look to the folders where you mounted the shares.

Once upon a time Inhabitant of Zion wrote:

> williamgates at morpheus:~$ sudo mount 192.168.0.246:/home/public /mnt
> Password:

Take a look at /mnt ... The folder from trinity should be mounted ;-)

> niobe at niobe:~$ sudo mount 192.168.0.247:/home/public /mnt
> ...
> niobe at niobe:~$ sudo mount 192.168.0.246:/home/public /mnt

Take a look at /mnt ... The folder from trinity (or morpheus) should be
mounted on niobe (trinity?) ... You should not mount to filesystems to the
same mountpoint ;-)

> I hope you can make sense of all this.

Sure. Seems like everything is working ;-)

Now you should create some mountpoints (directories) within your root
directory. For example "/mnt/morpheus-pub" on trinity and "/mnt/trinity-pub"
on morpheus (Why you need cross-sharing by the way? For backups?). And add
the corresponding lines to the /etc/fstab. For example:

On trinity add the line
-----------------------
192.168.0.247:/home/public   /mnt/morpheus-pub   nfs   user,noauto   0   0
-----------------------

On morpheus add the line
-----------------------
192.168.0.246:/home/public   /mnt/trinity-pub   nfs   user,noauto   0   0
-----------------------

Now you should be able to mount/unmount the shares from gnome if you need
it. Or on the terminal by using "mount /mnt/trinity-pub" on morpheus OR
"mount /mnt/morpheus-pub" on trinity.

Cu
Sebastian

-- 
        .:'
     _ :'_
   .`_`-'_`.     Sebastian Müsch
  :__|\ /|__:      sebastian at sebastian-muesch.de
  :__| S |__:
  :__|   |__:     iTunes ist aus :-(
   `._.-._.'






More information about the ubuntu-users mailing list