Boot+Root+Raid+LILO(1).pdf
(
53 KB
)
Pobierz
Boot + Root + Raid + Lilo : Software Raid mini-HOWTO
Boot + Root + Raid + Lilo : Software Raid mini−HOWTO
Boot + Root + Raid + Lilo : Software Raid mini−HOWTO
Table of Contents
Boot + Root + Raid + Lilo : Software Raid mini−HOWTO.
..........................................................................1
Michael Robinton, Michael@BizSystems.com.
.....................................................................................1
1. Introduction.
.........................................................................................................................................1
2. What you need BEFORE YOU START..
............................................................................................1
3. Bootable Raid
......................................................................................................................................1
4. Upgrading from non−raid to RAID1/4/5.
............................................................................................1
5. Appendix A. − example raidtab.
..........................................................................................................1
6. Appendix B. − SCSI reference implementation RAID5.
.....................................................................2
7. Appendix C. − ide RAID10 with initrd.
..............................................................................................2
8. Appendix D. − ide RAID1−10 with initrd.
..........................................................................................2
1. Introduction.
.........................................................................................................................................2
1.1 Acknowledgements.
...........................................................................................................................2
1.2 Bugs.
..................................................................................................................................................2
1.3 Copyright Notice.
...............................................................................................................................2
2. What you need BEFORE YOU START..
............................................................................................2
2.1 Required Packages.
............................................................................................................................2
2.2 Where to get Up−to−date copies of this document.
..........................................................................3
2.3 Documentation −− Recommended Reading.
.....................................................................................3
2.4 RAID resources..
................................................................................................................................3
3. Bootable Raid
......................................................................................................................................3
3.1 Booting RAID 1 with standard LILO.
...............................................................................................4
3.2 Detailed explaination of lilo.conf for raid boot
.................................................................................5
4. Upgrading from non−raid to RAID1/4/5.
............................................................................................6
4.1 Step 1 − prepare a new kerne.
...........................................................................................................6
4.2 Step 2 − set up raidtab for your new raid.
.........................................................................................7
4.3 Create, format, and configure RAID.
.................................................................................................7
4.4 Copy the current OS to the new raid device.
.....................................................................................8
4.5 Test your new RAID.
.........................................................................................................................8
4.6 Integrate old disk into raid array.
.......................................................................................................9
5. Appendix A. − example raidtab.
..........................................................................................................9
6. Appendix B. − SCSI reference implementation RAID5.
...................................................................11
7. Appendix C. − ide RAID10 with initrd.
............................................................................................13
8. Appendix D. − ide RAID1−10 with initrd.
........................................................................................16
i
Boot + Root + Raid + Lilo : Software Raid
mini−HOWTO
Michael Robinton,
Michael@BizSystems.com
v1.04, July 20, 2000
This document provides a cookbook for setting up root raid using the 0.90 raidtools for bootable raid
mounted on root using standard LILO. Also covered is the conversion of a conventional disk to a raid1 or
raid5 mirror set without the loss of data on the original disk.
1.
Introduction
·
1.2 Bugs
1.1 Acknowledgements
·
1.3 Copyright Notice
·
2.
What you need BEFORE YOU START
·
2.2 Where to get Up−to−date copies of this document.
2.1 Required Packages
·
2.3 Documentation −− Recommended Reading
·
2.4 RAID resources
·
3.
Bootable Raid
·
3.2 Detailed explaination of lilo.conf for raid boot
3.1 Booting RAID 1 with standard LILO
·
4.
Upgrading from non−raid to RAID1/4/5
·
4.2 Step 2 − set up raidtab for your new raid.
4.1 Step 1 − prepare a new kernel
·
4.3 Create, format, and configure RAID
·
4.4 Copy the current OS to the new raid device
·
4.5 Test your new RAID
·
4.6 Integrate old disk into raid array
·
5.
Appendix A. − example raidtab
Boot + Root + Raid + Lilo : Software Raid mini−HOWTO
1
Boot + Root + Raid + Lilo : Software Raid mini−HOWTO
6.
Appendix B. − SCSI reference implementation RAID5
7.
Appendix C. − ide RAID10 with initrd
8.
Appendix D. − ide RAID1−10 with initrd
1.
Introduction
1.1 Acknowledgements
The essence of the information I've put together here was originally provided by Harald Nordgård−Hansen
<
hnh@bukharin.hiof.no
>
and posted to the raid mail list in a lilo.conf file with commentary by Martin Bene
<
mb@sime.com
>
. Many thanks for your contribution. I've tried to put this information and the helpful work
of many others who contribute to the raid mail list and linux raid project into a
COOKBOOK
form,
including many examples from real systems so that bootable root raid is easy to set up and understand. One
section is devoted to the conversion of a standard single drive system to RAID. The key to the conversion, in
my humble opinion, is the understanding of bootable root raid.
1.2 Bugs
Yes, I'm sure there are some. If you'd be good enough to report them, I will correct the document. ;−)
1.3 Copyright Notice
This document is GNU copyleft by Michael Robinton
Michael@BizSystems.com
.
Permission to use, copy, distribute this document for any purpose is hereby granted, provided that the author's
/ editor's name and this notice appear in all copies and/or supporting documents; and that an unmodified
version of this document is made freely available. This document is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY, either expressed or implied. While every effort has been taken to
ensure the accuracy of the information documented herein, the author / editor / maintainer assumes NO
RESPONSIBILITY for any errors, or for any damages, direct or consequential, as a result of the use of the
information documented herein.
2.
What you need BEFORE YOU START
The packages you need and the documentation that answers the most common questions about setting up and
running raid are listed below. Please review them throughly.
2.1 Required Packages
You need to obtain the most recent versions of these packages.
6. Appendix B. − SCSI reference implementation RAID5
2
Boot + Root + Raid + Lilo : Software Raid mini−HOWTO
·
a linux kernel that supports raid, initrd
I used
linux−2.2.14
from kernel.org
·
ftp://ftp.kernel.org/pub/linux/daemons/raid/alpha/
the most recent tools and patch that adds support
for modern raid1/4/5
I used
http://people.redhat.com/mingo/raid−patches/
2.2 Where to get Up−to−date copies of this document.
Click here to browse the
author's latest version
of this document. Corrections and suggestions welcome!
Boot Root Raid + LILO HOWTO
Available in LaTeX (for DVI and PostScript), plain text, and HTML.
http://www.linuxdoc.org/HOWTO/Boot+Root+Raid+LILO.html
Available in SGML and HTML.
ftp.bizsystems.net/pub/raid/
2.3 Documentation −− Recommended Reading
If you plan on using raid1/5 over raid0, please read:
/usr/src/linux/Documentation/initrd.txt
as well as the documentation and man pages that accompany the raidtools set.
and.....
Software−RAID−HOWTO.html
2.4 RAID resources
Mailing lists can be joined at:
·
This one seems quiet:
majordomo@nuclecu.unam.mx
send a message to
subscribe raiddev
send mail to:
raiddev@nuclecu.unam.mx
·
Raid development:
majordomo@vger.rutgers.edu
send a message to
subscribe linux−raid
send mail to:
linux−raid@vger.rutgers.edu
(this seems to be the most active list)
3.
Bootable Raid
I'm not going to cover the fundamentals of setting up raid0/1/5 on Linux, that is covered in detail elsewhere.
2.2 Where to get Up−to−date copies of this document.
3
Plik z chomika:
megaskrypty
Inne pliki z tego folderu:
3-Button-Mouse(1).pdf
(58 KB)
XWindow-Overview-HOWTO(1).pdf
(30 KB)
Xterm-Title(1).pdf
(39 KB)
Xterminals(1).pdf
(30 KB)
Xinerama-HOWTO(1).pdf
(33 KB)
Inne foldery tego chomika:
Programowanie
Zgłoś jeśli
naruszono regulamin