Mailinglist Archive: opensuse-autoinstall (50 mails)

< Previous Next >
[opensuse-autoinstall] LVM partitioning on multiple drives without specifying device
Hello,

I'm trying to create an autoinstall configuration that's as generic as
possible. It'll be used on VMware, Xen and on physical machines with two
drives. The problem I have is that I can't create the partitioning
scheme without specifying <device>/dev/xvda</device>
and <device>/dev/xvdb</device>. Anyone know if it's possible to
configure this so that it automatically figures this out?

Thanks,
Magnus

<partitioning config:type="list">
<drive>
<device>/dev/system</device>
<lvm2 config:type="boolean">true</lvm2>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<lv_name>root</lv_name>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
<size>3393191936</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<lv_name>swap</lv_name>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<size>805306368</size>
</partition>
</partitions>
<pesize>4M</pesize>
<type config:type="symbol">CT_LVM</type>
<use>all</use>
</drive>
<drive>
<device>/dev/tmp</device>
<lvm2 config:type="boolean">true</lvm2>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<lv_name>tmp</lv_name>
<mount>/tmp</mount>
<mountby config:type="symbol">device</mountby>
<size>1069547520</size>
</partition>
</partitions>
<pesize>4M</pesize>
<type config:type="symbol">CT_LVM</type>
<use>all</use>
</drive>
<drive>
<device>/dev/xvda</device>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext2</filesystem>
<format config:type="boolean">true</format>
<mount>/boot</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<partition_type>primary</partition_type>
<size>57544192</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<lvm_group>system</lvm_group>
<partition_id config:type="integer">142</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<partition_type>primary</partition_type>
<size>4203118080</size>
</partition>
</partitions>
<use>all</use>
</drive>
<drive>
<device>/dev/xvdb</device>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<lvm_group>tmp</lvm_group>
<partition_id config:type="integer">142</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<partition_type>primary</partition_type>
<size>4285338112</size>
</partition>
</partitions>
<use>all</use>
</drive>
</partitioning>


--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups