On 5/10/05, Ralph Slooten <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > dragonfly ~ # exportfs
> > /home/mark/MusicLib
> >                 192.168.1.0/255.255.255.0
> > /MusicLib       192.168.1.0/255.255.255.0
> > dragonfly ~ #
> >
> > But still my FC2 remote machine cannot mount it:
> 
> Excuse me jumping in here, but after reading the above line I think you
> are barking up the wrong tree. I don't think the problem is the server,
> but your redhat. Do you have any *other* forms of linux that can try
> mount? If so, do they work?
> 
>         http://www.webservertalk.com/message1004547.html
> 

Ralph,
   Interesting read. I'll check that out later. Sometimes developers
have ways of sneaking things in. Happens on all distros I think.

   OK, so as per your idea I'm now sitting at the server (dragonfly)
itself. I'm trying to mount the NFS export in my home directory. I've
changed fstab on the server to add this line:

dragonfly:/MusicLib     /home/mark/NFStest   nfs       
noauto,user,ro,_netdev  0 0

As user or root I attempt the mount. It doesn't work but I am getting
a different message:

[EMAIL PROTECTED] ~ $ mount NFStest/
mount: dragonfly:/MusicLib failed, reason given by server: No such
file or directory
[EMAIL PROTECTED] ~ $

This is a different message. At least the server is not down!

The directory is exported:

dragonfly mark # exportfs
/MusicLib       Dragonfly
dragonfly mark #

I currently have this (slightly changed from earlier posts) in /etc/exports:

dragonfly mark # cat /etc/exports
# /etc/exports: NFS file systems being exported.  See exports(5).

/MusicLib       192.168.1.55(ro,sync,no_root_squash)

dragonfly mark #

Brett recommended (Thanks Brett!) I take a look at the LinuxDoc.org
NFS-HOWTO. I found it here:

http://www.tldp.org/HOWTO/NFS-HOWTO/server.html

It raises two issues I hadn't considered:

1) Whether inetd is running. (it is not on my Gentoo server. It
probably was on the FC2 server)

2) The contents o the hosts.allow and hosts.deny files.

Where are these files? They do not seem to be present on my machine?
Should they not be created by some part of the baseline system
install?

Obviously they haven't stopped the machine from doing most of what it
needs to do but possibly they are effecting this?

Is inetd required on the server? Maybe I need to emerge this?


dragonfly mark # qpkg -I | grep inet
dragonfly mark #


dragonfly mark # emerge -s inetd
Searching...
[ Results for search key : inetd ]
[ Applications found : 2 ]

*  net-misc/rinetd
      Latest version available: 0.62
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 112 kB
      Homepage:    http://www.boutell.com/rinetd/
      Description: redirects TCP connections from one IP address and
port to another
      License:     GPL-2

*  sys-apps/xinetd
      Latest version available: 2.3.13
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 290 kB
      Homepage:    http://www.xinetd.org/
      Description: powerful replacement for inetd
      License:     BSD


dragonfly mark #

Thanks again for helping!

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list

Reply via email to