/[gentoo]/xml/htdocs/doc/en/gentoo-x86-tipsntricks.xml
Gentoo

Diff of /xml/htdocs/doc/en/gentoo-x86-tipsntricks.xml

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

Revision 1.27 Revision 1.28
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-tipsntricks.xml,v 1.27 2011/03/16 07:47:44 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-x86-tipsntricks.xml,v 1.28 2011/05/09 20:15:47 nightmorph Exp $ -->
4 4
5<guide> 5<guide>
6<title>Gentoo/x86 Installation Tips &amp; Tricks</title> 6<title>Gentoo/x86 Installation Tips &amp; Tricks</title>
7 7
8<author title="Author"> 8<author title="Author">
24 24
25<!-- The content of this document is licensed under the CC-BY-SA license --> 25<!-- The content of this document is licensed under the CC-BY-SA license -->
26<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 26<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
27<license/> 27<license/>
28 28
29<version>2</version> 29<version>3</version>
30<date>2011-03-16</date> 30<date>2011-05-09</date>
31 31
32<chapter> 32<chapter>
33<title>Introduction</title> 33<title>Introduction</title>
34<section> 34<section>
35<title>Preliminary</title> 35<title>Preliminary</title>
130mirrored (RAID-1) covering <path>/dev/sda</path> and <path>/dev/sdb</path>, 130mirrored (RAID-1) covering <path>/dev/sda</path> and <path>/dev/sdb</path>,
131you can use: 131you can use:
132</p> 132</p>
133 133
134<pre caption="Creating raid devices with the mdadm command"> 134<pre caption="Creating raid devices with the mdadm command">
135# <i>mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1</i> 135# <i>mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda1 /dev/sdb1</i>
136# <i>mdadm --create --verbose /dev/md2 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2</i> 136# <i>mdadm --create --verbose /dev/md2 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda2 /dev/sdb2</i>
137# <i>mdadm --create --verbose /dev/md3 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3</i> 137# <i>mdadm --create --verbose /dev/md3 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda3 /dev/sdb3</i>
138</pre> 138</pre>
139 139
140<impo> 140<impo>
141You should not use any form of striping such as RAID-0 or RAID-5 on the 141You should not use any form of striping such as RAID-0 or RAID-5 on the
142partition you boot from. 142partition you boot from. Also, the <c>--metadata=0.90</c> is only necessary for
143these critical file systems. Other filesystems can use more recent metadata
144formats.
143</impo> 145</impo>
144 146
145<p> 147<p>
146The Linux Software RAID driver will start creating the metadevices. You can see 148The Linux Software RAID driver will start creating the metadevices. You can see
147its progress in <path>/proc/mdstat</path>. Wait until the metadevices are 149its progress in <path>/proc/mdstat</path>. Wait until the metadevices are

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20