On Thu, 06 Jul 2000, you wrote:
> "Manuël Beunder" wrote:
> 
> > I seem to have a problem between two NFS server, mounting each others stuff,
> > the one is a SuSE6.1 machine running 2.2.16 (same with 2.2.13) and the other a
> > Mandrake 7.0 machine, running 2.2.16 (same with 2.4.0test2) as well. Mounts
> > located on the SuSE machine to the Mandrake machine work just fine, but
> > v.v.: nogo..
> >
> > on the Mandrake machine:
> > /etc/exports:
> >
> >  See exports(5) for a description.
> > # This file contains a list of all directories exported to other computers.
> > # It is used by rpc.nfsd and rpc.mountd.
> > #/usr/src/linux 192.168.0.0/255.255.255.0(ro)
> > #,no_root_squash)
> > #/usr/doc       192.168.0.0/255.255.255.0(ro)
> > #/cdrom 192.168.0.0/255.255.255.0(ro)
> > /usr/src          *.thuis.nl(rw)
> > /home/mbr/download      *.thuis.nl(rw)
> > #/mnt/cdrom2    *.thuis.nl(ro)
> > #/mnt/cdrom3    *.thuis.nl(ro)
> > #,no_root_squash)
> >
> > SuSE machine:
> > /var/log/messages (during init):
> >
> > nfs_read_super: get root fattr failed
> > nfsd_fh_init : initialized fhcache, entries=512
> > nfs: RPC call returned error 111
> > RPC: task of released request still queued!
> > RPC: (task is on xprt_pending)
> > nfs_read_super: get root fattr failed
> >
> > /etc/fstab:
> >
> > XXLTurboSlakkie:/usr/src/linux /usr/src/linux nfs 
>noauto,nosuid,rsize=8192,timeo=14,intr,retry=1,bg,retrans=1,soft,acregmin=60,acregmax=10000
> > XXLTurboSlakkie:/home/mbr/download /home/mbr/download nfs
> > auto,nosuid,bg,soft,retry=1
> > #192.168.0.1:/home/mbr/download /home/mbr/download nfs // this one will also
> > fail..
> >
> > SuSE machine:
> >
> > root@TurboRouter:/etc > knfsstat
> > Server rpc stats:
> > calls      badcalls   badauth    badclnt    xdrcall
> > 0          0          0          0          0
> > Server nfs v2:
> > null       getattr    setattr    root       lookup     readlink
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> > read       wrcache    write      create     remove     rename
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> > link       symlink    mkdir      rmdir      readdir    fsstat
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> >
> > Client rpc stats:
> > calls      retrans    authrefrsh
> > 0          0          0
> > Client nfs v2:
> > null       getattr    setattr    root       lookup     readlink
> > 0       0% 2      100% 0       0% 0       0% 0       0% 0       0%
> > read       wrcache    write      create     remove     rename
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> > link       symlink    mkdir      rmdir      readdir    fsstat
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> >
> > Mandrake machine:
> >
> > [root@XXLTurboSlakkie mbr]# /usr/sbin/nfsstat
> > Server rpc stats:
> > calls      badcalls   badauth    badclnt    xdrcall
> > 0          0          0          0          0
> > Server nfs v2:
> > null       getattr    setattr    root       lookup     readlink
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> > read       wrcache    write      create     remove     rename
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> > link       symlink    mkdir      rmdir      readdir    fsstat
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> >
> > Client rpc stats:
> > calls      retrans    authrefrsh
> > 37         2          0
> > Client nfs v2:
> > null       getattr    setattr    root       lookup     readlink
> > 0       0% 5      13% 0       0% 0       0% 26     70% 0       0%
> > read       wrcache    write      create     remove     rename
> > 0       0% 0       0% 0       0% 0       0% 0       0% 0       0%
> > link       symlink    mkdir      rmdir      readdir    fsstat
> > 0       0% 0       0% 0       0% 0       0% 6      16% 0       0%
> >
> > root@TurboRouter:/etc > mount -a
> > mount: wrong fs type, bad option, bad superblock on 
>XXLTurboSlakkie::/usr/src/linux,
> > or too many mounted file systems
> > mount: wrong fs type, bad option, bad superblock on
> > 192.168.0.1:/home/mbr/download,        or too many mounted file systems
> >
> > Anyone an idea what's going on?
> >
> > Cheers,
> > --
> > /* Manuël Beunder. (aka MBr)
> > - http://how.to/sblive the SB Live! Linux page -
> > 'You must be the change you wish to see in this world. -Gandi' */
> 
> Check /var/log/messages on the mandrake machine right after an attempted mount.
> 
> The wildcards may ne causing problems, try writing out each host followed by (rw) 
>followed by one space for those you want to access a mount
> point.  End each of those mount point lines with two spaces and a \n (newline).  
>Make certain those hostnames resolve in  /etc/hosts and in
> /etc/hosts.allow
> 
> Works for me.
> 
> Civileme

I didn't quite get what you were saying, but replacing the spaces by a single
tab, fixed the problem (duh)...
These are just those things, that drive you crazy sometimes... (had been
experimenting with NBD as well and just installed a new kernel as well)

Cheers,
-- 
/* Manuël Beunder. (aka MBr) 
- http://how.to/sblive the SB Live! Linux page -
'You must be the change you wish to see in this world. -Gandi' */

Reply via email to