I’m trying to setup my autoyast profile to make 2 vg’s (from 2 pv’s) and 2 lv’s. For some reason even though I am specifying 2 different vg’s for each pv that is being created, it is sticking each pv in the same vg.
OpenSuse 11.1 autoyast profile has:
<drive>
<device>/dev/sdb</device>
<partitions config:type="list">
<partition>
<lvm_group>vg00</lvm_group>
<partition_type>primary</partition_type>
<size>max</size>
</partition>
</partitions>
<use>all</use>
</drive>
<drive>
<device>/dev/sdc</device>
<partitions config:type="list">
<partition>
<lvm_group>vg01</lvm_group>
<partition_type>primary</partition_type>
<size>max</size>
</partition>
</partitions>
<use>all</use>
</drive>
<drive>
<device>/dev/vg00</device>
<type config:type="symbol">CT_LVM</type>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<lv_name>data_lv</lv_name>
<mount>/u01</mount>
<size>max</size>
</partition>
</partitions>
<pesize>4M</pesize>
<use>all</use>
</drive>
Once the system is completely installed I get:
~ # pvdisplay
--- Physical volume ---
PV Name /dev/sdb1
VG Name vg00
PV Size 8.00 GB / not usable 1.35 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 2047
Free PE 0
Allocated PE 2047
PV UUID 5HIbM0-8dko-236G-M2Fz-sk2U-uOSF-e5auIP
--- Physical volume ---
PV Name /dev/sdc1
VG Name vg00
PV Size 8.00 GB / not usable 1.35 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 2047
Free PE 2
Allocated PE 2045
PV UUID ntETdy-qWZT-MucJ-Kyni-2Tc9-wUBX-wImsrV
Anyone have a workaround or am I missing something in my xml file?