Hi all, I've got some insanity with mounting an NFS share that before reloading my workstation afresh worked perfectly, but now refuses to mount. Actually there are two servers with shares mounted. (1) Mandrake 10.0 file server - two shares - mount perfectly (2) Fedora Core 3 - one share - can't mount to save my life! My workstation is CentOS 4. I reloaded it to get rid of the FC3 installation at the front of the main drive and recover some space on the second drive moving CentOS to the main drive. Everything else works wonderfully as advertised. The following is the only feedback I'm getting when attempting to mount the share from the FC3 server. (the shares on the file server mount perfectly) SERVER: Apr 24 09:43:41 mail rpc.mountd: authenticated mount request from 192.168.0.252:921 for /var/www (/var/www) CLIENT: Mounting NFS filesystems: mount: 192.168.0.4:/var/www failed, reason given by server: Permission denied ^^^ happens when running the command "service netfs restart[start]" I've researched this exaustively on Google and have come up with nuttin. what makes no sense at all to me is that it worked perfectly before on my previous centos 4 installation and has only developed this behavior since reinstalling and upgrading KDE to KDE-3.4 although I can't see what was in there that might have affected netfs/nfs share mounting since the other two shares from the Mandrake server do work. Any help will be greatly appreciated. -- Mark ----------------------------------------------------------- Paid for by Penguins against modern appliances(R) Linux User Since 1996 Powered by Mandrake Linux 8.2, 10.0 & CentOS 4
On 4/24/05, Mark Weaver <mdw1982 at mdw1982.com> wrote:> Hi all, > > I've got some insanity with mounting an NFS share that before reloading > my workstation afresh worked perfectly, but now refuses to mount. > > Actually there are two servers with shares mounted. > (1) Mandrake 10.0 file server - two shares - mount perfectly > (2) Fedora Core 3 - one share - can't mount to save my life! > > My workstation is CentOS 4. I reloaded it to get rid of the FC3 > installation at the front of the main drive and recover some space on > the second drive moving CentOS to the main drive. Everything else works > wonderfully as advertised. The following is the only feedback I'm > getting when attempting to mount the share from the FC3 server. (the > shares on the file server mount perfectly) > > SERVER: > Apr 24 09:43:41 mail rpc.mountd: authenticated mount request from > 192.168.0.252:921 for /var/www (/var/www) > > CLIENT: > Mounting NFS filesystems: mount: 192.168.0.4:/var/www failed, reason > given by server: Permission denied >What does your fstab entry for the share look like? -- Collins When I saw the Iraqi people voting three weeks ago, 8 million of them, it was the start of a new Arab world.... The Berlin Wall has fallen. - Lebanese Druze leader Walid Jumblatt
On 04/24/2005 06:54 AM, Mark Weaver wrote:> My workstation is CentOS 4. I reloaded it to get rid of the FC3 > installation at the front of the main drive and recover some space on > the second drive moving CentOS to the main drive. Everything else works > wonderfully as advertised. The following is the only feedback I'm > getting when attempting to mount the share from the FC3 server. (the > shares on the file server mount perfectly)In the server's /etc/exports, try adding "insecure" to the general option list, e.g., /foo/bar 192.168.10.0/24(rw,root_squash,insecure,sync) The nfs client that ships with CentOS 4 uses a port number higher than 1024 by default, which isn't what most Linux systems expect. -- Paul Heinlein <> heinlein at madboa.com <> www.madboa.com
Mark Weaver wrote:> Collins Richey wrote: >> On 4/24/05, Mark Weaver <mdw1982 at mdw1982.com> wrote: >> >>> Hi all, >>> >>> I've got some insanity with mounting an NFS share that before >>> reloading my workstation afresh worked perfectly, but now refuses >>> to mount. >>> >>> Actually there are two servers with shares mounted. >>> (1) Mandrake 10.0 file server - two shares - mount perfectly >>> (2) Fedora Core 3 - one share - can't mount to save my life! >>> >>> My workstation is CentOS 4. I reloaded it to get rid of the FC3 >>> installation at the front of the main drive and recover some space >>> on the second drive moving CentOS to the main drive. Everything >>> else works wonderfully as advertised. The following is the only >>> feedback I'm getting when attempting to mount the share from the >>> FC3 server. (the shares on the file server mount perfectly) >>> >>> SERVER: >>> Apr 24 09:43:41 mail rpc.mountd: authenticated mount request from >>> 192.168.0.252:921 for /var/www (/var/www) >>> >>> CLIENT: >>> Mounting NFS filesystems: mount: 192.168.0.4:/var/www failed, >>> reason given by server: Permission denied >>> >> >> >> What does your fstab entry for the share look like? >> > > sorry about that... I knew I'd forget something. > > the fstab entry on the client machine appears thusly: > 192.168.0.4:/var/www /mnt/www nfs rsize=8192,wsize=8192,auto,hard 0 0 > > The exports file on the server appears as this: > /var/www 192.168.0.252(rw) > > (the IP of the client machine is 192.168.0.252)Have you tried to mount another test share on the server with no options/IP restrictions? Dean.