I've made a new SystemImager version 3.8.0 server (we have older versions on other systems) and it worked more or less out of the box. However, an old SystemImager problem came up which I thought was solved long ago:
The Golden Client runs CentOS 4.4 (RHEL4 clone) and has this line in /etc/fstab defining the swap partition: LABEL=SWAP-hda2 swap swap defaults 0 0 However, when the si_getimage is done a .master script has been created which doesn't format a swap partition in /dev/hda2, so when the cloned client comes up it has no swap space :-( It seems to me that there must still be a bug in SystemImager 3.8.0 regarding LABEL=SWAP-xxx partitions. However, Andrea claimed that this had been fixed in 3.7.4: http://sourceforge.net/mailarchive/message.php?msg_id=36855405 I know the workaround of replacing LABEL=SWAP by /dev, but I'd like to get the real, permanent solution working. FYI, the generated .master script contains these sections which ought to define the swap space: logmsg "Creating partition ${DISK0}2." START_MB=$END_OF_LAST_PRIMARY END_MB=$(( $DISK_SIZE - 0 )) logmsg "parted -s -- $DISK0 mkpart primary linux-swap $START_MB $END_MB || shellout" parted -s -- $DISK0 mkpart primary linux-swap $START_MB $END_MB || shellout END_OF_LAST_PRIMARY=$END_MB .... ### BEGIN swap and filesystem creation commands ### logmsg "mke2fs -q -j ${DISK0}1 || shellout" mke2fs -q -j ${DISK0}1 || shellout logmsg "tune2fs -L / ${DISK0}1" tune2fs -L / ${DISK0}1 logmsg "mkdir -p /a/ || shellout" mkdir -p /a/ || shellout logmsg "mount ${DISK0}1 /a/ -t ext3 -o defaults || shellout" mount ${DISK0}1 /a/ -t ext3 -o defaults || shellout ### END swap and filesystem creation commands ### The autoinstallscript.conf contains: <config> <disk dev="/dev/hda" label_type="msdos" unit_of_measurement="MB"> <!-- This disk's output was brought to you by the partition tool "sfdisk", and by the numbers 4 and 5 and the letter Q. --> <part num="1" size="8510" p_type="primary" p_name="-" flags="boot" /> <part num="2" size="*" p_type="primary" p_name="-" flags="swap" /> </disk> <fsinfo line="10" comment="# This file is edited by fstab-sync - see 'man fstab-sync' for details" /> <fsinfo line="20" real_dev="/dev/hda1" mount_dev="LABEL=/" mp="/" fs="ext3" options="defaults" dump="1" pass="1" /> <fsinfo line="30" real_dev="none" mp="/dev/pts" fs="devpts" options="gid=5,mode=620" dump="0" pass="0" /> <fsinfo line="40" real_dev="none" mp="/dev/shm" fs="tmpfs" options="defaults" dump="0" pass="0" /> <fsinfo line="50" real_dev="none" mp="/proc" fs="proc" options="defaults" dump="0" pass="0" /> <fsinfo line="60" real_dev="none" mp="/sys" fs="sysfs" options="defaults" dump="0" pass="0" /> <fsinfo line="70" mount_dev="LABEL=SWAP-hda2" mp="swap" fs="swap" options="defaults" dump="0" pass="0" format="no" /> <fsinfo line="80" real_dev="/dev/hdc" mp="/media/cdrom" fs="auto" options="pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed" dump="0" pass="0" format="no" /> <fsinfo line="90" real_dev="/dev/fd0" mp="/media/floppy" fs="auto" options="pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed" dump="0" pass="0" format="no" /> <boel devstyle="udev"/> </config> Please Cc: your answers also to my E-mail because I received the list in digested form with a multi-day delay. Also, the list archive is several weeks behind (last message is from Feb. 22) and is therefore pretty useless :-( Thanks a lot, Ole -- Ole Holm Nielsen Department of Physics, Technical University of Denmark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
