1833764 Members
2185 Online
110063 Solutions
New Discussion

Re: mount problem

 
SOLVED
Go to solution

mount problem

Hello,
I can mount a system with nfs but I can???t see the contains of a dir.
I export the root dir on system mes4dev, /etc/exports line:
/ -anon=65534,ro,root=pabackup,access=pabackup
and I try to mount this system given the following command:
mount mes4dev:/ /tmp_mnt
I can see the root dir in /tmp_mnt but when I look in a dir deeper I can???t see the files in this dir?
Does anybody know what I do wrong?
Thanks,
Robert Verhagen.

7 REPLIES 7
Stefan Farrelly
Honored Contributor

Re: mount problem


Unless the owner of the files on the nfs mount has the same userid in your local passwd file with the same uid you wount be able to see them all. We usually add world read to all files on an nfs mount to stop this problem. I would unmount your nfs mountpoint, on the source server add world+read then remount and you should then be able to see them aok.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Stefan Farrelly
Honored Contributor

Re: mount problem

oops, as well as world+read on files you should add world+execute on directories.
Im from Palmerston North, New Zealand, but somehow ended up in London...
U.SivaKumar_2
Honored Contributor

Re: mount problem

Hi,
Try chaging the mount point from /tmp_mnt to
some other dir for example /mynfs
because automounter process uses /tmp_mnt for
mounting NFS directories automatically.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Ravi_8
Honored Contributor

Re: mount problem

Hi,
In exports file just specify
/
don't include -ro and other things
never give up

Re: mount problem

I can't change al the permissions (to world + read) because I try to export the root dir (for making a backup).
I changed the mount point form /tmp_mnt to /backup_mount but I still can???t see the files in the project dir (/backup_mount/projects)
When I export the root without any extra???s I also can???t see the contains of the sub dir projects.

I thought that when I gave root access (read only) that all the file could be read.

Robert Verhagen.
Dietmar Konermann
Honored Contributor
Solution

Re: mount problem

Your are exporting only the root file system... NOT the file systems mounted onto it! If you need /usr also then you need to specify it explicitely.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)

Re: mount problem

Thanks for your reactions.
I think I will do the backup from the client to the server (mount the backup server).
I tried to do it the other way because than I can do the backup script for all the computers from 1 computer.
Robert Verhagen.