Greetings,
I'm currently using systemimager 3.8.2 and would like to take advantage
of the lvm support that has been added. I've defined 2 partitions on
the disk and used the size="*" statement to specify that the second
partition should use all of the remaining space since I won't know the
size of the disk in advance. This partition will make up VolGroup00.
Within VolGroup00 I want to define a 2GB logical volume for swap and
use the remaining space in the volume group to create a logical volume
for /. Unfortunately the lv statement doesn't seem to recognize
size="*" as the part statement does. Omitting the size= definition
doesn't seem to work either. Is there any other way to accomplish this
without knowing the size of the physical disk?
Frank
<config>
<disk dev="/dev/cciss/c0d0" label_type="msdos"
unit_of_measurement="MB">
<part num="1" size="147" p_type="primary" p_name="-"
flags="boot" />
<part num="2" size="*" p_type="primary" p_name="-" flags="lvm"
lvm_group="VolGroup00"/>
</disk>
<lvm>
<lvm_group name="VolGroup00" max_log_vols="0" max_phys_vols="0"
phys_extent_size="4096K">
<lv name="LogVol00" size="*" />
<lv name="LogVol01" size="2048M" />
</lvm_group>
</lvm>
<fsinfo line="10" comment="# This file is edited by fstab-sync - see
'man fstab-sync' for details" />
<fsinfo line="20" real_dev="/dev/VolGroup00/LogVol00" mp="/"
fs="ext3" options="defaults" dump="1" pass="1" />
<fsinfo line="30" real_dev="/dev/cciss/c0d0p1"
mount_dev="LABEL=/boot" mp="/boot" fs="ext3" options="defaults"
dump="1" pass="2" />
<fsinfo line="40" real_dev="none" mp="/dev/pts" fs="devpts"
options="gid=5,mode=620" dump="0" pass="0" />
<fsinfo line="50" real_dev="none" mp="/dev/shm" fs="tmpfs"
options="defaults" dump="0" pass="0" />
<fsinfo line="60" real_dev="none" mp="/proc" fs="proc"
options="defaults" dump="0" pass="0" />
<fsinfo line="70" real_dev="none" mp="/sys" fs="sysfs"
options="defaults" dump="0" pass="0" />
<fsinfo line="80" real_dev="/dev/VolGroup00/LogVol01" mp="swap"
fs="swap" options="defaults" dump="0" pass="0" format="no" />
<fsinfo line="90" real_dev="/dev/hda" mp="/media/cdrom" fs="auto"
options="pamconsole,exec,noauto,managed" dump="0" pass="0" format="no"
/>
<boel devstyle="static"/>
</config>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users