From: Mark H. <hla...@at...> - 2007-11-06 12:42:49
|
> I'm having a problem with the way the ifcfg-eth* files are being handled > for the initrd. My ifcfg-eth1 file doesn't get transferred across > verbatim. This is a problem because I have to explicitly specify the > HWADDR in my ifcfg files (therwise they come up on wrong subnets). The initrd creates new ifcfg-ethX files for the defined ethernet interface for its internal use. I.e. for all <eth /> entries for the node in the cluster.conf. These file are only valid inside the initrd. > > It looks as if mkinitrd removes some lines from the file, and this causes > eth1 to be physical eth0, which puts it on the wrong subnet, and that > means it can't see the iSCSI shares. :-( > > I checked the /etc/sysconfig/network-scripts/ifcfg-eth1 in the initrd, and > it is indeed lacking the HWADDR line (and a few others). > > Am I missing something here? Does mkinitrd mangle the ifcfg-eth* files? The mkinitd does not modify the ifcfg-ethX files. If you want to define the HWADDR parameter in the ifcfg-ethX files, you have to make them hostdependent. Mark -- Gruss / Regards, Dipl.-Ing. Mark Hlawatschek http://www.atix.de/ http://www.open-sharedroot.org/ ** ATIX Informationstechnologie und Consulting AG Einsteinstr. 10 85716 Unterschleissheim Deutschland/Germany |