Amit
asked on
Unable to mount a folder from other machine
Hi,
I have two machines
M1 and M2
M1 - Solaris 5.8
M2 - Solaris 5.9
I have to moount a folder from M1 on M2
With a root login on Machine M2 I issue the following command
mount M1:/folder1/folder2 /folder1/folder2
I get the following error
nfs mount: M1:/folder1/folder2: permission denied
How can I resolve this ? can two different O/S may be the problem
I have two machines
M1 and M2
M1 - Solaris 5.8
M2 - Solaris 5.9
I have to moount a folder from M1 on M2
With a root login on Machine M2 I issue the following command
mount M1:/folder1/folder2 /folder1/folder2
I get the following error
nfs mount: M1:/folder1/folder2: permission denied
How can I resolve this ? can two different O/S may be the problem
ASKER
I have done all the checks
1.The directory is shared
2. The directories are created
3.Both the machine can ping each other, I even modified the hosts file on both the machines
I think this might help but I don't know how to add an FQDN to /etc/dfs/dfstab
(could someone help)
also visit http://www.brandonhutchinson.com/NFS_Permission_denied_errors.html
Thanks
1.The directory is shared
2. The directories are created
3.Both the machine can ping each other, I even modified the hosts file on both the machines
I think this might help but I don't know how to add an FQDN to /etc/dfs/dfstab
(could someone help)
also visit http://www.brandonhutchinson.com/NFS_Permission_denied_errors.html
Thanks
FQDN would be the domain your servers are running on
If you were Ebay then your FQDN for those servers would be M12.ebay.com and M2.ebay.com
Try putting the IP address instead of the hostname when mounting the share
Ex.
instead of mount m1:/folder1/folder2 /folder1/folder2
try
mount xxx.xxx.xxx.xxx:/folder1/f older2 /folder1/folder2
where xxx.xxx.xxx.xxx would be M1's IP address
If you were Ebay then your FQDN for those servers would be M12.ebay.com and M2.ebay.com
Try putting the IP address instead of the hostname when mounting the share
Ex.
instead of mount m1:/folder1/folder2 /folder1/folder2
try
mount xxx.xxx.xxx.xxx:/folder1/f
where xxx.xxx.xxx.xxx would be M1's IP address
ASKER
I have already tried the IP address approach. I dunno what's wrong
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have you shared M1:/folder1/folder2 yet?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1) Is NFS running on M1 .. whats the output of ps -ef | grep nfs
2) If NFS is running is the M1:/folder1/folder2 shared. Do a dfshares command on M1 and verify if it is shared
3) If 2 is yes then what's the ouput of the dfshares command on M1 and if they are a permanent share what's the output of /etc/dfs/dfmounts and do they have any restrictions on the mounts
4) Can these systems talk to each other at all? (IE Could this be a network or firewall issue)
5) on M2 does the directory /folder1/folder2 exist? If not create it and then try to mount
That should be enough to work with. Waiting on your reply