permission denied when mounting nfs directory
When trying to mount a directory off a test nfs server I have, I get a permission denied error:
[root@localhost disk]# mount 220.127.116.11:/usr/export /mnt/disk
mount: 18.104.22.168:/usr/export failed, reason given by server: Permission de
I have created a /usr/export folder and created a one line file at /etc/exports that says simply:
I'm logged in as root on both computers. This should be simple, what am I doing wrong?
is the nfs deamon running? do you have the permissions of /usr/export set to allow anyone to read and exe.? (755, or something like that). also, check you /etc/hosts.allow and hosts.deny
Stupid error on my part. I had created a directory called at /usr/export but put /usr/exports (with an s) in the /etc/exports file. After correcting that it works ok.
Next problem - can't mount the NFS servers cdrom. (mount 22.214.171.124:/mnt/cdrom /mnt/disk)
When I give this command, it looks like it has mounted no error) and is visible if I give a mount command, however, if I cd /mnt/disk and then ls, the hardrive on the client spins for about a minute then returns 'ls: Memory exhausted'. What's up with that?
I have put this line in the /etc/exports file:
and did a exportfs -ra
I have a cd in the drive.
I have many cdromless clients that, so I am trying to figure out away to share the servers cdrom. the clients are old (P133 with 32mb running mandrake 7.1), but they seem to work ok with local cdroms and in general.
More reading revealed that supermount is not compatible with NFS. (Mandrake how to's)
|All times are GMT -5. The time now is 04:37 PM.|