Root RAID HOWTO cookbook
Root RAID HOWTO cookbook
Michael A. Robinton, michael@bzs.orgv1.07, 25 March 1998This document provides a cookbook for creating a root mounted raid
filesystem and companion fallback rescue system using linux initrd. There
are complete step-by-step instruction for both raid1 and raid5 md0 devices. Each step is accompanied by an explanation of it's purpose.
Included with this revision is a generic linuxrc initrd file which may
be configured with a single three line /etc/raidboot.conf file for
raid1 and raid5 configurations.1. Introduction1.1 Where to get Up-to-date copies of this document.1.2 Bugs1.3 Acknowledgements1.4 Copyright Notice2. What you need BEFORE YOU START2.1 Required Packages2.2 Other similar implementations.2.3 Documentation -- Recommended Reading2.4 RAID resources3. Quick Start for ROOT RAID4. initrd‐ Cookbook for root mounted RAID4.1 Security Reminder4.2 Build the Kernel and Raid Tools4.3 Build the initrd Rescue and Boot filesystem4.4 Start the STEP by STEP instructions4.5 Install the distribution - Slackware Specific4.6 Install linux pthreads4.7 Install Raid Tools4.8 Remove un-needed directories and files from new filesystem.4.9 Create /dev/mdx4.10 Create a bare filesystem suitable for initrd4.11 Making 'initrd' boot the RAID device - linuxrc4.12 Modifying the rc-scripts for SHUTDOWN4.13 Configuring RAIDBOOT - raidboot.conf4.14 Kernel 'loadlin and lilo' variables for RESCUE and RAID5. Configuring the Production RAID system.5.1 System specs.5.2 Partitioning the hard drives.6. Building the RAID file system.6.1 /etc/raid5.conf6.2 /etc/raid1.conf6.3 Step by Step procedures for building production RAID file system.7. One last thought.8. Appendix A. - Bohumil Chalupa's md0 shutdown9. Appendix B. - Sample SHUTDOWN scripts9.1 Slackware - /etc/rc.d/rc.69.2 Debian bo - /etc/init.d/halt and /etc/init.d/reboot10. Appendix C. - other setup files10.1 linuxrc10.2 loadlin -- linux.bat file - boot.par10.3 linuxthreads Makefile.diff10.4 raid1.conf10.5 raid5.conf10.6 raidboot.conf10.7 rc.raidown11. Appendix D. - obsolete linuxrc and shutdown scripts11.1 Obsolete working - linuxrc11.2 Obsolete working - shutdown scripts12. Appendix E. - Gadi's raid stop patch for the linux kernel13. Appendix F. - rc.raidown14. Appendix G. - linuxrc theory of operation
;