[opensuse] Create network bridge within initrd?
Hello all, I am working with some HP Blade servers that we are iSCSI booting off a SAN. We'd like to use network bridges for Xen DomUs to connect to, but currently SLE11 SP1 boots with only eth0 active; The interface was setup by the HP iSCSI boot ROM. Unfortunately defining a bridge in /etc/sysconfig/network/ifcfg-br* doesn't work because /etc/init.d/network takes down eth0 in the process and we lose disk access (/ is iSCSI virtual disk). My workaround has been to write an init script that creates a ramdisk and copies over the binaries required to setup the bridge. The iSCSI timeout is such that being without / for the 20 or so seconds it takes to run my init script doesn't cause the iSCSI initiator to disconnect. However, my init script is a hack; using initrd would be better as initrd is already a ramdisk. Looking inside the initrd for 2.6.32.36-0.5 I see that the SuSE scripts support bonding, but not bridging. Has anyone modified the mkinitrd scripts to allow for bridge initialization within initrd? I don't have much experience with editing initrd scripts, so I thought I'd ask on the list before I tried to patch anything. Thanks, Hal Martin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Hal Martin