On 25-Oct-97 Jason Killen wrote:
> Ok sorry for my non-well formed question.
> 
> /etc/exports line looks like this (names and faces have been changed)
> 
> / 242.21.5.133 (rw,root_squash,map_daemon)
> 
> In this example I have exported the root directory of the server to the
> machine
> with the given ip, thats right...right.  
> 
> On the client I say
> mount 242.21.5.133:/ /mntpnt 
> when I cd to /mntpnt/var/spool/mail and say ls the directory is empty. 
> On
> the server /var/spool/mail is full of files.

Tine to shine the bright lights in the eyes and start asking nasty
questions to your system:

For instance, after you have done "mount 242.21.5.133:/ /mntpnt",
what do you get from "ls /mntpnt"? "ls /mntpnt/var"? "ls /mntpnt/var/spool"?

The same questions if you DON'T mount 242.21.5.133:/ ? Do you by any chance
have a directory /mntpnt/var/spool/mail on the local machine which happens
to be empty? Check (using the unadorned command "mount") that you DON'T
have the remote root directory mounted before doing this test.

I notice that the "mount" command you cite does not include any options.
Normally, at the very least you would say

   mount -t nfs 242.21.5.133:/ /mntpnt

unless you have an entry for /mntpnt in /etc/fstab which says that the
default filesystem type for mounting to /mntpnt is "nfs".

The behaviour you describe is consistent with (a) failure to mount
242.21.5.133:/ to /mntpnt with the "mount 242.21.5.133:/ /mntpnt" command,
together with (b) having a local directory /mntpnt/var/spool/mail which is
empty.


Good luck,
Ted.

--------------------------------------------------------------------
E-Mail: Ted Harding <[EMAIL PROTECTED]>
Date: 25-Oct-97                                       Time: 10:29:12
--------------------------------------------------------------------


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .

Reply via email to