<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>RAID Array (Software) - Revision history</title>
		<link>https://www.slackwiki.com/index.php?title=RAID_Array_(Software)&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.40.0</generator>
		<lastBuildDate>Wed, 08 Apr 2026 01:01:49 GMT</lastBuildDate>
		<item>
			<title>Erik: Copy from old</title>
			<link>https://www.slackwiki.com/index.php?title=RAID_Array_(Software)&amp;diff=162&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=RAID_Array_(Software)&amp;diff=162&amp;oldid=prev</guid>
			<description>&lt;p&gt;Copy from old&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tips]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Raid1 Root ==&lt;br /&gt;
I was looking for a way to install a Slackware 12 as described in README_LVM.TXT but on top of a Software Raid1 array.&lt;br /&gt;
The installation is really straight forward :&lt;br /&gt;
&lt;br /&gt;
Assuming we have two disk &lt;br /&gt;
RAID_DSK[0]=/dev/sda and &lt;br /&gt;
RAID_DSK[1]=/dev/sdb&lt;br /&gt;
&lt;br /&gt;
First partion both disk using the type fd  Linux raid auto&lt;br /&gt;
You need at least two partions as descibed in README_LVM.TXT,&lt;br /&gt;
a small one that will be mounted on /boot and a big one that will support LVM.&lt;br /&gt;
&lt;br /&gt;
create the raid array :&lt;br /&gt;
 # boot                                                                                                                              &lt;br /&gt;
 mdadm -q --create /dev/md0 --level=1 --raid-devices=2 ${RAID_DSK[0]}1 ${RAID_DSK[1]}1&lt;br /&gt;
 # lvm                                                                                                                               &lt;br /&gt;
 mdadm -q --create /dev/md1 --level=1 --raid-devices=2 ${RAID_DSK[0]}2 ${RAID_DSK[1]}2&lt;br /&gt;
&lt;br /&gt;
Follow the instruction find in README_LVM.TXT to install LVM, &lt;br /&gt;
just use /dev/md0 for the boot partition and &lt;br /&gt;
/dev/md1 for the Physical Volume (PV) &lt;br /&gt;
 pvcreate /dev/md1 ...&lt;br /&gt;
&lt;br /&gt;
Complete the initrd installation as described in README_LVM.TXT to support LVM, but don't exit the chroot when it's done!&lt;br /&gt;
You need to apply more modification.&lt;br /&gt;
&lt;br /&gt;
== Initrd Raid1 ==&lt;br /&gt;
You are still in the chroot ? fine.&lt;br /&gt;
copy the mdadm utility in /boot/initrd-tree/&lt;br /&gt;
 cp /sbin/mdadm /boot/initrd-tree/sbin/&lt;br /&gt;
save the configuration of your raid array in the initrd-tree&lt;br /&gt;
 /sbin/mdadm -D --scan &amp;gt; /boot/initrd-tree/etc/mdadm.conf&lt;br /&gt;
&lt;br /&gt;
modify /boot/initrd-tree/init to add the following&lt;br /&gt;
 # rebuild RAID ARRAY&lt;br /&gt;
 /sbin/mdadm --assemble --scan 2&amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
Just before&lt;br /&gt;
 # Initialize LVM:&lt;br /&gt;
&lt;br /&gt;
That it! just rebuild the initrd image without resiting the tree (do not use the -c option!).&lt;br /&gt;
&lt;br /&gt;
Just for info your lilo Global section should look like that :&lt;br /&gt;
&lt;br /&gt;
 # Start LILO global section&lt;br /&gt;
 raid-extra-boot=mbr-only&lt;br /&gt;
 lba32 # Allow booting past 1024th cylinder with a recent BIOS&lt;br /&gt;
 boot = /dev/md0&lt;br /&gt;
 #message = /boot/boot_message.txt&lt;br /&gt;
 prompt&lt;br /&gt;
 timeout = 3&lt;br /&gt;
&lt;br /&gt;
restart lilo, exit the chroot, reboot and&lt;br /&gt;
Enjoy!&lt;/div&gt;</description>
			<pubDate>Sat, 06 Jun 2009 21:31:22 GMT</pubDate>
			<dc:creator>Erik</dc:creator>
			<comments>https://www.slackwiki.com/Talk:RAID_Array_(Software)</comments>
		</item>
</channel></rss>