dellcloudedge/barclamp-redhat-install — pull request #1 by bpezan (2012-01-27 22:50:35+00:00)
Title: disk partitioning of nodes

this may not be valuable to anyone other than those running the Dell Hadoop RA. the slave nodes in the RA are configured with 12 1TB data drives. by default the compute.ks installs to /dev/sda which, in many cases is one of the 1TB drives. this means the loss of a spindle and a lot of wasted space. we opted to install a 160GB SATA drive connected to the onboard ports. this patch ensures that the OS and MBR are installed onto the smaller onboard SATA drive instead of the larger 1TB drive. if all drives are the same size the partitioning falls back to the default scheme. this logic is done in the kickstart %pre section, which is now logged to /root/pre-install.log just like the %post section is. the output of the disk logic is stored in /tmp/diskpart and included at the top of the kickstart.

thankfully the hadoop barclamp didn't require any modifications to ensure that it used all the 1TB drives. it appears to format and use any un-configured disks left.