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>
On Sunday 11 May 2008 01:32, Magnus Boman wrote:
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?
If you leave out the device line it should make an reasonable guess.
On Thu, 2008-05-15 at 14:00 +0100, Simon Crute wrote:
On Sunday 11 May 2008 01:32, Magnus Boman wrote:
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?
If you leave out the device line it should make an reasonable guess.
I tried that but it gives me an error, and ends up only creating partitions on the first device.
-- Simon Crute IS&T. Bracknell. UK.
Cheers, Magnus
Sles 10 or sles10 sp1? There was a bug in the GA version that looks like it was fixed in sp1.
-----Original Message----- From: Magnus Boman [mailto:captain.magnus@gmail.com] Sent: Thursday, May 15, 2008 11:35 AM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] LVM partitioning on multiple driveswithout specifying device
On Thu, 2008-05-15 at 14:00 +0100, Simon Crute wrote:
On Sunday 11 May 2008 01:32, Magnus Boman wrote:
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?
If you leave out the device line it should make an reasonable guess.
I tried that but it gives me an error, and ends up only creating partitions on the first device.
-- Simon Crute IS&T. Bracknell. UK.
Cheers, Magnus
On Thu, 2008-05-15 at 11:54 -0500, Stephens, Bill {PBSG} wrote:
Sles 10 or sles10 sp1? There was a bug in the GA version that looks like it was fixed in sp1.
SLES10SP1. Perhaps it's only a problem in Xen? Have not tried with anything else.
-----Original Message----- From: Magnus Boman [mailto:captain.magnus@gmail.com] Sent: Thursday, May 15, 2008 11:35 AM To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] LVM partitioning on multiple driveswithout specifying device
On Thu, 2008-05-15 at 14:00 +0100, Simon Crute wrote:
On Sunday 11 May 2008 01:32, Magnus Boman wrote:
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?
If you leave out the device line it should make an reasonable guess.
I tried that but it gives me an error, and ends up only creating partitions on the first device.
-- Simon Crute IS&T. Bracknell. UK.
Cheers, Magnus
On Thursday 15 May 2008, Magnus Boman wrote:
SLES10SP1. Perhaps it's only a problem in Xen? Have not tried with anything else.
SLES10 can only guess one device. You have to use pre-scripts to fill out the values in the XML by your own. Autoyast can guess all empty devices correctly since 10.2
autoinstall@lists.opensuse.org