Title: RE: [Sisuite-devel] Missing Swap using 3.7.3 and 3.7.4 RH FC5

Swap is defined in the autoinstallscript.conf, but I guess the autoinstallscript wasn't properly generated.

I'm not too familiar with the LVM code, so perhaps Andrea can help you with this.

I suppose not using LVM is not an option...?

Cheers,

Bernard


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sun 20/08/2006 11:00
To: Bernard Li
Subject: RE: [Sisuite-devel] Missing Swap using 3.7.3 and 3.7.4  RH FC5


Attached find the file:

/var/lib/systemimager/images/IBMx336-FC5-lvm-image/etc/systemimager/autoinstallscript.conf


<!--

  autoinstallscript.conf
  vi:set filetype=xml:

  This file contains partition information about the disks on your golden
  client.  It is stored here in a generic format that is used by your
  SystemImager server to create an autoinstall script for cloning this
  system.

  You can change the information in this file to affect how your target
  machines are installed.  See "man autoinstallscript.conf" for details.

-->

<config>

  <disk dev="/dev/sda" 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="101"  p_type="primary"  p_name="-"  flags="boot"
/>
    <part  num="2"  size="*"  p_type="primary"  p_name="-"  flags="lvm"
lvm_group="VolGroup00" />
  </disk>


  <lvm version="2">
    <lvm_group name="VolGroup00" max_log_vols="0" max_phys_vols="0"
phys_extent_size="32768K">
      <lv name="LogVol00" size="75956224K" />
      <lv name="LogVol01" size="2031616K" />
    </lvm_group>
  </lvm>

  <fsinfo  line="10" real_dev="/dev/VolGroup00/LogVol00" mp="/"  fs="ext3"
options="defaults" dump="1" pass="1" />
  <fsinfo  line="20" real_dev="/dev/sda1" mount_dev="LABEL=/boot"
mp="/boot"  fs="ext3" options="defaults" dump="1" pass="2" />
  <fsinfo  line="30" real_dev="devpts" mp="/dev/pts"  fs="devpts"
options="gid=5,mode=620" dump="0" pass="0" />
  <fsinfo  line="40" real_dev="tmpfs" mp="/dev/shm"  fs="tmpfs"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="50" real_dev="proc" mp="/proc"  fs="proc"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="60" real_dev="sysfs" mp="/sys"  fs="sysfs"
options="defaults" dump="0" pass="0" />
  <fsinfo  line="70" real_dev="/dev/VolGroup00/LogVol01" mp="swap"
fs="swap" options="defaults" dump="0" pass="0"  format="no" />

  <boel devstyle="static"/>

</config>




                                                                          
             "Bernard Li"                                                 
             <[EMAIL PROTECTED]>                                               
                                                                        To
             08/20/2006 01:42          <[EMAIL PROTECTED]>       
             PM                                                         cc
                                                                          
                                                                   Subject
                                       RE: [Sisuite-devel] Missing Swap   
                                       using 3.7.3 and 3.7.4  RH FC5      
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          
                                                                          




Can you post your client image's /etc/systemimager/autoinstallscript.conf -
the image is stored in /var/lib/systemimager/images so the file I'm
referring to should be in your image server's:

/var/lib/systemimager/images/<image_name>/etc/systemimager/autoinstallscript.conf


Cheers,

Bernard


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of
[EMAIL PROTECTED]
Sent: Sun 20/08/2006 10:16
To: sisuite-devel@lists.sourceforge.net
Subject: [Sisuite-devel] Missing Swap using 3.7.3 and 3.7.4  RH FC5


I see the following Warnings when I execute si_prepareclient:

Welcome to the SystemImager si_prepareclient command.  This command may
modify
Welcome to the SystemImager si_prepareclient command.  This command may
modify
*********************************** WARNING
***********************************
Signaling xinetd to restart...
Using "sfdisk" to gather information about disk:
    /dev/sda

Warning: The partition table looks like it was made
  for C/H/S=*/255/63 (instead of 76323/64/32).
For this listing I'll assume that geometry.
WARNING: Couldn't find module "af_packet", assuming it's built into the
kernel.


Also, in the /var/lib/systemimager/scripts directory the image master file
does not contain anything to recreate the swap area see below:

### BEGIN swap and filesystem creation commands ###
logmsg "mke2fs -j /dev/VolGroup00/LogVol00 || shellout"
mke2fs -j /dev/VolGroup00/LogVol00 || shellout
logmsg "mkdir -p /a/ || shellout"
mkdir -p /a/ || shellout
logmsg "mount /dev/VolGroup00/LogVol00 /a/ -t ext3 -o defaults || shellout"
mount /dev/VolGroup00/LogVol00 /a/ -t ext3 -o defaults || shellout

logmsg "mke2fs -j ${DISK0}1 || shellout"
mke2fs -j ${DISK0}1 || shellout
logmsg "tune2fs -L /boot ${DISK0}1"
tune2fs -L /boot ${DISK0}1
logmsg "mkdir -p /a/boot || shellout"
mkdir -p /a/boot || shellout
logmsg "mount ${DISK0}1 /a/boot -t ext3 -o defaults || shellout"
mount ${DISK0}1 /a/boot -t ext3 -o defaults || shellout

### END swap and filesystem creation commands ###

Any ideas?

Thanks,

-John.


Attachment: graycol.gif
Description: graycol.gif

Attachment: pic62724.gif
Description: pic62724.gif

Attachment: ecblank.gif
Description: ecblank.gif

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to