NFS4 problems -

Bob Goodwin - Zuni, Virginia, USA bobgoodwin at wildblue.net
Tue Dec 4 02:05:21 UTC 2012


On 03/12/12 19:58, Ed Greshko wrote:
> Please note....
>
> /home  !=  /home/home     ( != means Not Equal )
>
> If you "grep bobg /etc/passwd" you'd probably see something like....
>
> bobg:x:1000:1000:Bob Goodwin:/home/bobg:/bin/bash

    Both box7 and box9 see;

    [bobg at box7 ~]$ grep bobg /etc/passwd
    bobg:x:1000:1000:Bob Goodwin:/home/bobg:/bin/bash

    And on the server:

    -bash-4.1$ grep bobg /etc/passwd
    bobg:x:500:500:Bob Goodwin:/home/bobg:/bin/bash

>
> *********************************
>
> Going back to your "client".
>
> If you "ls -l /mnt/HOME1" you should see the same output as "ls -l /home/home" when logged into the server.

    [bobg at box7 ~]$ ls -l /mnt/HOME1
    total 16
    drwxrwxr-x.  2 nobody nobody 4096 Dec  1 14:10 check
    drwxrwxr-x.  3 nobody nobody 4096 Dec  1 14:10 Dell
    drwxrwxr-x.  2 nobody nobody 4096 Dec  1 14:10 digicam
    drwxrwxrwx. 23 root   root   4096 Dec  1 14:13 home


    [bobg at box7 ~]$ ls -l /home/home
    ls: cannot access /home/home: No such file or directory


    [bobg at box7 ~]$ ls -l /mnt/HOME1/home
    total 140
    -rw-rw-r--.  1 nobody nobody 40241 Nov  6 15:31
    2012-11-06_13-06-35_325.crpd.jpg
    drwxrwxr-x.  3 nobody nobody  4096 Dec  1 13:44 AmerHist
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 13:21 check
    drwxrwxr-x.  3 nobody nobody  4096 Dec  1 13:21 Dell
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 13:22 digicam
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 13:22 DigiCam
    drwxrwxr-x.  8 nobody nobody  4096 Dec  1 13:35 Documents
    drwxrwxr-x.  4 nobody nobody  4096 Dec  1 13:46 DVD-1
    drwxrwxr-x.  4 nobody nobody  4096 Dec  1 13:49 DVD-2
    drwxrwxr-x.  2 nobody nobody 12288 Dec  1 13:51 EarlyMidAges
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 13:43 evergreene
    drwxrwxr-x.  5 nobody nobody  4096 Dec  1 13:43 gramps
    drwxrwxr-x.  2 nobody nobody 12288 Dec  1 13:52 HenryVIII
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 13:53 HiMidAges
    drwxrwxr-x. 14 nobody nobody  4096 Dec  1 13:55 LateMidAges
    drwxrwxr-x. 20 nobody nobody  4096 Dec  1 13:57 MedievalWorld
    drwxrwxr-x.  3 nobody nobody  4096 Dec  1 13:43 notecase
    drwxrwxr-x.  2 nobody nobody  4096 Dec  2 11:35 oocalc
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 14:13 photos
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 17:33 rem
    drwxrwxr-x.  6 nobody nobody  4096 Dec  1 14:05 Structures
    drwxrwxr-x.  2 nobody nobody  4096 Dec  1 14:13 VideoClips


>
> Notice that on the "server" there is no /home/data so that mount is actually on /nfsexports/data on the server since the "bind mount" would have failed.
>
    The last lines of "mount" on client box7:

    192.168.1.48://SRVR1 on /mnt/BOX48 type nfs4
    (rw,nosuid,nodev,noexec,relatime,vers=4.0,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.7,local_lock=none,addr=192.168.1.48)
    192.168.1.8://data on /mnt/DATA1 type nfs4
    (rw,relatime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.7,local_lock=none,addr=192.168.1.8)
    192.168.1.8:/home on /mnt/HOME1 type nfs4
    (rw,relatime,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.7,local_lock=none,addr=192.168.1.8)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    gvfs-fuse-daemon on /run/user/bobg/gvfs type fuse.gvfs-fuse-daemon
    (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


-- 
http://www.qrz.com/db/W2BOD

box7



More information about the users mailing list