Page 2 of 53 FirstFirst 12341252 ... LastLast
Results 11 to 20 of 521

Thread: HOWTO: NFS Server/Client

  1. #11
    Join Date
    Nov 2005
    Beans
    127
    Distro
    Ubuntu 5.10

    Re: HOWTO: NFS Server/Client

    Quote Originally Posted by jabb View Post
    thanks for this guide really cool

    however I have a bunch of Disks mountet on the server i home dir
    and I wanted to just mount the home dir in the client.
    I did'nt work. I could not see the subdirs for some reason.

    thoug if in export I make explicit what dirs to export where the dirs are disks, then it worked fine after restarting the service and making new mount points of course.

    though if someone can explain how to just mount the home of the server that would be great. I did everything as the guide instructed.
    Yeah, I have the same problem here. I ended up making new mountpoints and assigning them explicitly as you did. I don't believe there's a fix for this.

    Other than that it's a great HOWTO, thank you malco2001!

  2. #12
    Join Date
    Sep 2006
    Beans
    178

    Re: HOWTO: NFS Server/Client

    This worked great until I rebooted. Once I rebooted my client, I lost my mount point to my server. I do have the fstab modified to contain this:

    server.ip.address:/data /mnt/parolee nfs rsize=8192,wsize=8192,timeo=14,intr

    any idea why it won't stay mounted when I log in?

  3. #13
    Join Date
    Nov 2005
    Beans
    127
    Distro
    Ubuntu 5.10

    Re: HOWTO: NFS Server/Client

    Quote Originally Posted by george_apan View Post
    Yeah, I have the same problem here. I ended up making new mountpoints and assigning them explicitly as you did. I don't believe there's a fix for this.
    I found a workaround for this. I have the mountpoints on the server under /media and I just did an
    ln -s /media/example ~/example
    Now I can see my mounted drives through the network under the home dir that I'm sharing using their symbolic links. No need to have multiple shares anymore.

    EDIT: No, sorry, I thought it worked but it didn't. As soon as I added another drive that I was not sharing, the link wouldn't work. Sorry again...
    Last edited by george_apan; September 21st, 2006 at 07:34 PM.

  4. #14
    Join Date
    Aug 2006
    Beans
    21

    Re: HOWTO: NFS Server/Client

    worked great first time around. one minor nuisance. when i boot up the client (my laptop) it seems to take a while for the files from the server to be mounted on the mount point. i'm thinking this could be because a) wireless networking and/or b) the server is an older machine and/or c) the share being mounted is 10+ gigs in size

    is that probably the cause or is there something else that can be done? if not, oh well, it still works and that's great!

  5. #15
    Join Date
    May 2006
    Location
    Somerset West
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: NFS Server/Client

    Help a Noob out. I get this error

    wayne@asus:~$ sudo mount 192.168.0.2:/home/winninshare /home/winninshare
    mount: 192.168.0.2:/home/winninshare failed, reason given by server: Permission denied

    I did exactly as you said.I have 2 computers with static IPs with the following in my other computer's exports file
    /home/winninshare 192.168.1.1/24(rw,no_root_squash,async)

    Sooo, i should be able to mount the winninshare folder on my computer in /home/winninshare? or am i mistaken.
    Ek wens ek was n penguin

  6. #16

    Re: HOWTO: NFS Server/Client

    Thanks for the setup. This was exactly what I needed to get some hefty files off two Ubuntu machines with USB 1.1 ports. Cheers!
    Ubuntu user #7247 :: Linux user #409907
    inconsolation.wordpress.com

  7. #17
    Join Date
    Jun 2006
    Location
    Vancouver
    Beans
    Hidden!
    Distro
    The Feisty Fawn Testing

    Re: HOWTO: NFS Server/Client

    After editing the /etc/exports file run
    sudo exportfs -a
    then
    sudo /etc/init.d/nfs-kernel-server restart

    should work then

  8. #18
    Join Date
    Oct 2006
    Location
    Wisconsin
    Beans
    455
    Distro
    Kubuntu

    Re: HOWTO: NFS Server/Client

    Okay so heres the problem with me on this...

    The server is working fine because from the machine that's running NFS Server, I can mount NFS mounts as a clinet (using either loopback or internal lan IP).

    But if I use a laptop thats on the same lan and do something to the effect of :
    'sudo mount 192.168.11.5:/media /test'
    (the same exact line I use on the server machine to mount the NFS share)

    it says 'mount to NFS server '192.168.11.5' failed: server is down.'

    NFS runs on port 2049 if Im not mistaken and I even opened that up on my router directly to this machine (the server) and it still doesnt work. Can anyone help with this?

  9. #19
    Join Date
    Oct 2006
    Location
    Wisconsin
    Beans
    455
    Distro
    Kubuntu

    Re: HOWTO: NFS Server/Client

    Chalk one up to stupidity.

    One should always make sure the proper files are installed on the client computer before making any posts that shows that one is an idiot

  10. #20
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: NFS Server/Client

    okay ... i'm completely confused.

    i have a very small network. my server only leases 10 dhcp addresses.

    how the heck does this:
    192.168.1.1/24
    work out to be a range from 192.168.1.1 - 192.168.1.255 ??

    if i edited it incorrectly, it told me that what came after the "/" was the netmask. so i changed the line to this:
    Code:
    192.168.1.1/255.255.255.0
    which seemed to have no ill effect.

    edit: despite my continued confusion as stated above, i still managed to make a working automatic nfs client and server connection on boot. so, i humbly offer my thanks to malco2001.
    Last edited by dmizer; October 31st, 2006 at 01:28 PM.

Page 2 of 53 FirstFirst 12341252 ... LastLast

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
  •