IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

Root RAID HOWTO cookbook

Search Howtos :Match :
Next Previous Contents

14. Appendix G. - linuxrc theory of operation

This is the complex form of the linuxrc file for root mounted raid. It must be processed with 'bash' or another shell that recognizes shell functions.

The advantage is that it is generic and is not dependent on startup files and parameters located in the initrd image.

A Raid_Conf parameter passed to linuxrc by the kernel at boot from lilo or loadlin contains a pointer to the boot devices and location the of initial 2 raidboot files needed by linuxrc (raidboot.etc and raidboot.cfg placed by the shutdown script).

raidboot.etc containing the 'tar'ed files:
        raid*
        mdtab*
        fstab
        lilo.conf               ( if applicable )
from the primary system that are transferred to the initrd /etcetc directory at startup. With care, this file may be edited if necessary when your system 'really' crashes.

raidboot.cfg contains the name of the boot partition in use and applicable backup(s) as well as the path to the rest of the raid start up file used by linuxrc. This file is normally created by the shutdown file and may be created manually if necessary.

raidboot.cfg is of the form, 3 lines - no comments

        /dev/bootdev1 /dev/bootdev2 [/dev/bootdev3 ... and so on]
        raid-status/path 
        name_of_raidX.conf_file
the raid-status/path does not include the name of the mountpoint

the raidX.conf filename is that one found in /etc and normally used for ckraid and mkraid.

The following additional files reside on the permanent raid boot partitions. This is usually the same as above, but in emergency situations may be loaded from anywhere they are available, such as a floppy boot disk.
  • raidgood.ref created by the command cat /proc/mdstat | grep md0 > /{raid_status_path}/raidgood.ref

    See the shutdown scripts for saving this file and the next

  • raidstat.ro created at each shutdown by the shutdown rc file, saving the exit status of the raid array.


Next Previous Contents
Search Howtos :Match :
ImageMagick 6.5.7.5
ImageMagick image processing studio
Krusader 2.1.0-beta1
Twin-Panel filemanager for KDE3
LilyPond 2.13.7
Music typesetter.
KDevelop 4.0 beta6
Integrated Development Environment for Unix/X11
KDE 4.3.3
Powerful Open Source graphical desktop environment.
Mandriva Linux 2010.0
Linux distribution by Mandriva
Linux Kernel 2.6 2.6.32-rc6
Linux Kernel
WebGUI 7.7.25
A fully featured content management system.
SimplyMEPIS 8.0.12
Run the Linux operating system from your CD or DVD drive
Fedora 12 rc1
Community-supported open source distribution
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

Vulnerability Management for Dummies

Get all the Facts and See How to Implement a Successful Vulnerability Management Program.

Website Magazine

Has tapped premier talent in the Internet industry for our content and each and every issue will contain practical advice and insights for website owners.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info