- Re: cannot see any files in a mounted NFS directory

PDA

View Full Version : Re: cannot see any files in a mounted NFS directory


Whoever
07-24-2004, 09:01 PM
On Thu, 28 Aug 2003, Keith Ng wrote:

> Hi,
>
> I have successfully mounted an NFS volume in a RH 7.3 machine. However, the
> mounted directory is empty. This directory have 5 subdirectories underneath
> it.
>
> I have verified this by mount -f and /proc/self/mount.
>
> This is what I used
> mount command
> mount -f nfs 192.168.0.3:/mnt /mnt/tmp
>
Better try reading the man page again:
-f Causes everything to be done except for the actual system call;

In other words, "mount -f" does *not* mount the directory.

To verify that a directory is mounted, look in /etc/mtab

Keith Ng
07-24-2004, 09:02 PM
Hi,

Sorry, that was my typo. It is -t not -f.

Also, I have verify /etc/mtab and it show that the NFS directory is mounted
(rw).

Keith