Results 1 to 6 of 6

Thread: Network mounted home?

  1. #1
    Join Date
    Jun 2006
    Beans
    123
    Distro
    Kubuntu

    Network mounted home?

    Hello. I have 3 computers connected via a simple network switch. I want the first computer to hold /home/ and the other two to see it as their own /home/ as well. The disks of other two computers should also be shared and have the same path on all 3 machines. Also I want it to be transparent between the 3 machines but not mountable/accessible from other computers. Any advice?
    Ubuntu Linux install+configuration+software installation: 3 hoours.
    WindowsXP install+configuration+software installation: 5 hours

  2. #2
    Join Date
    Apr 2006
    Location
    UK
    Beans
    6,646
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Network mounted home?

    Quote Originally Posted by muxecoid View Post
    Also I want it to be transparent between the 3 machines but not mountable/accessible from other computers. Any advice?
    I'm not sure if this is possible with any file sharing protocol. The shares are either open within the network, or use passwords.

    Apart from this, NFS will allow you to mount a network directory as /home and allow directories on any machine to be mounted similarly (e.g. in /media/comp1 and /media/comp2) from fstab.

    https://help.ubuntu.com/8.10/serverg...le-system.html

  3. #3
    Join Date
    Feb 2009
    Location
    India
    Beans
    89

    Smile Re: Network mounted home?

    May be it can be done through NFS....i am not try it any way..may be theirs permission issues...go for a break...
    Only Linux.....
    [URL="http://www.linuxlight.blogspot.com"][U][COLOR="Lime"][COLOR="Black"]

  4. #4
    Join Date
    Jun 2006
    Beans
    123
    Distro
    Kubuntu

    Re: Network mounted home?

    The computer is connected to other 2 through eth0 and to the organization-wide LAN through eth1. Is it possible to achieve what I need by playing with subnet masks?
    Ubuntu Linux install+configuration+software installation: 3 hoours.
    WindowsXP install+configuration+software installation: 5 hours

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!

    Re: Network mounted home?

    Quote Originally Posted by muxecoid View Post
    Hello. I have 3 computers connected via a simple network switch. I want the first computer to hold /home/ and the other two to see it as their own /home/ as well. The disks of other two computers should also be shared and have the same path on all 3 machines. Also I want it to be transparent between the 3 machines but not mountable/accessible from other computers. Any advice?
    I'm not sure I understand what you mean by "transparent between the 3 machines". However, as already mentioned by others, you can use NFS for this. NFS does allow you to specify exactly who is allowed to mount an exported directory.

    For example if host1 should export /home/ then you would add an entry to /etc/exports on host1 to specify that /home should be accessible to host2 and host3. There are various ways in which you could specify the machines that are allowed to access an exported directory, including listing individual host names or IP address/netmask pairs. Have a look at the manual for exports file for more details about this:
    Code:
    man exports
    Or:
    http://manpages.ubuntu.com/exports.5.html

  6. #6
    Join Date
    Feb 2007
    Beans
    4,045
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Network mounted home?

    This guide uses /home export as an example: https://help.ubuntu.com/community/SettingUpNFSHowTo

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •