Operating System - Linux
1758027 Members
2111 Online
108866 Solutions
New Discussion юеВ

Re: really weird problem with nfs

 
Cristian_4
Regular Advisor

really weird problem with nfs

im mounting several home folders from a server machine

lets say

/diska/user1
/diskb/user2

i can mount the /diska without a problem,, but i cant mount anything inside the /diskb

now, this is the weird part, in another client pc, i can mount both disks, so i know that the server is exporting both disks

the /var/log/messages gave me this error

localhost automount[22400]: >> mount: server:/diskb/user2 failed, reason given by server: Permission denied

why do i get a "Permission denied" ? since i have no problems mounting the diska

5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: really weird problem with nfs

check the following:

permissions/ownership in user1 and user2 filders

exportfs -av

This will give verbose output. I think you'll get an error or warning message.

That message will probably lead to solution or a google search.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Cristian_4
Regular Advisor

Re: really weird problem with nfs

but the -a option isnt it to unexport the fs ? i dont want to leave the users without their home =)
Steven E. Protter
Exalted Contributor

Re: really weird problem with nfs

No.

On most distributions of Linux it will merely re-export the files with verbose output.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jan Sladky
Trusted Contributor

Re: really weird problem with nfs

hi Cristian,

check also /etc/exports whether there is allowed export for client1, IP or hostname

br Jan
GSM, Intelligent Networks, UNIX
Cristian_4
Regular Advisor

Re: really weird problem with nfs

ok, i've tried the command and i didn't get any error. The permissions are the same for each disk.

i did get a lot of "unexporting from kernel"

anyway the problem it solved by it self in the night, dont know why

thanks to everybody