Dennis, Thanks, your SALI fix enabled us to pull the script from the server. Now using a SI master script modified for SALI, I'm getting warnings about partition alignment, and a partition creation failure which halts the whole process. Screenshots are at <http://cbio.mskcc.org/~pepper/si/>.
Any suggestions? Thanks, Chris Here's the relevant snippet of the failing script: > if [ -z $DISKORDER ] ; then > DISK0=/dev/cciss/c0d0 > elif [ -z $DISK0 ] ; then > echo "Undefined: DISK0" > shellout > fi > ### BEGIN partition $DISK0 ### > logmsg "Partitioning $DISK0..." > logmsg "Old partition table for $DISK0:" > parted -s -- $DISK0 print > > # Wipe the MBR (Master Boot Record) clean. > logmsg "dd if=/dev/zero of=$DISK0 bs=512 count=1 || shellout" > dd if=/dev/zero of=$DISK0 bs=512 count=1 || shellout > > # Re-read the disk label. > logmsg "blockdev --rereadpt $DISK0" > blockdev --rereadpt $DISK0 > > # Create disk label. This ensures that all remnants of the old label, > whatever > # type it was, are removed and that we're starting with a clean label. > logmsg "parted -s -- $DISK0 mklabel msdos || shellout" > parted -s -- $DISK0 mklabel msdos || shellout > > # Get the size of the destination disk so that we can make the partitions fit > properly. > DISK_SIZE=$(get_disksize $DISK0) > [ -z $DISK_SIZE ] && shellout > if [ "$ARCH" = "alpha" ]; then > END_OF_LAST_PRIMARY=1 > else > END_OF_LAST_PRIMARY=0 > fi > > > logmsg "Creating partition ${DISK0}p1." > START_MB=$END_OF_LAST_PRIMARY > END_MB=$(echo "scale=3; ($START_MB + 270.97)" | bc) > logmsg "parted -s -- $DISK0 mkpart primary $START_MB $END_MB || shellout" > parted -s -- $DISK0 mkpart primary $START_MB $END_MB || shellout > END_OF_LAST_PRIMARY=$END_MB > logmsg parted -s -- $DISK0 set 1 boot on || shellout > parted -s -- $DISK0 set 1 boot on || shellout > > logmsg "Creating partition ${DISK0}p2." > START_MB=$END_OF_LAST_PRIMARY > END_MB=$(echo "scale=3; ($START_MB + 8489)" | bc) > logmsg "parted -s -- $DISK0 mkpart primary $START_MB $END_MB || shellout" > parted -s -- $DISK0 mkpart primary $START_MB $END_MB || shellout > END_OF_LAST_PRIMARY=$END_MB > > logmsg "Creating partition ${DISK0}p3." > START_MB=$END_OF_LAST_PRIMARY > END_MB=$(echo "scale=3; ($START_MB + 8488)" | bc) > logmsg "parted -s -- $DISK0 mkpart primary $START_MB $END_MB || shellout" > parted -s -- $DISK0 mkpart primary $START_MB $END_MB || shellout > END_OF_LAST_PRIMARY=$END_MB > > logmsg "Creating partition ${DISK0}p4." > START_MB=$END_OF_LAST_PRIMARY > END_MB=$(echo "scale=3; ($START_MB + 129524)" | bc) > logmsg "parted -s -- $DISK0 mkpart extended $START_MB $END_MB || shellout" > parted -s -- $DISK0 mkpart extended $START_MB $END_MB || shellout > END_OF_LAST_PRIMARY=$END_MB > END_OF_LAST_LOGICAL=$START_MB > > logmsg "Creating partition ${DISK0}p5." > START_MB=$END_OF_LAST_LOGICAL > END_MB=$(echo "scale=3; ($START_MB + 4294)" | bc) > logmsg "parted -s -- $DISK0 mkpart logical $START_MB $END_MB || shellout" > parted -s -- $DISK0 mkpart logical $START_MB $END_MB || shellout > END_OF_LAST_LOGICAL=$END_MB > > logmsg "Creating partition ${DISK0}p6." > START_MB=$END_OF_LAST_LOGICAL > END_MB=$(echo "scale=3; ($START_MB + 125230)" | bc) > logmsg "parted -s -- $DISK0 mkpart logical $START_MB $END_MB || shellout" > parted -s -- $DISK0 mkpart logical $START_MB $END_MB || shellout > END_OF_LAST_LOGICAL=$END_MB > > logmsg "New partition table for $DISK0:" > logmsg "parted -s -- $DISK0 print" > parted -s -- $DISK0 print > ### END partition $DISK0 ### > > > > ### BEGIN software-RAID initialization commands -AR- ### > logmsg "Load software RAID modules." > modprobe linear > modprobe raid0 > modprobe raid1 > modprobe raid5 > modprobe raid6 > modprobe raid10 > ### END software-RAID initialization commands ### > > logmsg "Load device mapper driver (for LVM)." > modprobe dm-mod > > ### BEGIN LVM initialization commands -AR- ### > ### END LVM initialization commands ### > > ### BEGIN LVM groups creation commands -AR- ### > ### END LVM groups creation commands ### > > ### BEGIN LVM volumes creation commands -AR- ### > ### END LVM volumes creation commands ### > > logmsg "Load additional filesystem drivers." > modprobe ext2 > modprobe ext3 > modprobe fat > modprobe jfs > modprobe reiserfs > modprobe vfat > modprobe xfs > > ### BEGIN swap and filesystem creation commands ### > logmsg "mkswap ${DISK0}p2 -L SW-cciss/c0d0p2 || shellout" > mkswap ${DISK0}p2 -L SW-cciss/c0d0p2 || shellout > logmsg "swapon ${DISK0}p2 || shellout" > swapon ${DISK0}p2 || shellout > > logmsg "mke2fs -q -j ${DISK0}p3 || shellout" > mke2fs -q -j ${DISK0}p3 || shellout > logmsg "tune2fs -L / ${DISK0}p3" > tune2fs -L / ${DISK0}p3 > logmsg "mkdir -p /a/ || shellout" > mkdir -p /a/ || shellout > logmsg "mount ${DISK0}p3 /a/ -t ext3 || shellout" > mount ${DISK0}p3 /a/ -t ext3 || shellout > > logmsg "mke2fs -q -j ${DISK0}p6 || shellout" > mke2fs -q -j ${DISK0}p6 || shellout > logmsg "tune2fs -L /home ${DISK0}p6" > tune2fs -L /home ${DISK0}p6 > logmsg "mkdir -p /a/home || shellout" > mkdir -p /a/home || shellout > logmsg "mount ${DISK0}p6 /a/home -t ext3 || shellout" > mount ${DISK0}p6 /a/home -t ext3 || shellout > > logmsg "mke2fs -q -j ${DISK0}p5 || shellout" > mke2fs -q -j ${DISK0}p5 || shellout > logmsg "tune2fs -L /var ${DISK0}p5" > tune2fs -L /var ${DISK0}p5 > logmsg "mkdir -p /a/var || shellout" > mkdir -p /a/var || shellout > logmsg "mount ${DISK0}p5 /a/var -t ext3 || shellout" > mount ${DISK0}p5 /a/var -t ext3 || shellout > > logmsg "mke2fs -I 128 -q ${DISK0}p1 || shellout" > mke2fs -I 128 -q ${DISK0}p1 || shellout > logmsg "tune2fs -L /boot ${DISK0}p1" > tune2fs -L /boot ${DISK0}p1 > logmsg "mkdir -p /a/boot || shellout" > mkdir -p /a/boot || shellout > logmsg "mount ${DISK0}p1 /a/boot -t ext2 || shellout" > mount ${DISK0}p1 /a/boot -t ext2 || shellout > > ### END swap and filesystem creation commands ### -- Chris Pepper: <http://cbio.mskcc.org/> <http://www.extrapepperoni.com/> ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ sisuite-users mailing list sisuite-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-users