Menu

Bad NFS server problem

Help
Anonymous
2009-12-08
2012-12-12
  • Anonymous

    Anonymous - 2009-12-08

    Hi,

    I'm tring to use DRBL without using drblpush and dcs but with a home made PHP web interface.

    My server is something ip 10.0.0.2 and network gateway is 10.0.0.1. I'm not using my server as a NAT, so clients are getting trough 10.0.0.1 to go out of network.

    My problem is, i've used drblpush only on the first to create a few test clients like 10.0.0.3, .4, .5, etc … These are working well.

    I add new client with PHP in DHCP and then run drbl-3n-generate. These client are working if they are 10.0.0.x but not if they are 10.0.1.x, for example.

    In that case, when booting clonezilla they try to join 10.0.0.1 as the NFS server instead of 10.0.0.2.
    I've tried to set nfs default in etc/diskless-image/config to my real NFS server but it does not seem to work.
    I don't know where to look for. Seems i have to do something more than just add to news clients to DHCP and then 3n-generate, but i don't know why.

    Can someone help me ?

     
  • Steven Shiau

    Steven Shiau - 2009-12-09

    Are you running DRBL SSI mode?
    If so, after you change etc/diskless-image/config, you have to run

    /opt/drbl/sbin/drbl-gen-ssi-files

    again.

    Steven.

     
  • Anonymous

    Anonymous - 2009-12-09

    Yes, i'm running DRBL SSI and Clonezilla Box mode.

    Tried drbl-gen-ssi-files, but it does not seem to resolve it.

    I was searching trough the scripts and tried to launch drbl-gen-client-files for each new client, but it does not work too.

    Each time is am stuck with this 10.0.0.1 as the NFS server.

     
  • Steven Shiau

    Steven Shiau - 2009-12-09

    Please show me the exact messages shown on the client's screen about "Each time is am stuck with this 10.0.0.1 as the NFS server".

    Steven.

     
  • Serge

    Serge - 2010-08-05

    Hello,
    Sorry to hack the post but I had the same problem.
    I found out in the script file /tftpboot/node_root/sbin/init my problem

    My drbl-nfs server is not in the same subnet (class B) as the client and I'm not using the drbl dhcp
    I changed 'cut -d"." -f1-3' by 'cut -d"." -f1-2' twice near the $NFSSERVER_LIST
    and it take my drbl-nfs server in place of the gateway
    Now is it the thing to do…

    Serge

     
  • Steven Shiau

    Steven Shiau - 2010-08-05

    Yes, hacking that might work.

    Steven.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.