still problem in remote mount

Lorenzo Campo lorenzo118 at interfree.it
Wed Nov 16 16:31:50 CET 2005


Ok, I made a little step ahead by modifying subroutines, precisely the client can ping the 
master when I use the IP but seems can't resolve names. If I redefine FAI_LOCATION directly 
inside get_fai_fir putting

FAI_LOCATION=192.168.100.100:/usr/local/share/fai/

it works, it say class space mounted, and then halts again. So I guess there is something wrong 
in my hosts file, but it's simply:

127.0.0.1 localhost.localdomain localhost serine
150.217.15.100 serine.dsi.unifi.it serine
192.168.100.100 nodo00.dsi.unifi.it nodo00
192.168.100.101 nodo01.dsi.unifi.it nodo01
192.168.100.102 nodo02.dsi.unifi.it nodo02
192.168.100.103 nodo03.dsi.unifi.it nodo03
192.168.100.104 nodo04.dsi.unifi.it nodo04

# The following lines are desirable for IPv6 capable hosts
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

so why it can see 192.168.100.100 but not nodo00?

My dhcp.conf (in /etc/dhcp3/) is:


# dhcpd.conf for fai
# replace faiserver with the name of your install server

# deny unknown-clients;
option dhcp-max-message-size 2048;
use-host-decl-names on;
#always-reply-rfc1048 on;

filename "pxelinux.0";

# the server from which to load the initial boot file if different
# from server-name (if the DHCP server is not also the TFTP server)
next-server nodo00;


subnet 192.168.100.0 netmask 255.255.255.0 {
    range 192.168.100.100 192.168.100.101;
    option routers 192.168.100.101;
    option domain-name "beowulf";
    option domain-name-servers 192.168.100.101;
    option time-servers nodo00;
    option ntp-servers nodo00;
    option nis-domain "beowulf";
    option nis-servers nodo00;
    server-name "nodo00";
    option root-path "/usr/lib/fai/nfsroot,rsize=8192,wsize=8192,acregmin=1800,ac
regmax=1800,acdirmin=1800,acdirmax=1800";
}

# perl -ane ' {print "host atom {hardware ethernet $1;fixed-address atom}";}'
#host demohost {hardware ethernet 0:2:a3:b5:c5:41;fixed-address demohost;}
host nodo01 {hardware ethernet 00:13:d4:7a:83:ee;fixed-address nodo01;}


Any idea?


Michael Tautschnig ha scritto:
>>I'm trying to modify scripts in /usr/share/fai/subroutines and 
>>subroutines-linux, but even putting a simple echo "hello" in the beginning 
>>of get_fai_dir it doesn't produce effects. I have to modify these files or 
>>there is an "operative" copy inside nfsroot path?
>>
> 
> 
> Yes, I intended to say that using my <nfsroot>-notation: You _must_ modify those
> within /usr/lib/fai/nfsroot, otherwise you would need to rebuild your nfsroot
> (using make-fai-nfsroot) every time.
> 
> HTH,
> Michael



More information about the linux-fai mailing list