Mailinglist Archive: opensuse-autoinstall (72 mails)

< Previous Next >
[opensuse-autoinstall] RAID 1 and LVM Autoinstall issue on SL 10.0
  • From: "Bart Wahlgren" <bwahlgren@xxxxxxxxxxxxxxx>
  • Date: Fri, 1 Feb 2008 12:29:26 -0600
  • Message-id: <241717FCF716434293A05189A0C14C23@xxxxxxxxx>
Hello All

I'm working on creating an auto-installation profile for servers that we use at my employers. Here is the my desired drive configuration from the machine I wish to duplicate:

Device Size Type Mount
/dev/sda1 133.3M Linux RAID
/dev/sda2 186.1G Linux RAID
/dev/sdb1 133.3M Linux RAID
/dev/sdb2 186.1G Linux RAID
/dev/md0 133.2M MD Raid /boot
/dev/md1 186.1G MD Raid
/dev/system 186.1G LVM2 system
/dev/system/root 153.1G LV /
/dev/system/swap 1.0G LV swap
/dev/system/tmp 16.0G LV /tmp
/dev/system/var 16.0G LV /var

It appears to be doing an install the gui shows files being copied but I've noticed that there is no hard drive activity. After a few minutes of doing that the install locks up.

Once this is locked I don't have any logs to show what went wrong is there a way to start autoyast in debug?

When the machine is rebooted an fdisk utility shows that the RAID partitions have been created.

What am I doing wrong?

Thank you in advance for your assistance.

Partitioning section of the control file.

<partitioning config:type="list">
<drive>
<device>/dev/md1</device>
<lvm_group>system</lvm_group>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<lv_name>root</lv_name>
<mount>/</mount>
<size>max</size>
</partition>
<partition>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<lv_name>swap</lv_name>
<mount>swap</mount>
<size>1gb</size>
</partition>
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<lv_name>tmp</lv_name>
<mount>/tmp</mount>
<size>16gb</size>
</partition>
<partition>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">true</format>
<lv_name>var</lv_name>
<mount>/var</mount>
<size>16gb</size>
</partition>
</partitions>
<pesize>4M</pesize>
<type config:type="symbol">CT_LVM</type>
<use>all</use>
</drive>
<drive>
<device>/dev/sdb</device>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<crypt>twofish256</crypt>
<filesystem config:type="symbol">unknown</filesystem>
<format config:type="boolean">false</format>
<loop_fs config:type="boolean">false</loop_fs>
<mount></mount>
<partition_id config:type="integer">253</partition_id>
<raid_name>/dev/md0</raid_name>
<raid_options>
<chunk_size>4096</chunk_size>
<raid_type>raid1</raid_type>
</raid_options>
<size>+128Mb</size>
<use>1</use>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt>twofish256</crypt>
<format config:type="boolean">false</format>
<loop_fs config:type="boolean">false</loop_fs>
<partition_id config:type="integer">253</partition_id>
<raid_name>/dev/md1</raid_name>
<raid_options>
<chunk_size>4096</chunk_size>
<raid_type>raid1</raid_type>
</raid_options>
<size>max</size>
<use>2</use>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
</drive>
<drive>
<device>/dev/sda</device>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<crypt>twofish256</crypt>
<filesystem config:type="symbol">unknown</filesystem>
<format config:type="boolean">false</format>
<loop_fs config:type="boolean">false</loop_fs>
<mount></mount>
<partition_id config:type="integer">253</partition_id>
<raid_name>/dev/md0</raid_name>
<raid_options>
<chunk_size>4096</chunk_size>
<raid_type>raid1</raid_type>
</raid_options>
<size>+128mb</size>
<use>1</use>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt>twofish256</crypt>
<format config:type="boolean">false</format>
<loop_fs config:type="boolean">false</loop_fs>
<partition_id config:type="integer">253</partition_id>
<raid_name>/dev/md1</raid_name>
<raid_options>
<chunk_size>4096</chunk_size>
<raid_type>raid1</raid_type>
</raid_options>
<size>max</size>
<use>2</use>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
</drive>
</partitioning>

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

< Previous Next >
Follow Ups