Results 1 to 5 of 5

Thread: Nfs

  1. #1
    Join Date
    Dec 2007
    Beans
    132

    Nfs

    Hi there!
    I just installed Ub9.1. I installed NFS server + client for transferring files. I have another FreeBSD box where I have both NFS server and client. I cannot write/delete files on mu Ub box.

    On Ububtu /etc/exports

    Code:
    /home/my-folder    free.bsd.server(rw,sync,no_root_squash)
    how can I set my NFS server to write on home folder

    tahnks

  2. #2
    Join Date
    Dec 2008
    Location
    Deep Woods of PA
    Beans
    699
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: Nfs

    Quote Originally Posted by hirohitosan View Post
    Hi there!
    I just installed Ub9.1. I installed NFS server + client for transferring files. I have another FreeBSD box where I have both NFS server and client. I cannot write/delete files on mu Ub box.

    On Ububtu /etc/exports

    Code:
    /home/my-folder    free.bsd.server(rw,sync,no_root_squash)
    how can I set my NFS server to write on home folder

    tahnks
    I assume you have mounted the share. Do the userIDs match across machines?
    Regards,

    Karlson

  3. #3
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Nfs

    What have you got in your /etc/fstab to mount the share? It should look something like this on the client machine but with your details:

    Code:
    # Entry for /server/media/your_share
    192.168.0.102:/media/your_share /media/local_mountpoint_for_share nfs users,rsize=8192,wsize=8192,timeo=14,intr
    ... where IP is the static IP of the other server. You don't need this so omit if you are not running with static IPs. You may need to run something to resolve DNS if this is the case. Hope that is of some help.
    Last edited by Bucky Ball; November 6th, 2009 at 06:04 PM.

  4. #4
    Join Date
    Dec 2007
    Beans
    132

    Re: Nfs

    Quote Originally Posted by karlson View Post
    I assume you have mounted the share. Do the userIDs match across machines?
    yes, of course. I can copy but I cannot write. The users ID are the same.

    I have other two FreeBSD machines and with same user ID and I can also write on the mounted volume, but here I got "permission denied" message when I try to write.

  5. #5
    Join Date
    Dec 2007
    Beans
    132

    Re: Nfs

    Quote Originally Posted by Bucky Ball View Post
    What have you got in your /etc/fstab
    nothing I didn't modify the fstab. I just mount the volume like this:
    (on BSD machine, client)
    Code:
    # mount ubuntu.nfs.server:/home/my-folder /mnt/my-share/
    and the volume was mounted successfully, but I cannot write (delete) on server export directory

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
  •