LVM-on-IDE-RAID-HOWTO Outline ============================= David Young (davidy@funkypenguin.co.za) 1st draft, 2002-08-24 Introduction 1.1 This Document 1.2 Latest version 1.3 Disclaimer 1.4 Author 2. RAID 2.1 What is RAID? 2.2 Why would I want RAID? 2.3 RAID levels 0-5 2.4 IDE RAID 3. LVM 3.1 What is LVM? 3.2 Why would I want LVM? 4. LVM on RAID 4.1 Why combine the two? 4.2 Advantages 4.3 Disadvantages 5. Ingredients 5.1 Hardware 5.2 Software 5.2.1 Choice of distribution 6. Installing base system 6.1 Partitioning the drive 6.2 Installing the system 7. Installing RAID 7.1 Partitioning the drive, using fdisk 7.2 Creating the "crippled" RAID devices 7.3 Creating RAID devices 7.4 Creating new /boot filesystem 8. Recompiling the kernel 8.1 Kernel basics 8.2 Choosing kernel options / modules 8.3 Compiling & installing the kernel 9. Creating LVM Initial RAM Disk 9.1 Create default lvm initrd 9.2 Modifying your initrd 9.3 Adding extra modules, resolving dependencies 9.4 Adding required binaries 9.5 Adding custom raidtab 9.6 Modify linuxrc 9.7 Tidying up 10. Installing LVM 10.1 Create Physical volume 10.2 Create Volume Group 10.3 Create Logical Volumes 10.3.1 Create root 10.3.2 Create swap 11. Transferring system 11.1 Mounting LVM filestructure 11.2 Transferring root 11.3 Transferring /boot 11.4 Modifying fstab 12. Booting into LVM 12.1 Configuring lilo 12.2 Trouble-shooting startup 13. Recovering RAID 13.1 Re-partitioning the drive, using fdisk 13.2 Modifying /etc/raidtab 13.3 Hot-adding the drive, and syncing 13.4 Modifying lilo 14. Wrapping up. 14.1 Possible applications 14.2 Reporting errors 14.3 References