/[gentoo]/xml/htdocs/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.25 Revision 1.26
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml,v 1.25 2010/01/26 20:45:08 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml,v 1.26 2010/06/15 11:11:09 jkt Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide> 5<guide>
6<title>Gentoo Linux x86 with Software Raid and LVM2 Quick Install Guide</title> 6<title>Gentoo Linux x86 with Software Raid and LVM2 Quick Install Guide</title>
7 7
27 27
28<!-- The content of this document is licensed under the CC-BY-SA license --> 28<!-- The content of this document is licensed under the CC-BY-SA license -->
29<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 29<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
30<license/> 30<license/>
31 31
32<version>15</version> 32<version>16</version>
33<date>2010-01-26</date> 33<date>2010-06-15</date>
34 34
35<chapter> 35<chapter>
36<title>Introduction</title> 36<title>Introduction</title>
37<section> 37<section>
38<body> 38<body>
176<comment>(Partition the second disk exactly as the first)</comment> 176<comment>(Partition the second disk exactly as the first)</comment>
177livecd ~ # <i>fdisk /dev/sdb</i> 177livecd ~ # <i>fdisk /dev/sdb</i>
178</pre> 178</pre>
179 179
180<p> 180<p>
181Then create the RAID device nodes and devices: 181Then create the RAID device nodes and devices. Please bear in mind that the
182<c>/boot</c> and <c>/</c> mount points should use an older metadata format which
183can be specified by the <c>--metadata=0.90</c> flag:
182</p> 184</p>
183 185
184<pre caption="Create device nodes and devices"> 186<pre caption="Create device nodes and devices">
185livecd ~ # <i>mknod /dev/md1 b 9 1</i> 187livecd ~ # <i>mknod /dev/md1 b 9 1</i>
186livecd ~ # <i>mknod /dev/md3 b 9 3</i> 188livecd ~ # <i>mknod /dev/md3 b 9 3</i>
187livecd ~ # <i>mknod /dev/md4 b 9 4</i> 189livecd ~ # <i>mknod /dev/md4 b 9 4</i>
188 190
189livecd ~ # <i>mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1</i> 191livecd ~ # <i>mdadm --create /dev/md1 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda1 /dev/sdb1</i>
190mdadm: array /dev/md1 started. 192mdadm: array /dev/md1 started.
191livecd ~ # <i>mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3</i> 193livecd ~ # <i>mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3</i>
192mdadm: array /dev/md3 started. 194mdadm: array /dev/md3 started.
193livecd ~ # <i>mdadm --create /dev/md4 --level=0 --raid-devices=2 /dev/sda4 /dev/sdb4</i> 195livecd ~ # <i>mdadm --create /dev/md4 --level=0 --raid-devices=2 /dev/sda4 /dev/sdb4</i>
194mdadm: array /dev/md4 started. 196mdadm: array /dev/md4 started.

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20