~kim0/serverguide/serverguide-review-ch19

« back to all changes in this revision

Viewing changes to serverguide/C/installation.xml

  • Committer: Matthew East
  • Date: 2011-05-03 07:11:18 UTC
  • Revision ID: mdke@ubuntu.com-20110503071118-081aatibsr9k2yqy
Add files from ubuntu-docs natty branch, trim to use only those necessary for serverguide

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" 
 
3
        "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
 
4
<!ENTITY % globalent SYSTEM "../../libs/global.ent">
 
5
%globalent;
 
6
<!ENTITY % gnome-menus-C SYSTEM "../../libs/gnome-menus-C.ent">
 
7
%gnome-menus-C;
 
8
<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
 
9
%xinclude;
 
10
<!ENTITY language "&EnglishAmerican;">
 
11
]>
 
12
<chapter id="installation" status="review">
 
13
        <title>Installation</title>
 
14
  <para>
 
15
  This chapter provides a quick overview of installing Ubuntu &distro-rev; Server Edition. For more detailed instructions, 
 
16
  please refer to the <ulink url="https://help.ubuntu.com/&distro-rev-short;/installation-guide/">Ubuntu Installation Guide</ulink>.
 
17
  </para>
 
18
        <sect1 id="preparing-to-install" status="review">
 
19
                <title>Preparing to Install</title>
 
20
    <para>
 
21
      This section explains various aspects to consider before starting the
 
22
      installation. </para>
 
23
                <sect2 id="system-requirements" status="review">
 
24
                        <title>System Requirements</title>
 
25
                        <para>Ubuntu &distro-rev; Server Edition supports two (2) major architectures: Intel x86 and AMD64. The table below lists recommended hardware specifications. Depending on your needs, you might manage with less than this. However, most users risk being frustrated if they ignore these suggestions.</para>
 
26
                                <table>
 
27
                                <title>Recommended Minimum Requirements</title>
 
28
                                        <tgroup cols="4">
 
29
                                                <colspec colname="1"/>
 
30
                                                <colspec colname="2"/>
 
31
                                                <colspec colname="3" colwidth="2"/>
 
32
                                                <colspec colname="4"/>
 
33
                                                <thead>
 
34
                                                        <row>
 
35
                                                                <entry morerows="1" valign="middle"><para>Install Type</para></entry>
 
36
                                                                <entry morerows="1" valign="middle"><para>RAM</para></entry>
 
37
                                                                <entry namest="3" nameend="4" align="center"><para>Hard Drive Space</para></entry>
 
38
                                                        </row>
 
39
                                                        <row>
 
40
                                                                <entry><para>Base System</para></entry>
 
41
                                                                <entry><para>All Tasks Installed</para></entry>
 
42
                                                        </row>
 
43
                                                </thead>
 
44
                                                <tbody>
 
45
                                                        <row>
 
46
                                                                <entry><para>Server</para></entry>
 
47
                                                                <entry><para>128 megabytes</para></entry>
 
48
                                                                <entry><para>500 megabytes</para></entry>
 
49
                                                                <entry><para>1 gigabyte</para></entry>
 
50
                                                        </row>
 
51
                                                </tbody>
 
52
                                        </tgroup>
 
53
                                </table>
 
54
                                <para>
 
55
                                The Server Edition provides a common base for all sorts of server applications. 
 
56
                                It is a minimalist design providing a platform for the desired services, such 
 
57
                                as file/print services, web hosting, email hosting, etc. 
 
58
                                </para>
 
59
 
 
60
                <para>
 
61
                The requirements for UEC are slightly different for Front End requirements see <xref linkend="uec-frontend-requirements"/> and for 
 
62
                UEC Node requirements see <xref linkend="uec-node-requirements"/>.
 
63
                </para>
 
64
 
 
65
                </sect2>
 
66
 
 
67
  <sect2 id="intro-server-differences" status="review">
 
68
    <title>Server and Desktop Differences</title>
 
69
    <para>
 
70
    There are a few differences between the <emphasis>Ubuntu Server Edition</emphasis> and the 
 
71
    <emphasis>Ubuntu Desktop Edition</emphasis>.  It should be noted that both editions use the same 
 
72
    <application>apt</application> repositories.  Making it just as easy to install a <emphasis role="italic">server</emphasis> 
 
73
    application on the Desktop Edition as it is on the Server Edition.
 
74
    </para>
 
75
    <para>
 
76
    The differences between the two editions are the lack of an X window environment in the Server Edition, 
 
77
    the installation process, and different Kernel options.
 
78
    </para>     
 
79
    <para>
 
80
    </para>
 
81
    <sect3 id="intro-kernel-diffs" status="review">
 
82
      <title>Kernel Differences:</title>
 
83
      <itemizedlist>
 
84
        <listitem>      
 
85
          <para>
 
86
          The Server Edition uses the <emphasis>Deadline</emphasis> I/O scheduler instead of the
 
87
          <emphasis>CFQ</emphasis> scheduler used by the Desktop Edition.
 
88
          </para>
 
89
        </listitem>
 
90
        <listitem>      
 
91
          <para>
 
92
          <emphasis>Preemption</emphasis> is turned off in the Server Edition. 
 
93
          </para>
 
94
        </listitem>
 
95
        <listitem>      
 
96
          <para>
 
97
          The timer interrupt is 100 Hz in the Server Edition and 250 Hz in the Desktop Edition.
 
98
          </para>
 
99
        </listitem>     
 
100
        </itemizedlist>
 
101
          <note>
 
102
            <para>
 
103
            When running a 64-bit version of Ubuntu on 64-bit processors you are not limited by memory addressing space.
 
104
            </para>
 
105
          </note>
 
106
        
 
107
        <para>
 
108
        To see all kernel configuration options you can look through <filename>/boot/config-&linux-kernel-version;-server</filename>. 
 
109
        Also, <ulink url="http://www.kroah.com/lkn/">Linux Kernel in a Nutshell</ulink> is a great resource on the options 
 
110
        available.
 
111
        </para>
 
112
    </sect3>
 
113
  </sect2>
 
114
 
 
115
      <sect2 id="backing-up" status="review">
 
116
        <title>Backing Up</title>
 
117
          <itemizedlist>
 
118
            <listitem>
 
119
              <para>
 
120
              Before installing <application>Ubuntu Server Edition</application> you should make sure all data on the system 
 
121
              is backed up. See <xref linkend="backups"/> for backup options.
 
122
              </para>
 
123
              <para> 
 
124
              If this is not the first time an operating system has been installed on your
 
125
              computer, it is likely you will need to re-partition your disk to make room for Ubuntu. 
 
126
              </para>
 
127
              <para> 
 
128
                          Any time you partition your disk, you should be prepared to 
 
129
                          lose everything on the disk should you make a mistake or 
 
130
                          something goes wrong during partitioning.  The programs used in installation are 
 
131
                          quite reliable, most have seen years of use, but they 
 
132
                          also perform destructive actions.
 
133
              </para>
 
134
            </listitem>
 
135
          </itemizedlist>
 
136
      </sect2>
 
137
    </sect1>
 
138
        <sect1 id="installing-from-cd" status="review">
 
139
          <title>Installing from CD</title>
 
140
          <para>
 
141
          The basic steps to install Ubuntu Server Edition from CD are the same for installing any operating system from CD.  Unlike
 
142
          the <emphasis>Desktop Edition</emphasis> the <emphasis>Server Edition</emphasis> does not include a graphical 
 
143
          installation program.  Instead the Server Edition uses a console menu based process.
 
144
          </para>
 
145
          <itemizedlist>
 
146
            <listitem>
 
147
              <para>
 
148
              First, download and burn the appropriate ISO file from the <ulink url="http://www.ubuntu.com/getubuntu/download">
 
149
              Ubuntu web site</ulink>.
 
150
              </para>
 
151
            </listitem>
 
152
            <listitem>
 
153
              <para>
 
154
              Boot the system from the CD-ROM drive.
 
155
              </para>
 
156
            </listitem>
 
157
            <listitem>
 
158
              <para>
 
159
              At the boot prompt you will be asked to select the language.
 
160
              Afterwards the installation process begins by asking for your keyboard layout.
 
161
              </para>
 
162
            </listitem>
 
163
            <listitem>
 
164
              <para>
 
165
              From the main boot menu there are some additional options to install Ubuntu Server Edition.  You can install a
 
166
          basic Ubuntu Server, or install Ubuntu Server as part of a <emphasis>Ubuntu Enterprise Cloud</emphasis>.
 
167
          For more information on UEC see <xref linkend="uec"/>.  The rest of this section will cover the basic
 
168
          Ubuntu Server install.
 
169
              </para>
 
170
            </listitem>
 
171
            <listitem>
 
172
              <para>
 
173
              The installer then discovers your hardware configuration, and configures the 
 
174
              network settings using DHCP.  If you do not wish to use DHCP at the next screen
 
175
          choose "Go Back", and you have the option to "Configure the network manually".
 
176
              </para>
 
177
            </listitem>
 
178
            <listitem>
 
179
              <para>
 
180
              Next, the installer asks for the system's hostname and Time Zone. 
 
181
              </para>
 
182
            </listitem>
 
183
            <listitem>
 
184
              <para>
 
185
              You can then choose from several options to configure the hard drive layout.
 
186
          For advanced disk options see <xref linkend="advanced-installation"/>.
 
187
              </para>
 
188
            </listitem>
 
189
            <listitem>
 
190
              <para>
 
191
             The Ubuntu base system is then installed.
 
192
              </para>
 
193
            </listitem>
 
194
            <listitem>
 
195
              <para>
 
196
              A new user is setup, this user will have <emphasis>root</emphasis> access
 
197
              through the <application>sudo</application> utility.
 
198
              </para>
 
199
            </listitem>
 
200
            <listitem>
 
201
              <para>
 
202
          After the user is setup, you will be asked to encrypt your 
 
203
          <filename role="directory">home</filename> directory. 
 
204
              </para>
 
205
            </listitem>
 
206
            <listitem>
 
207
              <para>
 
208
          The next step in the installation process is to decide how you want to update the system.
 
209
          There are three options: 
 
210
              </para>
 
211
                <itemizedlist>
 
212
                  <listitem>
 
213
                    <para>
 
214
                    <emphasis>No automatic updates</emphasis>: this requires an administrator to log into
 
215
                    the machine and manually install updates.
 
216
                    </para>
 
217
                  </listitem>
 
218
                  <listitem>
 
219
                    <para>
 
220
                    <emphasis>Install security updates Automatically</emphasis>: will install the 
 
221
                    <application>unattended-upgrades</application> package, which will install security updates without the intervention
 
222
                    of an administrator.  For more details see <xref linkend="automatic-updates"/>.
 
223
                    </para>
 
224
                  </listitem>
 
225
                  <listitem>
 
226
                    <para>
 
227
                    <emphasis>Manage the system with Landscape</emphasis>: Landscape is a paid service provided
 
228
                    by Canonical to help manage your Ubuntu machines.  See the 
 
229
                    <ulink url="http://www.canonical.com/projects/landscape">Landscape</ulink> site for details.
 
230
                    </para>
 
231
                  </listitem>
 
232
                </itemizedlist>
 
233
            </listitem>
 
234
            <listitem>
 
235
              <para>
 
236
              You now have the option to install, or not install, several package tasks.  See 
 
237
              <xref linkend="install-tasks"/> for details.  Also, there is an option to launch
 
238
          <application>aptitude</application> to choose specific packages to install.  For more
 
239
          information see <xref linkend="aptitude"/>.
 
240
              </para>
 
241
            </listitem>
 
242
            <listitem>
 
243
              <para>
 
244
              Finally, the last step before rebooting is to set the clock to UTC.
 
245
              </para>
 
246
            </listitem>
 
247
          </itemizedlist>
 
248
          <note>
 
249
            <para>
 
250
            If at any point during installation you are not satisfied by the default setting, use the "Go Back" function at 
 
251
            any prompt to be brought to a detailed installation menu that will allow you to modify the default settings.
 
252
            </para>
 
253
          </note>
 
254
          <para>
 
255
          At some point during the installation process you may want to
 
256
          read the help screen provided by the installation system. To
 
257
          do this, press F1.
 
258
          </para>
 
259
          <para>
 
260
          Once again, for detailed instructions see the <ulink url="https://help.ubuntu.com/&distro-rev-short;/installation-guide/">
 
261
          Ubuntu Installation Guide</ulink>.
 
262
          </para>
 
263
           
 
264
          <sect2 id="install-tasks" status="review">
 
265
            <title>Package Tasks</title>
 
266
            <para>
 
267
            During the Server Edition installation you have the option of installing additional packages from the CD.  The packages
 
268
            are grouped by the type of service they provide. 
 
269
            </para>
 
270
            <itemizedlist>
 
271
              <listitem>
 
272
                <para>
 
273
                DNS server: Selects the BIND DNS server and its documentation.
 
274
                </para>
 
275
              </listitem>
 
276
              <listitem>
 
277
                <para>
 
278
                LAMP server: Selects a ready-made Linux/Apache/MySQL/PHP server.        
 
279
                </para>
 
280
              </listitem>
 
281
              <listitem>
 
282
                <para>
 
283
                Mail server: This task selects a variety of package useful for a general purpose mail  server system.
 
284
                </para>
 
285
              </listitem>
 
286
              <listitem>
 
287
                <para>
 
288
                OpenSSH server: Selects packages needed for an OpenSSH server.
 
289
                </para>
 
290
              </listitem>
 
291
              <listitem>
 
292
                <para>
 
293
                PostgreSQL database: This task selects client and server packages for the PostgreSQL database.
 
294
                </para>
 
295
              </listitem>
 
296
              <listitem>
 
297
                <para>
 
298
                Print server: This task sets up your system to be a print server.
 
299
                </para>
 
300
              </listitem>
 
301
              <listitem>
 
302
                <para>
 
303
                Samba File server: This task sets up your system to be a Samba file server, which is 
 
304
                especially suitable in networks with both Windows and Linux systems.
 
305
                </para>
 
306
              </listitem>
 
307
              <listitem>
 
308
                <para>
 
309
                Tomcat Java server: Installs Apache Tomcat and needed dependencies.
 
310
                </para>
 
311
              </listitem>
 
312
              <listitem>
 
313
                <para>
 
314
                Virtual Machine host: Includes packages needed to run KVM virtual machines.
 
315
                </para>
 
316
              </listitem>
 
317
              <listitem>
 
318
                <para>
 
319
                    Manually select packages: Executes <application>aptitude</application> allowing you to individually select packages.
 
320
                </para>
 
321
              </listitem>
 
322
            </itemizedlist>
 
323
            <para>
 
324
            Installing the package groups is accomplished using the <application>tasksel</application> utility.  
 
325
            One of the important difference between Ubuntu (or Debian) and other GNU/Linux distribution is that, when 
 
326
            installed, a package is also configured to reasonable defaults, eventually prompting you for additional required 
 
327
            information. Likewise, when installing a task, the packages are not only installed, but also configured to provided
 
328
            a fully integrated service.
 
329
            </para>
 
330
            <para>
 
331
            Once the installation process has finished you can view a list of available tasks by entering the following from a 
 
332
            terminal prompt:
 
333
            </para>
 
334
<screen>
 
335
<command>tasksel --list-tasks</command>
 
336
</screen>
 
337
            <note>
 
338
              <para>
 
339
              The output will list tasks from other Ubuntu based distributions such as Kubuntu and Edubuntu.
 
340
              Note that you can also invoke the <command>tasksel</command> command by itself, which will bring up a menu 
 
341
              of the different tasks available.
 
342
              </para>
 
343
            </note>
 
344
            <para>
 
345
            You can view a list of which packages are installed with each task using the <emphasis>--task-packages</emphasis> option. 
 
346
            For example, to list the packages installed with the <emphasis>DNS Server</emphasis> task enter the following:
 
347
            </para>
 
348
<screen>
 
349
<command>tasksel --task-packages dns-server</command>
 
350
</screen>       
 
351
            <para>
 
352
            The output of the command should list:
 
353
            </para>
 
354
<programlisting>
 
355
bind9-doc 
 
356
bind9utils 
 
357
bind9
 
358
</programlisting>
 
359
            <para>
 
360
            Also, if you did not install one of the tasks during the installation process, but for example you decide to make your new LAMP server 
 
361
            a DNS server as well.  Simply insert the installation CD and from a terminal:
 
362
            </para>
 
363
<screen>
 
364
<command>sudo tasksel install dns-server</command>
 
365
</screen>
 
366
      </sect2>
 
367
    </sect1>
 
368
    <sect1 id="installing-upgrading" status="review">
 
369
      <title>Upgrading</title>
 
370
      <para>
 
371
      There are several ways to upgrade from one Ubuntu release to another.  This section gives an overview of the recommended upgrade method.
 
372
      </para>
 
373
      <sect2 id="do-release-upgrade" status="review">
 
374
        <title>do-release-upgrade</title>
 
375
        <para>
 
376
        The recommended way to upgrade a Server Edition installation is to use the <application>do-release-upgrade</application> utility.
 
377
        Part of the <emphasis>update-manager-core</emphasis> package, it does not have any graphical dependencies and 
 
378
        is installed by default.
 
379
        </para>
 
380
        <para>
 
381
        Debian based systems can also be upgraded by using <command>apt-get dist-upgrade</command>. However, using 
 
382
        <application>do-release-upgrade</application> is recommended because it has the ability to handle system configuration
 
383
        changes sometimes needed between releases.
 
384
        </para>
 
385
        <para>
 
386
        To upgrade to a newer release, from a terminal prompt enter:
 
387
        </para>
 
388
<screen>
 
389
<command>do-release-upgrade</command>
 
390
</screen>
 
391
        <para>
 
392
        It is also possible to use <application>do-release-upgrade</application> to upgrade to a development version of 
 
393
        Ubuntu.  To accomplish this use the <emphasis>-d</emphasis> switch:
 
394
        </para>
 
395
<screen>
 
396
<command>do-release-upgrade -d</command>
 
397
</screen>
 
398
        <warning>
 
399
          <para>
 
400
          Upgrading to a development release is <emphasis>not</emphasis> recommended for production environments.
 
401
          </para>
 
402
        </warning>
 
403
      </sect2>
 
404
    </sect1>
 
405
    <sect1 id="advanced-installation" status="review">
 
406
      <title>Advanced Installation</title>
 
407
 
 
408
      <sect2 id="software-raid" status="review">
 
409
        <title>Software RAID</title>
 
410
 
 
411
        <para>
 
412
        RAID is a method of configuring multiple hard drives to act as one, reducing the 
 
413
        probability of catastrophic data loss in case of drive failure. RAID is implemented in either software 
 
414
        (where the operating system knows about both drives and actively maintains both of them) or hardware 
 
415
        (where a special controller makes the OS think there's only one drive and maintains the drives 'invisibly').
 
416
        </para>
 
417
 
 
418
        <para>
 
419
        The RAID software included with current versions of Linux (and Ubuntu) is based on the <application>'mdadm'</application>
 
420
        driver and works very well, better even than many so-called 'hardware' RAID controllers.  This section will guide you 
 
421
        through installing Ubuntu Server Edition using two RAID1 partitions on two physical hard drives, one for 
 
422
        <emphasis>/</emphasis> and another for <emphasis>swap</emphasis>.
 
423
        </para>
 
424
 
 
425
        <sect3 id="raid-partitioning" status="review">
 
426
          <title>Partitioning</title>
 
427
 
 
428
          <para>
 
429
          Follow the installation steps until you get to the <emphasis>Partition disks</emphasis> step, then:
 
430
          </para>
 
431
 
 
432
          <procedure>
 
433
            <step>
 
434
 
 
435
              <para>
 
436
              Select <emphasis>Manual</emphasis> as the partition method.
 
437
              </para>
 
438
 
 
439
            </step>
 
440
            <step>
 
441
 
 
442
              <para>
 
443
              Select the first hard drive, and agree to <emphasis>"Create a new empty partition table on this device?"</emphasis>.
 
444
              </para>
 
445
 
 
446
              <para>
 
447
              Repeat this step for each drive you wish to be part of the RAID array.
 
448
              </para>
 
449
 
 
450
            </step>
 
451
            <step>
 
452
 
 
453
              <para>
 
454
              Select the <emphasis>"FREE SPACE"</emphasis> on the first drive then select <emphasis>"Create a new partition"</emphasis>. 
 
455
              </para>
 
456
 
 
457
            </step>
 
458
            <step>
 
459
 
 
460
              <para>
 
461
              Next, select the <emphasis>Size</emphasis> of the partition.  This partition will be the <emphasis>swap</emphasis> partition,
 
462
              and a general rule for swap size is twice that of RAM.  Enter the partition size, then choose <emphasis>Primary</emphasis>,
 
463
              then <emphasis>Beginning</emphasis>. 
 
464
              </para>
 
465
 
 
466
              <note>
 
467
                <para>
 
468
                A swap partition size of twice the available RAM capacity may not always be desirable, especially on systems with large amounts of RAM.
 
469
                Calculating the swap partition size for servers is highly dependent on how the system is going to be used.
 
470
                </para>
 
471
              </note>
 
472
 
 
473
            </step>
 
474
            <step>
 
475
 
 
476
              <para>
 
477
              Select the <emphasis>"Use as:"</emphasis> line at the top.  By default this is 
 
478
              <emphasis role="italic">"Ext4 journaling file system"</emphasis>, change that to <emphasis>"physical volume for RAID"</emphasis>
 
479
              then <emphasis>"Done setting up partition"</emphasis>. 
 
480
              </para>
 
481
 
 
482
            </step>
 
483
            <step>
 
484
 
 
485
              <para>
 
486
              For the <emphasis>/</emphasis> partition once again select <emphasis>"Free Space"</emphasis> on the first drive then
 
487
              <emphasis>"Create a new partition"</emphasis>. 
 
488
              </para>
 
489
 
 
490
            </step>
 
491
            <step>
 
492
 
 
493
              <para>
 
494
              Use the rest of the free space on the drive and choose <emphasis>Continue</emphasis>, then <emphasis>Primary</emphasis>. 
 
495
              </para>
 
496
 
 
497
            </step>
 
498
            <step>
 
499
 
 
500
              <para>
 
501
              As with the swap partition, select the <emphasis>"Use as:"</emphasis> line at the 
 
502
              top, changing it to <emphasis>"physical volume for RAID"</emphasis>. Also select the 
 
503
              <emphasis>"Bootable flag:"</emphasis> line to change the value to 
 
504
              <emphasis>"on"</emphasis>. Then choose <emphasis>"Done setting up partition"</emphasis>. 
 
505
              </para>
 
506
 
 
507
            </step>
 
508
            <step>
 
509
 
 
510
              <para>
 
511
              Repeat steps three through eight for the other disk and partitions. 
 
512
              </para>
 
513
 
 
514
            </step>
 
515
          </procedure>
 
516
 
 
517
        </sect3>
 
518
        <sect3 id="raid-configuration" status="review">
 
519
          <title>RAID Configuration</title>
 
520
 
 
521
          <para>
 
522
          With the partitions setup the arrays are ready to be configured:
 
523
          </para>
 
524
 
 
525
          <procedure>
 
526
            <step>
 
527
 
 
528
              <para>
 
529
              Back in the main "Partition Disks" page, select <emphasis>"Configure Software RAID"</emphasis> at the top.
 
530
              </para>
 
531
 
 
532
            </step>
 
533
            <step>
 
534
 
 
535
              <para>
 
536
              Select <emphasis>"yes"</emphasis> to write the changes to disk.
 
537
              </para>
 
538
 
 
539
            </step>
 
540
            <step>
 
541
 
 
542
              <para>
 
543
              Choose <emphasis>"Create MD device"</emphasis>.
 
544
              </para>
 
545
 
 
546
            </step>
 
547
            <step>
 
548
 
 
549
              <para>
 
550
              For this example, select <emphasis>"RAID1"</emphasis>, but if you are using a different setup choose the appropriate type 
 
551
              (RAID0 RAID1 RAID5).
 
552
              </para>
 
553
 
 
554
              <note>
 
555
                <para>
 
556
                In order to use <emphasis>RAID5</emphasis> you need at least <emphasis>three</emphasis> drives.  Using RAID0 or RAID1
 
557
                only <emphasis>two</emphasis> drives are required.
 
558
                </para>
 
559
              </note>
 
560
 
 
561
            </step>
 
562
            <step>
 
563
 
 
564
              <para>
 
565
              Enter the number of active devices <emphasis>"2"</emphasis>, or the amount of hard drives you have, for the array.  Then 
 
566
              select <emphasis>"Continue"</emphasis>.
 
567
              </para>
 
568
 
 
569
            </step>
 
570
            <step>
 
571
 
 
572
              <para>
 
573
              Next, enter the number of spare devices <emphasis>"0"</emphasis> by default, then choose <emphasis>"Continue"</emphasis>.
 
574
              </para>
 
575
 
 
576
            </step>
 
577
            <step>
 
578
 
 
579
              <para>
 
580
              Choose which partitions to use. Generally they will be sda1, sdb1, sdc1, etc. The numbers will usually match and the different 
 
581
              letters correspond to different hard drives.  
 
582
              </para>
 
583
 
 
584
              <para>
 
585
              For the <emphasis>swap</emphasis> partition choose <emphasis>sda1</emphasis> and <emphasis>sdb1</emphasis>.
 
586
              Select <emphasis>"Continue"</emphasis> to go to the next step.
 
587
              </para>
 
588
 
 
589
            </step>
 
590
            <step>
 
591
 
 
592
              <para>
 
593
              Repeat steps <emphasis>three</emphasis> through <emphasis>seven</emphasis> for the <emphasis>/</emphasis> partition choosing 
 
594
              <emphasis>sda2</emphasis> and <emphasis>sdb2</emphasis>.
 
595
              </para>
 
596
 
 
597
            </step>
 
598
            <step>
 
599
 
 
600
              <para>
 
601
              Once done select <emphasis>"Finish"</emphasis>.
 
602
              </para>
 
603
 
 
604
            </step>
 
605
 
 
606
          </procedure>
 
607
 
 
608
        </sect3>
 
609
        <sect3 id="raid-formatting" status="review">
 
610
          <title>Formatting</title>
 
611
 
 
612
          <para>
 
613
          There should now be a list of hard drives and RAID devices. The next step is to format and set the mount point for the RAID devices.
 
614
          Treat the RAID device as a local hard drive, format and mount accordingly.
 
615
          </para>
 
616
 
 
617
          <procedure>
 
618
            <step>
 
619
 
 
620
              <para>
 
621
              Select <emphasis>"#1"</emphasis> under the <emphasis>"RAID1 device #0"</emphasis> partition. 
 
622
              </para>
 
623
 
 
624
            </step>
 
625
            <step>
 
626
 
 
627
              <para>
 
628
              Choose <emphasis>"Use as:"</emphasis>.  Then select <emphasis>"swap area"</emphasis>, then 
 
629
              <emphasis>"Done setting up partition"</emphasis>.
 
630
              </para>
 
631
 
 
632
            </step>
 
633
            <step>
 
634
 
 
635
              <para>
 
636
              Next, select <emphasis>"#1"</emphasis> under the <emphasis>"RAID1 device #1"</emphasis> partition. 
 
637
              </para>
 
638
 
 
639
            </step>
 
640
            <step>
 
641
 
 
642
              <para>
 
643
              Choose <emphasis>"Use as:"</emphasis>.  Then select <emphasis>"Ext4 journaling file system"</emphasis>.
 
644
              </para>
 
645
 
 
646
            </step>
 
647
            <step>
 
648
 
 
649
              <para>
 
650
              Then select the <emphasis>"Mount point"</emphasis> and choose <emphasis>"/ - the root file system"</emphasis>.
 
651
              Change any of the other options as appropriate, then select <emphasis>"Done setting up partition"</emphasis>.
 
652
              </para>
 
653
 
 
654
            </step>
 
655
            <step>
 
656
 
 
657
              <para>
 
658
              Finally, select <emphasis>"Finish partitioning and write changes to disk"</emphasis>.
 
659
              </para>
 
660
 
 
661
            </step>
 
662
          </procedure>
 
663
 
 
664
          <para>
 
665
          If you choose to place the root partition on a RAID array, the installer will then ask if you would like to boot in
 
666
          a <emphasis>degraded</emphasis> state.  See <xref linkend="raid-degraded"/> for further details.  
 
667
          </para>
 
668
 
 
669
          <para>
 
670
          The installation process will then continue normally.
 
671
          </para>
 
672
 
 
673
        </sect3>
 
674
        <sect3 id="raid-degraded" status="review">
 
675
          <title>Degraded RAID</title>
 
676
 
 
677
          <para>
 
678
          At some point in the life of the computer a disk failure event may occur.  When this happens, using Software RAID, the operating
 
679
          system will place the array into what is known as a <emphasis>degraded</emphasis> state.
 
680
          </para>
 
681
 
 
682
          <para>
 
683
          If the array has become degraded, due to the chance of data corruption, by default Ubuntu Server Edition will boot 
 
684
          to <emphasis>initramfs</emphasis> after thirty seconds.  Once the initramfs has booted there is a fifteen second 
 
685
          prompt giving you the option to go ahead and boot the system, or attempt manual recover.  Booting to the initramfs
 
686
          prompt may or may not be the desired behavior, especially if the machine is in a remote location.  Booting to a 
 
687
          degraded array can be configured several ways:
 
688
          </para>
 
689
 
 
690
          <itemizedlist>
 
691
            <listitem>
 
692
 
 
693
              <para>
 
694
              The <application>dpkg-reconfigure</application> utility can be used to configure the default behavior, and 
 
695
              during the process you will be queried about additional settings related to the array.  Such as monitoring, email 
 
696
              alerts, etc.  To reconfigure <application>mdadm</application> enter the following:  
 
697
              </para>
 
698
 
 
699
<screen>
 
700
<command>sudo dpkg-reconfigure mdadm</command>
 
701
</screen>
 
702
 
 
703
             </listitem>
 
704
            <listitem>
 
705
 
 
706
              <para>
 
707
              The <command>dpkg-reconfigure mdadm</command> process will change the <filename>/etc/initramfs-tools/conf.d/mdadm</filename>
 
708
              configuration file.  The file has the advantage of being able to pre-configure the system's behavior, and can also be manually
 
709
              edited:
 
710
              </para>
 
711
 
 
712
<programlisting>
 
713
BOOT_DEGRADED=true
 
714
</programlisting>
 
715
 
 
716
          <note>
 
717
            <para>
 
718
            The configuration file can be overridden by using a Kernel argument.
 
719
            </para>
 
720
          </note>          
 
721
 
 
722
            </listitem>
 
723
            <listitem>
 
724
    
 
725
              <para>
 
726
              Using a Kernel argument will allow the system to boot to a degraded array as well:
 
727
              </para>
 
728
 
 
729
              <itemizedlist>
 
730
                <listitem>
 
731
                  <para>
 
732
                  When the server is booting press <keycap>Shift</keycap> to open the <application>Grub</application> menu.
 
733
                  </para>
 
734
                </listitem>
 
735
                <listitem>
 
736
                  <para>
 
737
                  Press <keycap>e</keycap> to edit your kernel command options.
 
738
                  </para>
 
739
                </listitem>
 
740
                <listitem>
 
741
                  <para>
 
742
                  Press the <keycap>down</keycap> arrow to highlight the kernel line.
 
743
                  </para>
 
744
                </listitem>
 
745
                <listitem>
 
746
                  <para>
 
747
                  Add <emphasis>"bootdegraded=true"</emphasis> (without the quotes) to the end of the line.
 
748
                  </para>
 
749
                </listitem>
 
750
                <listitem>
 
751
                  <para>
 
752
                  Press <keycombo><keycap>Ctrl</keycap><keycap>x</keycap></keycombo> to boot the system.
 
753
                  </para>
 
754
                </listitem>
 
755
              </itemizedlist>
 
756
 
 
757
            </listitem>
 
758
           </itemizedlist>
 
759
 
 
760
           <para>
 
761
           Once the system has booted you can either repair the array see <xref linkend="raid-maintenance"/> for details, or copy 
 
762
           important data to another machine due to major hardware failure.
 
763
           </para>
 
764
 
 
765
        </sect3>
 
766
        <sect3 id="raid-maintenance">
 
767
          <title>RAID Maintenance</title>
 
768
 
 
769
          <para>
 
770
          The <application>mdadm</application> utility can be used to view the status of an array, add disks to an array, remove 
 
771
          disks, etc:
 
772
          </para>
 
773
 
 
774
          <itemizedlist>
 
775
            <listitem>
 
776
              <para>
 
777
              To view the status of an array, from a terminal prompt enter:
 
778
              </para>
 
779
<screen>
 
780
<command>sudo mdadm -D /dev/md0</command>
 
781
</screen>
 
782
            
 
783
              <para>
 
784
              The <emphasis>-D</emphasis> tells <application>mdadm</application> to display <emphasis>detailed</emphasis> information
 
785
              about the <filename>/dev/md0</filename> device.  Replace <filename>/dev/md0</filename> with the appropriate RAID device.
 
786
              </para>
 
787
            </listitem>
 
788
            <listitem>
 
789
              <para>
 
790
              To view the status of a disk in an array:
 
791
              </para>
 
792
<screen>
 
793
<command>sudo mdadm -E /dev/sda1</command>
 
794
</screen>
 
795
              <para>
 
796
              The output if very similar to the <command>mdadm -D</command> command, adjust <filename>/dev/sda1</filename> for each disk.
 
797
              </para>
 
798
            </listitem>
 
799
            <listitem>
 
800
              <para>
 
801
              If a disk fails and needs to be removed from an array enter:
 
802
              </para>
 
803
<screen>
 
804
<command>sudo mdadm --remove /dev/md0 /dev/sda1</command>
 
805
</screen>
 
806
              <para>
 
807
              Change <filename>/dev/md0</filename> and <filename>/dev/sda1</filename> to the appropriate RAID device and disk.
 
808
              </para>
 
809
            </listitem>
 
810
            <listitem>
 
811
              <para>
 
812
              Similarly, to add a new disk:
 
813
              </para>
 
814
<screen>
 
815
<command>sudo mdadm --add /dev/md0 /dev/sda1</command>
 
816
</screen>
 
817
            </listitem>
 
818
          </itemizedlist>
 
819
 
 
820
          <para>
 
821
          Sometimes a disk can change to a <emphasis>faulty</emphasis> state even though there is nothing physically wrong with the drive. 
 
822
          It is usually worthwhile to remove the drive from the array then re-add it.  This will cause the drive to re-sync with the array.
 
823
          If the drive will not sync with the array, it is a good indication of hardware failure.
 
824
          </para>
 
825
 
 
826
          <para>
 
827
          The <filename>/proc/mdstat</filename> file also contains useful information about the system's RAID devices:
 
828
          </para>
 
829
 
 
830
<screen>
 
831
<command>cat /proc/mdstat</command>
 
832
<computeroutput>Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
 
833
md0 : active raid1 sda1[0] sdb1[1]
 
834
      10016384 blocks [2/2] [UU]
 
835
      
 
836
unused devices: &lt;none&gt;</computeroutput>
 
837
</screen>
 
838
 
 
839
          <para>
 
840
          The following command is great for watching the status of a syncing drive:
 
841
          </para>
 
842
 
 
843
<screen>
 
844
<command>watch -n1 cat /proc/mdstat</command>
 
845
</screen>
 
846
 
 
847
          <para>
 
848
          Press <emphasis>Ctrl+c</emphasis> to stop the <application>watch</application> command.
 
849
          </para>
 
850
 
 
851
          <para>
 
852
          If you do need to replace a faulty drive, after the drive has been replaced and synced, <application>grub</application> will need to be 
 
853
          installed.  To install <application>grub</application> on the new drive, enter the following:
 
854
          </para>
 
855
 
 
856
<screen>
 
857
<command>sudo grub-install /dev/md0</command>
 
858
</screen>
 
859
 
 
860
          <para>
 
861
          Replace <filename>/dev/md0</filename> with the appropriate array device name.
 
862
          </para>
 
863
 
 
864
        </sect3>
 
865
        <sect3 id="raid-resources" status="review">
 
866
          <title>Resources</title>
 
867
 
 
868
          <para>
 
869
          The topic of RAID arrays is a complex one due to the plethora of ways RAID can be configured.  Please see the following links for 
 
870
          more information:
 
871
          </para>
 
872
 
 
873
          <itemizedlist>
 
874
            <listitem>
 
875
              <para>
 
876
              <ulink url="https://help.ubuntu.com/community/Installation#raid">Ubuntu Wiki Articles on RAID</ulink>.
 
877
              </para>
 
878
            </listitem>
 
879
            <listitem>
 
880
              <para>
 
881
              <ulink url="http://www.faqs.org/docs/Linux-HOWTO/Software-RAID-HOWTO.html">Software RAID HOWTO</ulink>
 
882
              </para>
 
883
            </listitem>
 
884
            <listitem>
 
885
              <para>
 
886
              <ulink url="http://oreilly.com/catalog/9781565927308/">Managing RAID on Linux</ulink>
 
887
              </para>
 
888
            </listitem>
 
889
          </itemizedlist>
 
890
        </sect3>
 
891
      </sect2>  
 
892
      <sect2 id="lvm" status="review">
 
893
        <title>Logical Volume Manager (LVM)</title>
 
894
 
 
895
        <para>
 
896
        Logical Volume Manger, or <emphasis>LVM</emphasis>, allows administrators to create <emphasis>logical</emphasis> volumes out of
 
897
        one or multiple physical hard disks.  LVM volumes can be created on both software RAID partitions and standard partitions 
 
898
        residing on a single disk.  Volumes can also be extended, giving greater flexibility to systems as requirements change.
 
899
        </para>
 
900
 
 
901
        <sect3 id="lvm-overview" status="review">
 
902
          <title>Overview</title>
 
903
 
 
904
          <para>
 
905
          A side effect of LVM's power and flexibility is a greater degree of complication.  Before diving into the LVM installation process,
 
906
          it is best to get familiar with some terms.
 
907
          </para>
 
908
 
 
909
          <itemizedlist>
 
910
            <listitem>
 
911
              <para>
 
912
              <emphasis>Volume Group (VG):</emphasis> contains one or several Logical Volumes (LV). 
 
913
              </para>
 
914
            </listitem>
 
915
            <listitem>
 
916
              <para>
 
917
              <emphasis>Logical Volume (LV):</emphasis> is similar to a partition in a non-LVM system.  Multiple Physical Volumes (PV) 
 
918
              can make up one LV, on top of which resides the actual EXT3, XFS, JFS, etc filesystem.
 
919
              </para>
 
920
            </listitem>
 
921
            <listitem>
 
922
              <para>
 
923
              <emphasis>Physical Volume (PV):</emphasis> physical hard disk or software RAID partition.  The Volume Group can be extended
 
924
              by adding more PVs.
 
925
              </para>
 
926
            </listitem>
 
927
          </itemizedlist>
 
928
 
 
929
        </sect3>
 
930
        <sect3 id="lvm-installation" status="review">
 
931
          <title>Installation</title>
 
932
 
 
933
          <para>
 
934
          As an example this section covers installing Ubuntu Server Edition with <filename role="directory">/srv</filename> mounted
 
935
          on a LVM volume.  During the initial install only one Physical Volume (PV) will be part of the Volume Group (VG).  Another
 
936
          PV will be added after install to demonstrate how a VG can be extended.
 
937
          </para>
 
938
 
 
939
          <para>
 
940
          There are several installation options for LVM, <emphasis>"Guided - use the entire disk and setup LVM"</emphasis> which will
 
941
          also allow you to assign a portion of the available space to LVM, <emphasis>"Guided - use entire and setup encrypted LVM"</emphasis>,
 
942
          or <emphasis>Manually</emphasis> setup the partitions and configure LVM.  At this time the only way to configure a system with 
 
943
          both LVM and standard partitions, during installation, is to use the Manual approach.
 
944
          </para>
 
945
 
 
946
          <procedure>
 
947
            <step>
 
948
 
 
949
              <para>
 
950
              Follow the installation steps until you get to the <emphasis>Partition disks</emphasis> step, then:
 
951
              </para>
 
952
 
 
953
            </step>
 
954
            <step>
 
955
 
 
956
              <para>
 
957
              At the <emphasis>"Partition Disks</emphasis> screen choose <emphasis>"Manual"</emphasis>.
 
958
              </para>
 
959
 
 
960
            </step>
 
961
            <step>
 
962
 
 
963
              <para>
 
964
              Select the hard disk and on the next screen choose "yes" to <emphasis>"Create a new empty partition table on this device"</emphasis>.
 
965
              </para>
 
966
 
 
967
            </step>
 
968
            <step>
 
969
 
 
970
              <para>
 
971
              Next, create standard <emphasis>/boot</emphasis>, <emphasis>swap</emphasis>, and <emphasis>/</emphasis> partitions with whichever
 
972
              filesystem you prefer.
 
973
              </para>
 
974
 
 
975
            </step>
 
976
            <step>
 
977
 
 
978
              <para>
 
979
              For the LVM <emphasis>/srv</emphasis>, create a new <emphasis>Logical</emphasis> partition.  Then change <emphasis>"Use as"</emphasis>
 
980
              to <emphasis>"physical volume for LVM"</emphasis> then <emphasis>"Done setting up the partition"</emphasis>.
 
981
              </para>
 
982
 
 
983
            </step>
 
984
            <step>
 
985
 
 
986
              <para>
 
987
              Now select <emphasis>"Configure the Logical Volume Manager"</emphasis> at the top, and choose <emphasis>"Yes"</emphasis> to write 
 
988
              the changes to disk.
 
989
              </para>
 
990
 
 
991
            </step>
 
992
            <step>
 
993
 
 
994
              <para>
 
995
              For the <emphasis>"LVM configuration action"</emphasis> on the next screen, choose <emphasis>"Create volume group"</emphasis>.  Enter
 
996
              a name for the VG such as <emphasis>vg01</emphasis>, or something more descriptive. After entering a name, select the partition 
 
997
              configured for LVM, and choose <emphasis>"Continue"</emphasis>.
 
998
              </para>
 
999
 
 
1000
            </step>
 
1001
            <step>
 
1002
 
 
1003
              <para>
 
1004
              Back at the <emphasis>"LVM configuration action"</emphasis> screen, select <emphasis>"Create logical volume"</emphasis>.  Select 
 
1005
              the newly created volume group, and enter a name for the new LV, for example <emphasis>srv</emphasis> since that is the intended
 
1006
              mount point.  Then choose a size, which may be the full partition because it can always be extended later. Choose 
 
1007
              <emphasis>"Finish"</emphasis> and you should be back at the main <emphasis>"Partition Disks"</emphasis> screen.    
 
1008
              </para>
 
1009
 
 
1010
            </step>
 
1011
            <step>
 
1012
 
 
1013
              <para>
 
1014
              Now add a filesystem to the new LVM.  Select the partition under <emphasis>"LVM VG vg01, LV srv"</emphasis>, or whatever name
 
1015
              you have chosen, the choose <emphasis>Use as</emphasis>.  Setup a file system as normal selecting <emphasis>/srv</emphasis> as
 
1016
              the mount point.  Once done, select <emphasis>"Done setting up the partition"</emphasis>.
 
1017
              </para>
 
1018
 
 
1019
            </step>
 
1020
            <step>
 
1021
 
 
1022
              <para>
 
1023
              Finally, select <emphasis>"Finish partitioning and write changes to disk"</emphasis>.  Then confirm the changes and continue
 
1024
              with the rest of the installation.
 
1025
              </para>
 
1026
 
 
1027
            </step>
 
1028
          </procedure>
 
1029
 
 
1030
          <para>
 
1031
          There are some useful utilities to view information about LVM: 
 
1032
          </para>
 
1033
 
 
1034
          <itemizedlist>
 
1035
            <listitem><para><emphasis>vgdisplay:</emphasis> shows information about Volume Groups.</para></listitem>
 
1036
            <listitem><para><emphasis>lvdisplay:</emphasis> has information about Logical Volumes.</para></listitem>
 
1037
            <listitem><para><emphasis>pvdisplay:</emphasis> similarly displays information about Physical Volumes.</para></listitem>
 
1038
          </itemizedlist>
 
1039
 
 
1040
        </sect3>
 
1041
        <sect3 id="lvm-extending" status="review">
 
1042
          <title>Extending Volume Groups</title>
 
1043
 
 
1044
          <para>
 
1045
          Continuing with <emphasis>srv</emphasis> as an LVM volume example, this section covers adding a second hard disk, creating
 
1046
          a Physical Volume (PV), adding it to the volume group (VG), extending the logical volume <filename role="directory">srv</filename>
 
1047
          and finally extending the filesystem. This example assumes a second hard disk has been added to the system. This hard disk will be 
 
1048
          named <filename>/dev/sdb</filename> in our example. BEWARE: make sure you don't already have an existing <filename>/dev/sdb</filename>
 
1049
          before issuing the commands below. You could lose some data if you issue those commands on a non-empty disk. In our example we will 
 
1050
          use the entire disk as a physical volume (you could choose to create partitions and use them as different physical volumes)
 
1051
          </para>
 
1052
 
 
1053
          <procedure>
 
1054
            <step>
 
1055
 
 
1056
              <para>
 
1057
              First, create the physical volume, in a terminal execute:
 
1058
              </para>
 
1059
 
 
1060
<screen>
 
1061
<command>sudo pvcreate /dev/sdb</command>
 
1062
</screen>
 
1063
 
 
1064
            </step>
 
1065
            <step>
 
1066
 
 
1067
              <para>
 
1068
              Now extend the Volume Group (VG):
 
1069
              </para>
 
1070
 
 
1071
<screen>
 
1072
<command>sudo vgextend vg01 /dev/sdb</command>
 
1073
</screen>
 
1074
 
 
1075
            </step>
 
1076
            <step>
 
1077
 
 
1078
              <para>
 
1079
              Use <application>vgdisplay</application> to find out the free physical extents - Free PE / size (the size you can allocate). 
 
1080
              We will assume a free size of 511 PE (equivalent to 2GB with a PE size of 4MB) and we will use the whole free space available.
 
1081
              Use your own PE and/or free space.
 
1082
              </para>
 
1083
 
 
1084
              <para>
 
1085
              The Logical Volume (LV) can now be extended by different methods, we will only see how to use the PE to extend the LV:
 
1086
              </para>
 
1087
 
 
1088
<screen>
 
1089
<command>sudo lvextend /dev/vg01/srv -l +511</command>
 
1090
</screen>
 
1091
 
 
1092
              <para>
 
1093
              The <emphasis>-l</emphasis> option allows the LV to be extended using PE.
 
1094
              The <emphasis>-L</emphasis> option allows the LV to be extended using Meg, Gig, Tera, etc bytes.
 
1095
              </para>
 
1096
 
 
1097
            </step>
 
1098
            <step>
 
1099
 
 
1100
              <para>
 
1101
              Even though you are supposed to be able to <emphasis>expand</emphasis> an ext3 or ext4 filesystem without unmounting it first, 
 
1102
              it may be a good practice to unmount it anyway and check the filesystem, so that you don't mess up the day you want to reduce
 
1103
              a logical volume (in that case unmounting first is compulsory).
 
1104
              </para>
 
1105
 
 
1106
              <para>
 
1107
              The following commands are for an <emphasis>EXT3</emphasis> or <emphasis>EXT4</emphasis> filesystem. If you are
 
1108
              using another filesystem there may be other utilities available.
 
1109
              </para>
 
1110
 
 
1111
<screen>
 
1112
<command>sudo umount /srv</command>
 
1113
<command>sudo e2fsck -f /dev/vg01/srv</command>
 
1114
</screen>
 
1115
 
 
1116
              <para>
 
1117
              The <emphasis>-f</emphasis> option of <application>e2fsck</application> forces checking even if the system seems clean.
 
1118
              </para>
 
1119
 
 
1120
            </step>
 
1121
            <step>
 
1122
 
 
1123
              <para>
 
1124
              Finally, resize the filesystem:
 
1125
              </para>
 
1126
 
 
1127
<screen>
 
1128
<command>sudo resize2fs /dev/vg01/srv</command>
 
1129
</screen>
 
1130
 
 
1131
            </step>
 
1132
            <step>
 
1133
 
 
1134
              <para>
 
1135
              Now mount the partition and check its size.
 
1136
              </para>
 
1137
 
 
1138
<screen>
 
1139
<command>mount /dev/vg01/srv /srv &amp;&amp; df -h /srv</command>
 
1140
</screen>
 
1141
 
 
1142
            </step>
 
1143
          </procedure>
 
1144
 
 
1145
        </sect3>
 
1146
        <sect3 id="lvm-resources" status="review">
 
1147
          <title>Resources</title>
 
1148
 
 
1149
          <itemizedlist>
 
1150
            <listitem>
 
1151
              <para>
 
1152
              See the <ulink url="https://help.ubuntu.com/community/Installation#lvm">Ubuntu Wiki LVM Articles</ulink>.
 
1153
              </para>
 
1154
            </listitem>
 
1155
            <listitem>
 
1156
              <para>
 
1157
              See the <ulink url="http://tldp.org/HOWTO/LVM-HOWTO/index.html">LVM HOWTO</ulink> for more information.
 
1158
              </para>
 
1159
            </listitem>
 
1160
            <listitem>
 
1161
              <para>
 
1162
              Another good article is 
 
1163
              <ulink url="http://www.linuxdevcenter.com/pub/a/linux/2006/04/27/managing-disk-space-with-lvm.html">Managing Disk Space with LVM</ulink>
 
1164
              on O'Reilly's linuxdevcenter.com site.
 
1165
              </para>
 
1166
            </listitem>
 
1167
            <listitem>
 
1168
              <para>
 
1169
              For more information on <application>fdisk</application> see the
 
1170
              <ulink url="http://manpages.ubuntu.com/manpages/&distro-short-codename;/en/man8/fdisk.8.html">fdisk man page</ulink>.
 
1171
              </para>
 
1172
            </listitem>
 
1173
          </itemizedlist>
 
1174
        </sect3>
 
1175
      </sect2>     
 
1176
    </sect1>
 
1177
</chapter>