[opensuse-autoinstall] RAID 1 and LVM Autoinstall issue on SL 10.0
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@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 01.02.2008 um 19:29 schrieb Bart Wahlgren:
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
your XML is quite wrong. Please check http://www.suse.de/~ug there is an example that comes very close to what you want ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
----- Original Message ----- From: "Uwe Gansert" <ug@suse.de> To: <opensuse-autoinstall@opensuse.org> Sent: Wednesday, February 06, 2008 8:21 AM Subject: Re: [opensuse-autoinstall] RAID 1 and LVM Autoinstall issue on SL 10.0 Am 01.02.2008 um 19:29 schrieb Bart Wahlgren:
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
your XML is quite wrong. Please check http://www.suse.de/~ug there is an example that comes very close to what you want ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug Thanks Uwe I think that got me closer. I'm getting the System error code -6002 which I see has a bug fix which I have downloaded. My question is how do I apply that fix if I'm installing from DVD and not an install server? I wanted to make sure I was able to get autoyast to work before building the install server so I've been putting the autoinst.xml file on a floppy. Bart -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Bart Wahlgren
-
Uwe Gansert