Mailinglist Archive: opensuse-autoinstall (140 mails)

< Previous Next >
RE: [suse-autoinstall] Does anyone have a working xml setup using lvm and raid-1?
  • From: Lars Stavholm <stava@xxxxxxxxxxx>
  • Date: Wed, 25 Jun 2003 17:50:34 +0000 (UTC)
  • Message-id: <Pine.LNX.4.53.0306251946470.2231@xxxxxxxxxxxxxxxxxx>
Might I ask what version of autoyast2 you're using?
R/Lars

On Wed, 25 Jun 2003, Voss Stefan wrote:
>
> Hi,
>
> yes, the following works for me. We have two discs hda and hdb.
> On each disc two partitions are created. A small linux partition
> (50 MB, /dev/hda1 resp. /dev/hdb1) and a big raid partition (/dev/hda2
> resp. /dev/hdb2). /dev/hda2 and /dev/hdb2 are both added to the raid1
> device /dev/md0. /dev/md0 is then taken as physical volume into volume
> group systemvg. The logical volumes containing the file systems (including
> / and swap) are created from this volume group.
>
> The small partitions /dev/hda1 and /dev/hdb2 have the file systems /boot
> resp.
> /boot_backup.
>
> ...
> <partitioning config:type="list">
> <drive>
> <device>/dev/hda</device>
> <initialize config:type="boolean">false</initialize>
> <partitions config:type="list">
> <partition>
> <crypt_fs config:type="boolean">false</crypt_fs>
> <crypt_key></crypt_key>
> <filesystem config:type="symbol">ext3</filesystem>
> <format config:type="boolean">true</format>
> <mount>/boot</mount>
> <partition_id config:type="integer">131</partition_id>
> <partition_nr config:type="integer">1</partition_nr>
> <size>50MB</size>
> </partition>
> <partition>
> <crypt_fs config:type="boolean">false</crypt_fs>
> <crypt_key></crypt_key>
> <format config:type="boolean">false</format>
> <raid_name>/dev/md0</raid_name>
> <partition_id config:type="integer">253</partition_id>
> <partition_nr config:type="integer">2</partition_nr>
> <size>max</size>
> </partition>
> </partitions>
> <use>all</use>
> </drive>
> <drive>
> <device>/dev/hdb</device>
> <initialize config:type="boolean">false</initialize>
> <partitions config:type="list">
> <partition>
> <crypt_fs config:type="boolean">false</crypt_fs>
> <crypt_key></crypt_key>
> <filesystem config:type="symbol">ext3</filesystem>
> <format config:type="boolean">true</format>
> <mount>/boot_backup</mount>
> <partition_id config:type="integer">131</partition_id>
> <partition_nr config:type="integer">1</partition_nr>
> <size>50MB</size>
> </partition>
> <partition>
> <crypt_fs config:type="boolean">false</crypt_fs>
> <crypt_key></crypt_key>
> <format config:type="boolean">false</format>
> <raid_name>/dev/md0</raid_name>
> <partition_id config:type="integer">253</partition_id>
> <partition_nr config:type="integer">2</partition_nr>
> <size>max</size>
> </partition>
> </partitions>
> <use>all</use>
> </drive>
> </partitioning>
> <raid config:type="list">
> <raid_device>
> <device_name>/dev/md0</device_name>
> <parity_algorithm>left-asymmetric</parity_algorithm>
> <persistent_superblock
> config:type="boolean">true</persistent_superblock>
> <raid_type>raid1</raid_type>
> <chunk_size>32</chunk_size>
> <lvm_group>systemvg</lvm_group>
> <mount />
> <format config:type="boolean">false</format>
> </raid_device>
> </raid>
> <lvm config:type="list">
> <lvm_group>
> <lvm_name>systemvg</lvm_name>
> <pesize>4M</pesize>
> <logical_volumes config:type="list">
> <lv>
> <lv_name>lvroot</lv_name>
> <lv_size>1000mb</lv_size>
> <lv_fs>reiser</lv_fs>
> <lv_mount>/</lv_mount>
> </lv>
> <lv>
> <lv_name>lvswap</lv_name>
> <lv_size>2000mb</lv_size>
> <lv_mount>swap</lv_mount>
> </lv>
> <lv>
> <lv_name>lvusr</lv_name>
> <lv_size>3000mb</lv_size>
> <lv_fs>reiser</lv_fs>
> <lv_mount>/usr</lv_mount>
> </lv>
> </logical_volumes>
> </lvm_group>
> </lvm>
> ...
>
> Regards,
> Stefan
>
> -----Original Message-----
> From: Lars Stavholm
> To: suse-autoinstall@xxxxxxxx
> Sent: 6/24/2003 9:10 PM
> Subject: [suse-autoinstall] Does anyone have a working xml setup using lvm
> and raid-1?
>
> Does anyone have a working xml file (for SuSE 8.2) using lvm and raid-1?
> --
> Lars.Stavholm@xxxxxxxxxxx
>
> --
> To unsubscribe, e-mail: suse-autoinstall-unsubscribe@xxxxxxxx
> For additional commands, e-mail: suse-autoinstall-help@xxxxxxxx
>
>

< Previous Next >
References