RE: [suse-autoinstall] Does anyone have a working xml setup using lvm and raid-1?
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>
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>
false <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> 131 1 <size>50MB</size> </partition> <partition>false <format config:type="boolean">false</format> /dev/md0 253 2 <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>false <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/boot_backup</mount> 131 1 <size>50MB</size> </partition> <partition>false <format config:type="boolean">false</format> /dev/md0 253 2 <size>max</size> </partition> </partitions> <use>all</use> </drive> </partitioning> <raid config:type="list"></raid> <lvm config:type="list"> /dev/md0 left-asymmetric true raid1 32 systemvg <mount /> <format config:type="boolean">false</format></lvm> ... systemvg <pesize>4M</pesize><lv> lvroot 1000mb reiser / </lv> <lv>lvswap 2000mb swap </lv> <lv>lvusr 3000mb reiser /usr </lv>Regards, Stefan
-----Original Message----- From: Lars Stavholm To: suse-autoinstall@suse.com 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@telcotec.se
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (2)
-
Lars Stavholm
-
Voss Stefan