LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   fedora core 6 cannot nfs mount sub directory (https://www.linuxquestions.org/questions/linux-server-73/fedora-core-6-cannot-nfs-mount-sub-directory-592092/)

shahhe 10-15-2007 09:11 PM

fedora core 6 cannot nfs mount sub directory
 
I am having problem NFS mounting a subdirectory of an exported directory.

We have an Auspex NFS server which exports directories as follows:

/exp/apex
/exp/Administrator
/exp/public


I mount the directories as follows on AIX, Solaris, HP-UX, Gentoo Linux, Red Hat 7.3,
Fedore Core 2, Red Hat 8.0., Fedora Core 6 32-bit (2.6.18-1.2798.fc6).

mount auspex:/exp/apex /apex
mount auspex:/exp/public /usr/spool/public
mount auspex:/exp/Administrator/gblcode/cob /home/gblcode/cob
mount auspex:/exp/Administrator/gblcode/dbcob /home/gblcode/dbcob
mount auspex:/exp/Administrator/modsman /home/modsman/modsman


On fedora core 6 (2.6.22.7-57.fc6), When system boots it mounts /apex and /usr/spool/public, but it only mounts the first directory from /exp/Administrator.

I re-arranged the order and it will always mount /apex and /usr/spool/public, but it mounts only the first directory from /exp/Administrator.

When I try to manually mount the directory, I get error that the directory is busy or already mounted.

When it force mount it (mount -f) it mounts the directory, but when I try to access it (ls command) sometimes it displays directory listing and sometimes it does not.

Anyone know what the problem could be? How do I fix it?

I think this system is a 64-bit other systems are 32-bit. How do I find out if the kernel is a 32-bit or 64-bit kernel?

Thanks.

shahhe 10-16-2007 12:31 PM

I fixed the problem. 2.6.22 kernel apparently broke NFS.
Install latest nfs-utils and add nosharecache to mount option.

For more info take a look at following URLs:

http://www.nabble.com/Kernel-2.6.22....html#a11810933

https://bugzilla.redhat.com/show_bug.cgi?id=250597


All times are GMT -5. The time now is 02:47 AM.