Are all of the firewalls and routers involved set to pass nfs traffic? The third octet is different, which might or might not mean you are on different subnets.
------------------------------------------------------------------------ Jim Wildman, CISSP [EMAIL PROTECTED] 614-404-1897 http://www.rossberry.com On Mon, 20 May 2002, Jesse Scott wrote: > > The workstation machine boots, gets it's DHCP address (10.66.6.24), > downloads the kernel with TFTP, does the second DHCP request > successfully, and then the NFS mount fails. I already went through and > changed the IP address and masks everywhere I could find: > /etc/dhcpd.conf, /etc/exports, /etc/hosts.allow, > /opt/ltsp/i386/etc/lts.conf, but it still refuses to mount: > > Running dhclient > eth0: Setting Rx mode to 1 addresses. > Mounting root filesystem: /opt/ltsp/i386 from: 10.66.3.12 (the correct > IP of the server) > (null)mount: nfsmount failed: Bad file number > NFS: mount program didn't pass remote address! > mount: Mounting 10.66.3.12:/opt/ltsp/i386 on /mnt failed: Invalid > argument > > ERROR! Failed to mount the root directory via NFS! > Possible reasons include: > > ...... > > If anyone has any ideas I'd certainly appreciate hearing them, this has > been driving me buggy all day.... > > Thanks, > > -Jesse > > > Here are all the appropriate files I can think of, let me know if you > need to see another one: > > /etc/dhcpd.conf: > > default-lease-time 21600; > max-lease-time 21600; > > option subnet-mask 255.255.255.0; > > subnet 10.0.0.0 netmask 255.0.0.0 > { > not authoritative; > } > > shared-network WORKSTATIONS > { > option routers 10.10.10.10; > option domain-name-servers 10.10.10.1; > option root-path "10.66.3.12:/opt/ltsp/i386"; > > subnet 10.66.6.24 netmask 255.255.255.248 > { > option broadcast-address 10.66.6.255; > } > > subnet 10.66.6.32 netmask 255.255.255.248 > { > option broadcast-address 10.66.6.255; > } > } > > group > { > use-host-decl-names on; > option log-servers 10.66.3.12; > > host ws001 > { > hardware ethernet 00:A0:24:1D:DD:2D; > fixed-address 10.66.6.24; > filename > "/tftpboot/lts/vmlinuz-2.4.9-ltsp-5"; > option option-128 e4:45:74:68:00:00; > option option-129 "NIC=3c509 IO=0x210"; > } > } > > > This brings up my DHCP issue, the above config warns me about the > obvious conflict between the 10.0.0.0/255.0.0.0 and > 10.66.6.24/255.255.255.248 subnets, but it seems to work and do what I > want DHCP wise (only respond to DHCPREQUEST's for the IP's in the range > I've been granted control over). > > /etc/exports: > > ## LTS-begin ## > > # > # The lines between the 'LTS-begin' and the 'LTS-end' were added > # on: Mon May 6 15:37:39 PDT 2002 by the ltsp installation script. > # For more information, visit the ltsp homepage > # at http://www.ltsp.org > # > > /opt/ltsp/i386 > 10.66.6.0/255.255.255.0(ro,no_root_squash) > /var/opt/ltsp/swapfiles > 10.66.6.0/255.255.255.0(rw,no_root_squash) > > # > # The following entries need to be uncommented if you want > # Local App support in ltsp > # > #/home 192.168.0.0/255.255.255.0(rw,no_root_squash) > > ## LTS-end ## > > /etc/hosts.allow: > > ## LTS-begin ## > > # > # The lines between the 'LTS-begin' and the 'LTS-end' were added > # on: Mon May 6 15:37:39 PDT 2002 by the ltsp installation script. > # For more information, visit the ltsp homepage > # at http://www.ltsp.org > # > > bootpd: 0.0.0.0 > in.tftpd: 10.66.6. > portmap: 10.66.6. > > ## LTS-end ## > > /opt/ltsp/i386/etc/lts.conf: > > [Default] > SERVER = 10.66.3.12 > LOCAL_APPS = N > RUNLEVEL = 5 > > #------------------------------------------------------------------------------ > # > # Example of specifying X settings for a workstation > # > [ws001] > XSERVER = XF86_S3 > LOCAL_APPS = N > USE_NFS_SWAP = Y > SWAPFILE_SIZE = 16m > RUNLEVEL = 5 > X_COLOR_DEPTH = 8 > > > /etc/hosts: > > 127.0.0.1 jupiter localhost > 10.66.6.24 ws001 > > some other info: > > jupiter:/etc/init.d# showmount -e > Export list for jupiter.wwc: > /var/opt/ltsp/swapfiles 10.66.6.0/255.255.255.0 > /opt/ltsp/i386 10.66.6.0/255.255.255.0 > jupiter:/etc/init.d# rpcinfo -p localhost > program vers proto port > 100000 2 tcp 111 portmapper > 100000 2 udp 111 portmapper > 100024 1 udp 749 status > 100024 1 tcp 751 status > 100003 2 udp 2049 nfs > 100003 2 tcp 2049 nfs > 100005 1 udp 999 mountd > 100005 2 udp 999 mountd > 100005 1 tcp 1002 mountd > 100005 2 tcp 1002 mountd > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.openprojects.net > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net
