I'm close to doing my first installation, and I want advice about
how to set up software RAID on the compute nodes.  It appears that
I want to customize the image's autoinstallscript.conf file.
Is that OK, or is there some action I can take before the image
is built?

I put together a file which can be seen below.  There are two disks
of 300 MB each.  The plan is to take 32 MB of each for swap and
mirror the two remaining partitions as a single / file system.
Is it OK to make the RAID bootable like this?  What is the boel
devstyle?  I have seen both udev and static used in examples.

<config>
         <disk dev="/dev/hda" label_type="msdos"
             unit_of_measurement="MB">
                 <part num="1" size="*" p_type="primary"
                    flags="boot,raid" />
                 <part num="2" size="32768" p_type="swap" />
         </disk>
         <disk dev="/dev/hdb" label_type="msdos"
             unit_of_measurement="MB">
                 <part num="1" size="*" p_type="primary"
                     flags="boot,raid" />
                 <part num="2" size="32768" p_type="swap" />
         </disk>

         <raid name="/dev/md0"
                 raid_level="raid1"
                 raid_devices="2"
                 spare_devices="0"
                 persistence="yes"
                 devices="/dev/sda1 /dev/sdb1"
         </>

         <fsinfo line="100" real_dev="/dev/md0" mp="/" fs="ext3"
             options="defaults" dump="1" pass="1" />
         <fsinfo line="110" real_dev="/dev/hda2" mp="swap" fs="swap"
             options="defaults" dump="0" pass="0" />
         <fsinfo line="120" real_dev="/dev/hdb2" mp="swap" fs="swap"
             options="defaults" dump="0" pass="0" />
         <fsinfo line="130" real_dev="/dev/shm" mp="/dev/shm" fs="tmpfs"
             options="defaults" dump="1" pass="2" />
         <fsinfo line="140" real_dev="/dev/fd0" mp="/mnt/floppy"
             fs="auto" options="noauto,owner" dump="0" pass="0" />
         <fsinfo line="150" real_dev="none" mp="/dev/pts" fs="devpts"
             options="defaults" dump="0" pass="0" />
         <fsinfo line="160" real_dev="none" mp="/proc" fs="proc"
             options="defaults" dump="0" pass="0" />
         <fsinfo line="170" real_dev="nfs_oscar:/home" mp="/home"
             fs="nfs" options="rw" dump="0" pass="0" />
         <boel devstyle="udev" />
</config>

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to