Mike,

SystemImager always formats swap and filesystem partitions only if
they're active on the golden client. A partition is active if it's
mounted on the golden client and a swap partition is active only if the
golden client is using it. Look in Common.pm, function
get_active_swaps_by_dev(): the command `swapon -s` is used to check if a
swap partition is active or not.

What's the output of `swapon -s` in your golden client?

Best regards,
-Andrea

Mike Brady wrote:
> I have been having a problem with swap not being created on new
> installations.
> 
> I think that I have tracked it down to the si_prepareclient command
> creating the autoinstallscript.conf file with swap partitions with a
> setting of format="no".
> 
> The loop that creates the commands in the master scripts (in Server.pm)
> skips all fsinfo lines in the autoinstallscript.conf file if they have
> format="no", which means that the mkswap and swapon lines never get put
> in the master script.
> 
> Manually changing the format="no" to format="yes"  seems to resolve the
> problem.  Well the mkswap and swapon commands are now in the master
> script like they should be, I haven't actually done an install to test
> it yet.
> 
> My swap is on an LVM partion as is my root partition.  The LVM Volume
> Groups and Logical Volumes are all created correctly, as is fstab and
> all other file systems.  The OS is Centos 4.4.
> 
> What is the intended logic here?
> 
> Should the prepareclient script be creating entries for swap partitions
> with a format="yes"
> 
> or
> 
> should the mkautoinstallscript script not be skipping swap partitions
> with a format="no" entry?
> 
> 
> Regards
> 
> Mike

-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to