Find the answer to your Linux question:
Results 1 to 5 of 5
i have 2 linux boxes. one running fedora 8 and the other running fedora 9. what i would like to do is mount a folder that is on one box ...
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    96

    Mounting over the netowrk

    i have 2 linux boxes. one running fedora 8 and the other running fedora 9.

    what i would like to do is mount a folder that is on one box on the other.

    i have tried to mount it using this command

    //10.0.0.20/Files /RemoteFiles smbfs

    that did not work

    does anyone have any info on how i would connect the 2

    thanks

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    See Redhat's way of doing this.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    14
    Make sure on source box nfsd is running.

    Check using:

    /etc/init.d/nfs status

    On destination box:

    mkdir -p /mnt/u01_data

    mount source_box.com:/u01/data /mnt/u01_data

  4. #4
    Just Joined! AdmiralBeotch's Avatar
    Join Date
    Feb 2009
    Location
    Las Vegas, NV
    Posts
    17
    It's not persistent, but if you have sshfs installed, it's easy (and more secure than smb):

    sshfs 10.0.0.20:Files /RemoteFiles

  5. #5
    Just Joined!
    Join Date
    Sep 2007
    Posts
    96
    Quote Originally Posted by AdmiralBeotch View Post
    It's not persistent, but if you have sshfs installed, it's easy (and more secure than smb):

    sshfs 10.0.0.20:Files /RemoteFiles
    thanks everyone

    but this is what i may want to do. what i am eventually trying to do is this.

    one box is a file server. one box is a web server. i want the web server to create a folder using php on the file server. i may not need a persistent connection as i only need to connect to make the folder.

    i did this
    /etc/init.d/nfs status

    and nfs is running

    but this does not work when i replace the values with my own. i may not be referencing my box correctly.
    mount source_box.com:/u01/data /mnt/u01_data

    but i really only need to connect make the folder and thats it. i thought it may be easier if i mounted the location on my file system to make folders.

Posting Permissions

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