Page 4 of 53 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 521

Thread: HOWTO: NFS Server/Client

  1. #31
    Join Date
    Oct 2005
    Beans
    711
    Distro
    Lubuntu 16.04 Xenial Xerus

    Question Re: HOWTO: NFS Server/Client

    dmizer--

    Thanks for your help. Sorry you had to wait for a reply--I was more than a little busy over the weekend and the last two days.

    How did I figure out how to set it up? I don't remember. Probably used Webmin originally. Then this spring I tried to set up some other things like yp and almost lost all connectivity. I think I got most of that stuff cleared out. But who knows?

    I suppose I could blow away the OS on the redhat box and reinstall it, but after all this time, I am not sure what is on there and what I would have to reinstall. Since it is my primary server, I am more than a little reluctant to even think about that!

    I will take a look at the link you have so graciously provided--when I am a little more clear headed. Today has been a day to make me bleary-eyed!

    Thanks, dmizer!
    :- Doug.

  2. #32
    Join Date
    Oct 2005
    Location
    Netherlands
    Beans
    98
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: NFS Server/Client

    Thanks for your help!
    I just succeeded in creating a general Audio folder on my server, so I have all my music available to every PC.

    I am just wondering: Is there anyway to secure the acces? Like: Requiring a password and username or similar.
    I would like to be able to acces my files at my parents house or on the university, but not share them with the public.

  3. #33
    Join Date
    Oct 2005
    Location
    Netherlands
    Beans
    98
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: NFS Server/Client

    How lovely....
    My complete music collection just got vanished....

    I shared the same directory with two entries in exports and the contents of that directory are gone since I mounted it from the other PC.

    Is that normal ?

    Yech, going to find my backup

  4. #34
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: NFS Server/Client

    Quote Originally Posted by Peturrr View Post
    How lovely....
    My complete music collection just got vanished....

    I shared the same directory with two entries in exports and the contents of that directory are gone since I mounted it from the other PC.

    Is that normal ?

    Yech, going to find my backup
    um ... why would you have two entries in exports for the same direcotry? this may be why you had a problem.

  5. #35
    Join Date
    Jun 2006
    Location
    Phoenix, AZ
    Beans
    231
    Distro
    Xubuntu Development Release

    Re: HOWTO: NFS Server/Client

    Quote Originally Posted by penguinfan View Post
    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.
    Hey, I don't know if you have gotten this worked out or not, but I'll help you anyway. the problem is that in the instructions typed up, his network uses 192.168.1.*** for the local ip addresses, while yours uses 192.168.0.***. if you change exports file to
    Code:
    /home/winninshare 192.168.0.1/24(rw,no_root_squash,async)
    it should work out for you.

  6. #36
    Join Date
    Aug 2005
    Beans
    55

    Re: HOWTO: NFS Server/Client

    Thanks, malco2001! Great how-to. I haven't rebooted yet to test fstab, but it appears that (after a manual mount command) I'm connecting perfectly to my FreeNAS NFS share.

  7. #37
    Join Date
    Jun 2006
    Location
    DFW, Texas
    Beans
    143

    Re: HOWTO: NFS Server/Client

    Thank You! Great HowTo! I just setup my server (dapper) and my son's client (edgy) in like 15 minutes from start to finish. Great Job!
    QNAP TVS-672N - Ubuntu 20.04

  8. #38
    Join Date
    Oct 2005
    Beans
    711
    Distro
    Lubuntu 16.04 Xenial Xerus

    Question Re: HOWTO: NFS Server/Client

    Hi--

    Just tried this and got this error message:

    mike@earth:~$ sudo dpkg-reconfigure portmap
    * Stopping portmap daemon... [ ok ]
    * Starting portmap daemon... [ ok ]
    * Restoring old RPC service information... [ ok ]
    There are RPC services which registered with the portmapper
    before the configuration was changed.
    You need to manually restart them in order for the changes to take effect.
    Current registered services:
    ------------------------------------------------
    100024 1 udp 951 status
    100024 1 tcp 954 status
    ------------------------------------------------
    What does this want me to do? Will a reboot fix it?

    Thanks!
    :- Doug.

  9. #39
    Join Date
    Oct 2005
    Beans
    711
    Distro
    Lubuntu 16.04 Xenial Xerus

    Smile [solved] HOWTO: NFS Server/Client

    Hi--

    OK, got the rest of things set up on the server (earth), then I went to the client (doug2) and followed the steps. When I sudo mount -a, I get:
    Code:
    doug@doug2:~$ sudo mount -a
    mount: earth:/export failed, reason given by server: Permission denied
    I have checked the Firestarter firewall and it shows no events and is set to allow localnet/24. Even stopping the firewall makes no difference, so I suspect that is not the problem.

    /etc/exports on the server is:
    Code:
    /exports 192.168.0.1/24(rw,no_root_squash,async)
    and the directory /exports has permissions set at 777:
    Code:
    drwxrwxrwx   2 doug data 4.0K 2006-12-09 15:30 exports
    What am I missing?

    Thanks!

    [edited 20061210:] Found my answer--I had the wrong mount point on the client, and also was pointing to the wrong directory on the server.
    Last edited by dgermann; December 10th, 2006 at 03:19 PM. Reason: found my answer
    :- Doug.

  10. #40
    Join Date
    Oct 2005
    Beans
    711
    Distro
    Lubuntu 16.04 Xenial Xerus

    Question files don't lock between nfs and samba

    OK, got the nfs mounts to work, but now a major problem: one of the clients on the system is running winxp pro. When this client has a file open, a linux client can also open, edit and save this file. And vice versa. Thus, data corruption is likely.

    Is there some way to get nfs and samba to respect each other's file locks?

    I am accessing, creating and editing files in OpenOffice.org.
    :- Doug.

Page 4 of 53 FirstFirst ... 2345614 ... 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
  •