Can not connect to NFS server as user?

Bob Goodwin bobgoodwin at wildblue.net
Sun Jun 28 16:49:29 UTC 2009


I've been trying to make NFS work for a week now. I've read everything  
I can find but still can't make it connect as user "bobg." It works 
perfectly as "root," I can read and write files, even write the entire 
home directory form this computer to a USB connected portable hard disk 
but no matter what I've tried, mounting as user produces the same error 
message and I don't know how to troubleshoot it. It's no doubt simple 
enough but it evades me.

    [bobg at box9 ~]$ mount.nfs box48:/home/NFS-files  /mnt/home
    mount.nfs: permission denied: no match for /mnt/home found in /etc/fstab

The Client /etc/fstab presently looks like this:

    [bobg at box9 ~]$ cat /etc/fstab
    #!/bin/bash
    # /etc/fstab
    # Created by anaconda on Thu Feb 26 17:38:01 2009
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for
    more info
    #
    /dev/VolGroup00/LogVol00 /                       ext3   
    defaults        1 1
    UUID=b0f512cc-8341-43ce-89de-126b83895f27 /boot                  
    ext3    defaults     1 2
    tmpfs                   /dev/shm                tmpfs  
    defaults        0 0
    devpts                  /dev/pts                devpts 
    gid=5,mode=620  0 0
    sysfs                   /sys                    sysfs  
    defaults        0 0
    proc                    /proc                   proc   
    defaults        0 0
    /dev/VolGroup00/LogVol01 swap                   swap   
    defaults        0 0
    /dev/sda1        /media/sda        ntfs    defaults    0 0



    192.168.1.48:/home    /mnt/home    nfs    defaults,rw,user        0 0

    192.168.1.48:/media/SimpleDrive/data/      /mnt/home       nfs   
    defaults,rw,user    0 0

The Server /etc/exports is:

    [root at box9 bobg]# cat /mnt/home/exports
    #!/bin/bash
    #    /etc/exports

    /home/NFS-files        192.168.1.0/24(rw,sync,no_root_squash)

    /home/NFS-share    192.168.1.0/24(rw,sync,no_root_squash)

    /home/NFS-mac/    192.168.1.0/24(rw,insecure,sync,no_root_squash)

    # /home/NFS-share        */26(rw)

    /ISO            192.168.1.0/24(rw,sync,no_root_squash)

    /media/SimpleDrive/data/   
    192.168.1.0/24(rw,sync,insecure,no_root_squash)

    /mnt/home        192.168.1.0/24(rw,sync)

I hope this remains formatted as I've typed it, Thunderbird sometimes 
does strange things  to "plain text."

Any help is appreciated. I tried this question before butI wasn't able 
to solve my problem with any of the suggestions received, probably a 
matter of my [in]competence.

Bob
.




More information about the fedora-list mailing list