[SOLVED] Can't see home folder on one NFS mount but can in another mount on another share
Hello,
I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please
Below are the configs
/etc/exports on host
mounts on client
on the host machine, /bin and /home have the same permissions:
also on the host machine /home/woodnt and /HomeSchool have the same permissions:
Also, these have the same permissions on the host machine.
From the client:
And I can see /bin, everything in /bin like /bin/bash, but not /home and any home contents.
I have the same GID and UID on both boxes (1000, not that that matters).
On the client with everything mounted as above, I can:
ls the contents of /bin, /home (via /mnt/mnt5), /, /home/woodnt/Homeschool/, /home/share/HomeScool, and /HomeSchool.
When I am on the mountpoint /mnt/mnt4 where the whole root directory is mounted and I " $ ls /mnt/mnt4/home " I get bupkis. Nada. Zilch.
Why can I see /home mounted on /mnt/mnt5 but not as a subdir of / when from the /mnt/mnt4?
I'm the same user in the same group logged into the same mountpoints on every one, but I can see inside the host /home when it is mounted directly, but not when it is mounted as root and cd'd too.
What gives?
Thanks for the help in advance,
Narnie
---------- Post updated at 11:22 PM ---------- Previous update was at 09:35 PM ----------
I set it up similarly on the same computer exporting only the root (/) directory. Same problem. Can't be a user/group problem or permission problem because it is the same user on the same computer/
The mount of root is to /mnt/mnt1
Notice the permissions below. I even cp -a /bin/bash /home just to have the same file with the same permissions and yet I can't see bash in /mnt/mnt1/home
Really crazy. This is duplicated on another pair of computers setups as well. not just this computer and the netbook above.
again, nothing under /mnt/mnt1/home
errrrrrr
Last edited by Narnie; 01-09-2010 at 10:50 PM..
Reason: Problem is solved.
Is /home in a separate files system to / (root)? If it is then NFS exporting root only exports the root filesystem. I wasn't absolutely certain about this but NFSExports < Webmin < TWiki says:
Quote:
If an exported directory has mount points under it, files under those mount points will not be accessible by NFS clients. So if you exported the root directory / and has a separate filesystem mounted at /home , you would need to also export /home and clients would need to mount it in order to see the files under it.
Is /home in a separate files system to / (root)? If it is then NFS exporting root only exports the root filesystem. I wasn't absolutely certain about this but NFSExports < Webmin < TWiki says:
Well, you are sure right. /home is on a separate partition.
That totally explains it. I wish I'd thought to say that part of the equation. Thank you for pointing this out.
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Hi! All,
I am trying to mount a NFS share on my FreeNAS system onto my SCO OpenServer 5.0.6. I get the following error:
mount: cannot mount /: Connection Refused (error 115)
Has anyone been able to do this? (3 Replies)
When i tried to mount the nfs i see this error message
mount -t nfs 192.168.20.194:/remote/proj1 /nfsmount
mount: 192.168.20.194:/remote/proj1 failed, reason given by server: Permission denied
and the /etc/exports file in the host side looks like this
/remote/proj1 ... (12 Replies)
HI
I would like to ask about my virtualbox 4.0.4 in my lucyd lynx box
My shared forlder isn't auto mount in my linux guest OS. And everytime i manually mount using command sudo mount -t vboxsf <shared_folder_name> <Guest_location> it throw an error msg "/sbin/mount.vboxsf: mounting failed... (1 Reply)
Hi,
I want to mount an NFS Shared folder on Windows XP to vxWorks.
There doesnt seem to be a problem with the sharing.
Now, when i try to mount the directory onto vxWorks (it runs on a Tumbleweed card), using a mount script (.sh), the following is the print i see on Tera Term:
hostAdd... (0 Replies)
all,,i need help,,i try to mount a windows 2000 share folder to my system,,i already userd smb mount,mount -F and bunch of stuff and none is working,,can anyone give me a script to this??
PS : when i use mount -F i got this message :
nfs mount: insufficient privileges ,,,
is it must be root ? (6 Replies)
Hi, How can i mount an NFS share on a solaris machine a filesystem ?
I have enabled nfs on a windows server and the shares has given read/write access to it to all the users. I would like to mount it on around 10 different solaris boxes with different versions of solaris.
Thanks in advance. (2 Replies)
this is probably a bit dumb ...but i read somewhere that one of the nfs versions can be mounted on a windows 2003 server ..if yes ..does anyone know how this can be achieved (1 Reply)
Hello Everyone,
I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP.
I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
Hello All,
I have a question that I think I have the answer to but I'm not sure. All the information I get kind of dance around it. Well, my question is if you have NFS running, automount running, with auto_master and auto_home on a server. If a user logs in form cleint machine that has... (3 Replies)