Tory M Blue wrote: > So I've created my own autoinstallscript.conf file and ran a > si_mkautoinstallscript against it and my image appears to create all > the various MD devices and syncs them up (this process takes about 3 > hours+ to lay down the image due to all the sync'n that's going on).
I think you can tune the sync speed via /proc/sys/dev/raid/speed_limit_min and /proc/sys/dev/raid/speed_limit_max using a SystemImager pre-install script (see /var/lib/systemimager/scripts/pre-install/README). Just set a small value for both options, in this way the complete sync will be done after the first reboot of your image. BTW if you changed the autoinstallscript.conf manually I suppose your golden client didn't use software RAID volumes, right? > > But I'm running into the famed: > mount: could not find filesystem '/dev/root' Probably the initrd in your image doesn't have the raid1 module; this depends if your golden client uses software RAID volumes or not (see the question above). > > Now the image process works, I have md devices etc etc. I have even > created (although not needed (as far as I can tell) a new initrd.img, > preloading raid1 and with raid1. I even see the system loading the > raid1 module early on, but I never see any mention of MD or md devices > on initial reboot after the install. You don't need to preload the raid1 module in the SystemImager initrd.img, since AFAIU the imaging process correctly creates the MD devices. > > Now this never came from a golden client! This is basically my > standard image with a custom autoinstallscript.conf, (included here > since Andrea will ask for it :)), to add softmirror raid to an admin > node. well... I would prefer to see the autoinstallscript.conf... :-) > > My kernel version of my image is: 2.6.18-1.2798.fc6PAE and it appears > to be compiled with MD: > # Multi-device support (RAID and LVM) > # > CONFIG_MD=y > CONFIG_BLK_DEV_MD=y > CONFIG_MD_LINEAR=m > CONFIG_MD_RAID0=m > CONFIG_MD_RAID1=m > CONFIG_MD_RAID10=m > CONFIG_MD_RAID456=m > > And since I am preloading raid1, my kernel should be able to find the > MD device (should!). But for some reason it's not. I'm not sure if > it's an issue with my initrd or my kernel (have a hard time believing > either), or because I did not create a GoldenClient, I am missing > something that should be in the image that is required during the > "create / mount root filesystem option on restart?). /etc/raidtab file > (was hoping that systemimager would create that, but I don't see that > happening). Have you tried to add the raid1 module in /etc/sysconfig/mkinitrd and re-create the initrd in your golden client (by mkinitrd)? you also need to clone the image again by si_getimage. Otherwise, you could try to run mkinitrd in a post-install script, changing the /etc/sysconfig/mkinitrd directly in your image before (add the raid1 module to the modules list). IMHO this second approach is much simpler. -Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ sisuite-users mailing list sisuite-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-users