stevenshiau / clonezilla

Clonezilla is a partition or disk clone tool similar to Norton Ghost®. It saves and restores only used blocks in hard drive. Two types of Clonezilla are available, Clonezilla live and Clonezilla SE (Server Edition).
GNU General Public License v2.0
572 stars 90 forks source link

NFS Server is DHCP #3

Open AlexisLessard opened 9 years ago

AlexisLessard commented 9 years ago

Hi! Congrats on your software, btw. So, I think I found a flaw, or i'd recommend something. When the client is loading, and it is trying to mount the software, the nfs server address , $nfsserver in setup/files/misc/init.drbl is usually the dhcp address, since drbl is suppose to be the dhcp server. However, in my setting drbl is not the dhcp. I am only using it as a PXE server. And from a couple of forums I saw, i'm not the only one. I saw that some filesystem could be mounted correctly with that setting, like /tftpboot/node_root. So, do you think that instead of using the dhcp server address as the $nfsserver variable, you could be using the pxe address that you used for mounting /tftpboot/node_root? In most cases where drbl is the dhcp server, it won't change anything, since drbl is the pxe AND the dhcp. And it cases where drbl is not the dhcp, it won't change anything either since the pxe is the drbl server, and there's nothing on the dhcp. Also, before booting a client, I ran the mknic-nbi -c n command, so that the loading wouldn't stop because it wouldn't receive and address from drbl. So, what do you say? I could change it, but I can't seem to find where the pxe address is set in the code :/.

zalnasser commented 8 years ago

I too am affected by the issue of DRBL assuming the DHCP server is the NFS server.