[CentOS] Issue mounting /home area from NAS server
phaley at MIT.EDU
Thu Dec 5 19:18:02 UTC 2013
I think v3 but I'm not sure (how do I check
this?). At any rate, I tried your suggestion
[root at mseas etc]# mount -o vers=3 mseas-data:/home
mount.nfs: Unknown error 521
[root at mseas etc]# mount -o vers=4 mseas-data:/home
mount.nfs: mounting mseas-data:/home failed, reason given by server:
No such file or directory
What should I look at next?
>> A quick follow-up. I tried reverting back to the
>> set ups on both machines before we enabled quotas.
>> Rebooted both machines. Still cannot mount /home
>> from the client (mseas).
>>> Just before the Thanksgiving break, we enabled quotas on
>>> the /home areas on the mseas-data server (running CentOS 5.8),
>>> using the following line in the updated /etc/fstab
>>> /dev/mapper/the_raid-lv_home /home ext3
>>> defaults,usrquota,grpquota 1 0
>>> Following the Thanksgiving reboot of mseas-data we have been
>>> experiencing problems with svn on mseas (our front-end machine,
>>> running CentOS 6.2). After consulting with the svn mailing list,
>>> it appeared to be a communication issue between mseas and mseas-data.
>>> We therefore rebooted mseas. Now mseas is not mounting /home.
>>> We get the following error
>>> [root at mseas etc]# mount mseas-data:/home
>>> mount.nfs: Unknown error 521
>>> We have tried this mounting with both of the following lines
>>> in fstab and got the same error
>>> mseas-data:/home /home nfs defaults 0 0
>>> mseas-data:/home /home nfs
>>> defaults,usrquota,grpquota 0 0
>>> (the latter was to mimic the mounting of /home on mseas-data)
>>> The only thing we've found out on the web so far was advice
>>> on editting /etc/exports to have an "insecure" option for
>>> the export of /home, which we already had.
>>> Any thoughts on how to resolve or debug this issue would
>>> be greatly appreciated.
> By which NFS version are you exporting from the mseas-data server...v3 or v4?
> If v3, you may have to add "vers=3" to the options section of your fstab.
> Try manually mounting with -o vers=3 in the command line to see if this
> fixes things.
Pat Haley Email: phaley at mit.edu
Center for Ocean Engineering Phone: (617) 253-6824
Dept. of Mechanical Engineering Fax: (617) 253-8125
MIT, Room 5-213 http://web.mit.edu/phaley/www/
77 Massachusetts Avenue
Cambridge, MA 02139-4301
More information about the CentOS