[opensuse-autoinstall] Partition, rules and classes
Hi, I am using autoyast to set up systems that are going to be very similar, but only the amount of drives will be different. They will have one drive for the OS and the remaining for data, for example: - 2 drives, 1 data drive - 3 drives, 2 data drives using RAID1 - 5 drives, 3 data drives using RAID5 + a hot spare. What I tried to do, but didn't work, was the following: The data drives are going to be part of an LVM VG called data, so I created a base class that has all the settings for the OS, partitioning on the OS drive, and partitioning on the /dev/data drive. Then I created a rules file, with one custom rule, that will count the amount of drives and based on the result will load an AutoYast xml that will only have the partitioning of the real phsyical drives (/dev/ sdb-sde) and the creation of the Volume Group with name data. This XML file will inherit from my base class. So, the end result was that the partitioning didn't work well. The drives /sdb-sde weren't used at all, and everything was created in / dev/sda. Basically nothing came out right. I tried using the don't merge directive and it didn't help much either. Currently I have removed the partitioning scheme from the base class and repeated everything in the different rule xmls and this seems to work ... But is not as nice from a maintenance point of view. My question is, can anyone suggest a way that I could make it work as I intended initially? In addition, I read on the documentation that you can make a drive part of a raid5 array and set it up as a hot spare, but I haven't found the syntax to do that. Any ideas on how to do that? Thanks, Pepe -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (1)
-
Pepe Barbe