Differences between version 6 and revision by previous author of SoftwareRaid.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Thursday, March 18, 2004 9:45:43 am | by StuartYeates | Revert |
Older page: | version 4 | Last edited on Saturday, February 28, 2004 1:24:25 pm | by BarakPearlmutter | Revert |
@@ -1,11 +1,13 @@
-Linux SoftwareRaid is a feature of the LinuxKernel that allows RAID to be performed in Software rather than in Hardware. See SoftwareRaidvsHardwareRaid for more details.
+Linux SoftwareRaid is a feature of the LinuxKernel that allows [
RAID]
to be performed in [
Software]
rather than in [
Hardware]
. See SoftwareRaidvsHardwareRaid for more details.
If you are wanting to setup SoftwareRaid on a Linux Machine you should first read the [HowToSoftwareRAIDHOWTO] which is an excellent introduction to RAID in general. __However__ the [HowToSoftwareRAIDHOWTO] was written several years ago towards the end of Kernel 2.2's lifespan while Kernel 2.3 was in development and before Kernel 2.4 and as such is not up to date with how you setup SoftwareRaid under linux today.
+
+(A more recent version is located here: http://unthought.net/Software-RAID.HOWTO/)
As far as I know most distributions today (and definitely Debian Woody) use a utility called ''mdadm'' to administer SoftwareRaid devices on a Linux system. mdadm can be obtained from
http://www.cse.unsw.edu.au/~neilb/source/mdadm/
-Or in Debian
+Or in [
Debian]
apt-get install mdadm
Or Add your favourite distribution here.
Most of the commands and configuration files mentioned in [HowToSoftwareRAIDHOWTO] are superseded by mdadm which is the do-it-all SoftwareRaid tool for linux.
@@ -13,9 +15,9 @@
!!! How To Setup a machine using Software RAID-1
Allthough I setup this machine up with Debian I am pretty sure that most of the steps listed below will be distribution independent. We will start from the basic hardware that doesn't do anything useful and progress until we have a machine that boots up into a full working Debian install off the raid array.
-The machine that I used for this configuration has a Intel S845WD1-E Motherboard with two on-board IDE channels plus an extra two channels controlled by a Promise PDC20267 RAID chipset (commonly known as a Promise FastTrak100). Unfortunately Promise is not clever enough to release open source drivers for the RAID portion of this chipset so it is only useable as an IDE controller under linux. The rest of the machine is configured as follows. There is one 40GB Seagate IDE Disk on each of the FastTrak's channels. We want to use these two disks to create a RAID-1 array for redundant storage.
+The machine that I used for this configuration has a Intel S845WD1-E Motherboard with two on-board [
IDE]
channels plus an extra two channels controlled by a Promise PDC20267 RAID chipset (commonly known as a Promise FastTrak100). Unfortunately Promise is not clever enough to release open source drivers for the RAID portion of this chipset so it is only useable as an IDE controller under linux. The rest of the machine is configured as follows. There is one 40GB Seagate IDE Disk on each of the FastTrak's channels. We want to use these two disks to create a RAID-1 array for redundant storage.
Assuming that the physical installation has been completed correctly with a single disk on each IDE channel, 80pin IDE cables, etc. The next problem we face is that the Debian installer (an all other distributions installers?) cannot install directly onto a raid array as the standard kernels do not have software raid support included. To get around this problem I used the first method described in [HowToSoftwareRAIDHOWTO] of placing a 3rd disk on the first on-board IDE channel and installing a Basic Debian install on to that.
!Install Debian onto a different disk to the ones in your RAID array (On the first on-board IDE controller)
@@ -196,9 +198,12 @@
and continue with the rest of the instructions.
! Recent Debian Kernels do this Automatically
-The most recent versions (eg linux kernel 2
.6) of the Debian kernel-image packages
+The most recent versions (eg [LinuxKernel2
.6]
) of the Debian kernel-image packages
build a new initrd image upon installation. They should automatically notice if the
root device is /dev/md* and arrange for the appropriate modules to be present in the
initrd image and loaded appropriately. So if the software raid array is actually
your root filesystem when you do the kernel install, everything should just work.
+
+----
+CategoryOperatingSystem