Hello,
I’m able to deploy a machine with autoyast and create lvm, But When I try to add a raid configuration the installation failed.
Maybe because of a wrong setup partitioning with the installer.
Could I post the XML file ? Someone could help me with the autoyast ?
Regards
tsu2
December 5, 2020, 6:20am
2
Yes,
You should post your autoyast file, enclose it in
tags which are created by using the hash # button.
Note though that if you are deploying a machine with BTRFS (which is the default filesystem) that LVM is incompatible with BTRFS (BTRFS volumes are similar to, but not the same as LVM volumes) and if you try to set up software RAID, if using BTRFS you should probably implement BTRFS RAID and not mdadm RAID.
TSU
tsu2:
Yes,
You should post your autoyast file, enclose it in
tags which are created by using the hash # button.
Note though that if you are deploying a machine with BTRFS (which is the default filesystem) that LVM is incompatible with BTRFS (BTRFS volumes are similar to, but not the same as LVM volumes) and if you try to set up software RAID, if using BTRFS you should probably implement BTRFS RAID and not mdadm RAID.
TSU
Im trying with EXT3 LVM and mdadm
tsu2
December 5, 2020, 7:49pm
4
Cool.
Post details and eyes will probably identify whatever the problem is.
TSU
<?xml version="1.0"?>
<partitioning config:type="list">
<drive>
<device>/dev/md0</device>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<raid_options>
<chunk_size>0B</chunk_size>
<device_order config:type="list">
<device>/dev/mapper/3600a098038304168635d4d6358354c37-part1</device>
<device>/dev/mapper/3600a0980383047592d3f4d656b306f56-part1</device>
</device_order>
<parity_algorithm>default</parity_algorithm>
<raid_type>raid1</raid_type>
</raid_options>
<type config:type="symbol">CT_MD</type>
</drive>
<drive>
<device>/dev/md1</device>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<raid_options>
<chunk_size>0B</chunk_size>
<device_order config:type="list">
<device>/dev/mapper/3600a098038304758792b4d646e4e356c-part2</device>
<device>/dev/mapper/3600a09803830475944244d646e4d4154-part2</device>
</device_order>
<parity_algorithm>default</parity_algorithm>
<raid_type>raid1</raid_type>
</raid_options>
<type config:type="symbol">CT_MD</type>
</drive>
<drive>
<device>/dev/vgswapvol</device>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">false</format>
<lv_name>lv_swap</lv_name>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>21336424448</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
</partitions>
<pesize>4194304</pesize>
<type config:type="symbol">CT_LVM</type>
</drive>
<drive>
<device>/dev/vgsysvol</device>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<fstopt>data=ordered,acl,user_xattr</fstopt>
<lv_name>lv_home</lv_name>
<mount>/home</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>10737418240</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<fstopt>data=ordered,acl,user_xattr</fstopt>
<lv_name>lv_var</lv_name>
<mount>/var</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>8589934592</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<lv_name>lv_tmp</lv_name>
<mount>/tmp</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>4294967296</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<fstopt>acl,user_xattr</fstopt>
<lv_name>lv_root</lv_name>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>45097156608</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<lv_name>lv_usr</lv_name>
<mount>/usr</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>8589934592</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
<partition>
<create config:type="boolean">true</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<fstopt>data=ordered,acl,user_xattr</fstopt>
<lv_name>lv_opt</lv_name>
<mount>/opt</mount>
<mountby config:type="symbol">device</mountby>
<pool config:type="boolean">false</pool>
<resize config:type="boolean">false</resize>
<size>4294967296</size>
<stripes config:type="integer">1</stripes>
<stripesize config:type="integer">0</stripesize>
</partition>
</partitions>
<pesize>4194304</pesize>
<type config:type="symbol">CT_LVM</type>
</drive>
<drive>
<device>/dev/mapper/3600a098038304168635d4d6358354c37</device>
<disklabel>gpt</disklabel>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<raid_name>/dev/
</raid_name>
<resize config:type="boolean">false</resize>
<size>21473771008</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<device>/dev/mapper/3600a098038304758792b4d646e4e356c</device>
<disklabel>gpt</disklabel>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">65</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<resize config:type="boolean">false</resize>
<size>2097152</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<raid_name>/dev/md1</raid_name>
<resize config:type="boolean">false</resize>
<size>96633601536</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<device>/dev/mapper/3600a0980383047592d3f4d656b306f56</device>
<disklabel>gpt</disklabel>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<raid_name>/dev/md0</raid_name>
<resize config:type="boolean">false</resize>
<size>21473771008</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<device>/dev/mapper/3600a09803830475944244d646e4d4154</device>
<disklabel>gpt</disklabel>
<enable_snapshots config:type="boolean">false</enable_snapshots>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">65</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<resize config:type="boolean">false</resize>
<size>2097152</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<raid_name>/dev/md1</raid_name>
<resize config:type="boolean">false</resize>
<size>96633601536</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<device>441-nfs2.net:/01/</device>
<disklabel>none</disklabel>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">false</create>
<fstopt>rw,soft,intr,user</fstopt>
<mount>/share</mount>
<mountby config:type="symbol">device</mountby>
<resize config:type="boolean">false</resize>
</partition>
</partitions>
<type config:type="symbol">CT_NFS</type>
<use>all</use>
</drive>
</partitioning>
<printer>
<client_conf_content>
<file_contents><!CDATA# CUPS client configuration file (optional).
I hope, I posted only the partitioning part
Do you have any error message?
That does not look right.
It is always better to make available the whole file. For one, it allows downloading and more comfortably reading it than what is possible in web interface. And it ensures there are now accidental formatting errors. And sections may have dependencies (at least global part affects everything else).
Upload to https://susepaste.org/ and post link. And it certainly makes sense to upload both working file and modified version that does not work.
link to download the code : https://susepaste.org/60482425
I generated the xml file with : yast clone_system [FONT=arial]on a valid system installed manually
error message is : https://i.ibb.co/z7357JX/error-yast.jpg
I ran ssh before the installation to checked the log file during the installation but the log gave me the same information
[/FONT]
It still has the same problem I quoted so it was not copy-paste error.
sorry, what do you mean ?
tsu2
December 6, 2020, 5:38pm
11
Hi,
The first thing I noticed in your yastlog is that you’re installing a SLES/SLED product which is different than openSUSE which is what this Forum supports.
Although there is some crossover, I can’t be certain that what we say in this Forum will work in your situation.
I recommend you repost your question in the SLES forums where you’ll get accurate information
https://forums.opensuse.org/forumdisplay.php/790-SUSE-Linux-Forums
TSU