On 12/04/2012 08:40 AM, Bob Goodwin - Zuni, Virginia, USA wrote:
On 03/12/12 18:35, Ed Greshko wrote:
> Please humor me and leave it as "nfs4 defaults 0 0".
# 192.168.1.8:/nfs4exports/ /mnt/BOX8 nfs4 defaults 0 0
192.168.1.8:/home/ /mnt/HOME1/ nfs4 defaults 0 0
192.168.1.8:/data/ /mnt/DATA1 nfs4 defaults 0 0
192.168.1.48:/SRVR1 /mnt/BOX48 nfs4 defaults,rw,user 0 0
Thank you.... :-)
> I just wanted to see this output.... But, I now notice you have "Could not
chdir....."
>
> So, could you....
>
> cd /home
> ls -l
I don't know where this is from, not yet anyway. I am viewing it
here via ssh.
-bash-4.1$ ls -l /home
total 16
drwxrwxr-x. 2 1000 1000 4096 Dec 1 14:10 check
drwxrwxr-x. 3 1000 1000 4096 Dec 1 14:10 Dell
drwxrwxr-x. 2 1000 1000 4096 Dec 1 14:10 digicam
drwxrwxrwx. 23 root root 4096 Dec 1 14:13 home
Below is what I would expect to see and in fact when I view "ls
/home" directly on the server box8 on it's own monitor I see this
under /home? The check, Dell, and digicam directories obviously do
not belong there, an artifact of something I did earlier.
-bash-4.1$ ls -l /home/home
total 140
-rw-rw-r--. 1 1000 1000 40241 Nov 6 15:31
2012-11-06_13-06-35_325.crpd.jpg
drwxrwxr-x. 3 1000 1000 4096 Dec 1 13:44 AmerHist
drwxrwxr-x. 2 1000 1000 4096 Dec 1 13:21 check
drwxrwxr-x. 3 1000 1000 4096 Dec 1 13:21 Dell
drwxrwxr-x. 2 1000 1000 4096 Dec 1 13:22 digicam
drwxrwxr-x. 2 1000 1000 4096 Dec 1 13:22 DigiCam
drwxrwxr-x. 8 1000 1000 4096 Dec 1 13:35 Documents
drwxrwxr-x. 4 1000 1000 4096 Dec 1 13:46 DVD-1
drwxrwxr-x. 4 1000 1000 4096 Dec 1 13:49 DVD-2
drwxrwxr-x. 2 1000 1000 12288 Dec 1 13:51 EarlyMidAges
drwxrwxr-x. 2 1000 1000 4096 Dec 1 13:43 evergreene
drwxrwxr-x. 5 1000 1000 4096 Dec 1 13:43 gramps
drwxrwxr-x. 2 1000 1000 12288 Dec 1 13:52 HenryVIII
drwxrwxr-x. 2 1000 1000 4096 Dec 1 13:53 HiMidAges
drwxrwxr-x. 14 1000 1000 4096 Dec 1 13:55 LateMidAges
drwxrwxr-x. 20 1000 1000 4096 Dec 1 13:57 MedievalWorld
drwxrwxr-x. 3 1000 1000 4096 Dec 1 13:43 notecase
drwxrwxr-x. 2 1000 1000 4096 Dec 2 11:35 oocalc
drwxrwxr-x. 2 1000 1000 4096 Dec 1 14:13 photos
drwxrwxr-x. 2 1000 1000 4096 Dec 1 17:33 rem
drwxrwxr-x. 6 1000 1000 4096 Dec 1 14:05 Structures
drwxrwxr-x. 2 1000 1000 4096 Dec 1 14:13 VideoClips
However, after changing /etc/fstab to "192.168.1.8:/home/
/mnt/HOME1/ nfs4 defaults 0 0" it is mounting at boot, at
least it did on a "restart." So that is progress.
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
*********************************
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.
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.
--
Programming today is a race between software engineers striving to build bigger and better
idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far,
the Universe is winning. -- Rick Cook, The Wizardry Compiled