Find the answer to your Linux question:
Results 1 to 3 of 3
I have got 4 RH Linux systems with similar configurations . A directory called /ABC is created in all 4 servers . We want to configure in such a way ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    44

    Tricky one !! NFS mount


    I have got 4 RH Linux systems with similar configurations . A directory called /ABC is created in all
    4 servers . We want to configure in such a way that if we put some files in that dir called /ABC on any one of the machines , that file/s should get reflected in rest of the 3 servers via NFS .
    How many minimum NFS services should be running on these servers ? Lets say
    we tried to start the NFS services on 2 servers ( 1 & 3 as given below ) . And tried to mount the partitions of 2 and 3 onto 1 as well as partition of 4 onto 3 .
    But problem is that with this configuration files are getting reflected only between 1 & 2 and 3 & 4 .

    1(NFS) <--------------3 ( NFS)
    ^ ^
    | |
    | |
    2 4

    How do we sort out this problem ? Or any better setup if you have in mind .

  2. #2
    Just Joined!
    Join Date
    Jul 2004
    Posts
    44
    Sorry , but the diagram is coming proper ...The arrow which is pointing from server 4 to 1 is actually pointing to Server 3 ( and not 1 ) . Plz bear with this . Thanks

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,929
    I hope you're not confusing the use of NFS here. NFS lets you mount the filesystem of a server onto the local filesystem of a machine. That would mean that machines 2,3 and 4 would be reading and writing the filesystem of machine 1 in real time.

    If you want to just keep copies on each machine, then investigate the use of rsync, which can be run at regular intervals (using cron) to keep all the machines in sync.
    Linux user #126863 - see http://linuxcounter.net/

  4. $spacer_open
    $spacer_close

Posting Permissions

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