~ubuntu-branches/ubuntu/karmic/installation-guide/karmic

« back to all changes in this revision

Viewing changes to it/using-d-i/modules/lvmcfg.xml

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2007-07-23 15:52:44 UTC
  • mfrom: (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070723155244-xayq1rzu8rllvngy
Tags: 20070319ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Build only English (for now, until we figure out how to avoid trashing
    translations quite so badly with Ubuntu branding etc.).
  - Build only Ubuntu architectures (amd64, hppa, i386, ia64, powerpc,
    sparc).
  - Extensive (although possibly incomplete) Ubuntu branding, adjustments
    for our mirror layout, etc.
  - Add "Ubuntu and Debian" and "What is Ubuntu?" section, text borrowed
    from the Ubuntu web site. Disable the "What is Debian GNU/Linux?"
    section.
  - Direct installation reports to ubuntu-users for now.
  - Adjust various memory and disk space requirements. Talk about the
    default Ubuntu desktop and Ubuntu tasks rather than Debian tasks.
  - Document mounting /sys in various places.
  - Unset supports-floppy-boot for all our architectures.
  - Add a few more supports-floppy-boot and bootable-usb conditionals.
  - Document our root password and sudo arrangements.
  - Document netboot-style USB images. Still mention the hd-media images,
    but they're downplayed since many USB sticks are too small for a full
    Ubuntu ISO image.
  - Document Kickstart installations (currently only the basics, a
    reference to Red Hat's documentation, and the differences from
    Anaconda).
  - Note that an empty preseed file is equivalent to a normal manual
    installation.
  - Rename doc-base.TEMPLATE to TEMPLATE.doc-base.
  - Update keyboard preseeding documentation for console-setup.
  - Update chroot-install guide for console-setup and language packs; add
    a bit more advice about installing grub.
  - Remove text talking about devfs-style device names, which are no
    longer supported.
  - Fix links to web copies of installation manual and example preseed
    file.
* Bump kernelversion to 2.6.22.
* Bump x11ver to 7.3.
* Bump GNOME version to 2.20.
* Bump release version and names for Gutsy (LP: #119177).
* Refer to the standard task rather than ubuntu-standard.
* Disable documentation of the GTK frontend.
* Remove latex-hangul-ucs-hlatex build-dependency, as we don't build for
  Korean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- retain these comments for translator revision tracking -->
2
 
<!-- original version: 33725 -->
3
 
 
4
 
 
5
 
   <sect3 id="lvmcfg">
6
 
   <!-- <title>Configuring Logical Volume Manager (LVM)</title> -->
7
 
   <title>Configurazione del Logical Volume Manager (LVM)</title>
8
 
<para>
9
 
 
10
 
<!--
11
 
If you are working with computers at the level of system administrator
12
 
or <quote>advanced</quote> user, you have surely seen the situation
13
 
where some disk partition (usually the most important one) was short on
14
 
space, while some other partition was grossly underused and you had to
15
 
manage this situation with moving stuff around, symlinking, etc.
16
 
-->
17
 
 
18
 
Se si lavora con i computer come amministratore di sistema o come utente
19
 
<quote>esperto</quote> sicuramente si conoscerà la situazione in cui
20
 
qualche partizione del disco (di solito quella più importante) è quasi
21
 
completamente occupata, mentre altre partizioni sono abbondantemente
22
 
sottoutilizzate che si gestisce spostando i dati, facendo dei link
23
 
simbolici, ecc.
24
 
 
25
 
</para><para>
26
 
 
27
 
<!--
28
 
To avoid the described situation you can use Logical Volume Manager
29
 
(LVM). Simply said, with LVM you can combine your partitions
30
 
(<firstterm>physical volumes</firstterm> in LVM lingo) to form
31
 
a virtual disc (so called <firstterm>volume group</firstterm>), which
32
 
can then be divided into virtual partitions (<firstterm>logical
33
 
volumes</firstterm>). The point is that logical volumes (and of course
34
 
underlying volume groups) can span across several physical discs.
35
 
-->
36
 
 
37
 
Per evitare la situazione descritta sopra si può usare un Logical Volume
38
 
Manager (LVM). In poche parole con LVM si possono combinare le partizioni
39
 
(i <firstterm>volumi fisici</firstterm> nel gergo di LVM) in un disco
40
 
virtuale (chiamato <firstterm>gruppo di volumi</firstterm>) che poi può
41
 
essere diviso in partizioni virtuali (i <firstterm>volumi logici</firstterm>).
42
 
La cosa importante è che i volumi logici (e ovviamente i gruppi di volumi
43
 
sottostanti) possono estendersi su più dischi fisici.
44
 
 
45
 
</para><para>
46
 
 
47
 
<!--
48
 
Now when you realize you need more space for your old 160GB
49
 
<filename>/home</filename> partition, you can simply add a new 300GB
50
 
disc to the computer, join it with your existing volume group and then
51
 
resize the logical volume which holds your <filename>/home</filename>
52
 
filesystem and voila &mdash; your users have some room again on their
53
 
renewed 460GB partition.  This example is of course a bit
54
 
oversimplified. If you haven't read it yet, you should consult the
55
 
<ulink url="&url-lvm-howto;">LVM HOWTO</ulink>.
56
 
-->
57
 
 
58
 
Quando ci si accorge che per la propria partizione <filename>/home</filename>
59
 
si ha bisogno di più degli attuali 160&nbsp;GB si può semplicemente
60
 
aggiungere un disco da 300&nbsp;GB al computer, unirlo al gruppo di
61
 
volumi esistente e infine ridimensionare il volume logico che contiene
62
 
il filesystem <filename>/home</filename>; adesso gli utenti avranno a
63
 
disposizione una nuova partizione da 460&nbsp;GB. Questo esempio è stato
64
 
semplificato al massimo. Se ancora non si è letto
65
 
<ulink url="&url-lvm-howto;">LVM HOWTO</ulink> si consiglia di farlo.
66
 
 
67
 
</para><para>
68
 
 
69
 
<!--
70
 
LVM setup in &d-i; is quite simple. At first, you have to mark your
71
 
partitions to be used as physical volumes for LVM. (This is done in
72
 
<command>partman</command> in the <guimenu>Partition
73
 
settings</guimenu> menu where you should select <menuchoice>
74
 
<guimenu>Use as:</guimenu> <guimenuitem>physical volume for
75
 
LVM</guimenuitem> </menuchoice>.) Then start the
76
 
<command>lvmcfg</command> module (either directly from
77
 
<command>partman</command> or from the &d-i;'s main menu) and combine
78
 
physical volumes to volume group(s) under the <guimenuitem>Modify
79
 
volume groups (VG)</guimenuitem> menu. After that, you should create
80
 
logical volumes on the top of volume groups from the menu
81
 
<guimenuitem>Modify logical volumes (LV)</guimenuitem>.
82
 
-->
83
 
 
84
 
La configurazione di LVM con il &d-i; è abbastanza semplice. Come prima
85
 
cosa si devono marcare le partizioni da usare come volumi fisici per LVM
86
 
(questo si può fare con <command>partman</command>, nel menu
87
 
<guimenu>Impostazioni della partizione</guimenu> scegliere <menuchoice>
88
 
<guimenu>Usato come:</guimenu> <guimenuitem>volume fisico per
89
 
LVM</guimenuitem> </menuchoice>). Poi avviare il modulo
90
 
<command>lvmcfg</command> (direttamente da <command>partman</command>
91
 
oppure dal menu principale del &d-i;) e combinare i volumi fisici in uno
92
 
o più gruppi di volumi con il menu <guimenuitem>Modificare i gruppi di
93
 
volumi (VG)</guimenuitem>. Infine, sopra i gruppi di volumi, si possono
94
 
creare i volumi logici usando il menu <guimenuitem>Modificare i volumi
95
 
logici (LV)</guimenuitem>.
96
 
 
97
 
</para><para>
98
 
 
99
 
<!--
100
 
After returning from <command>lvmcfg</command> back to
101
 
<command>partman</command>, you will see any created logical volumes
102
 
in the same way as ordinary partitions (and you should treat them like
103
 
that).
104
 
-->
105
 
 
106
 
Al rientro in <command>partman</command> da <command>lvmcfg</command>
107
 
si possono vedere tutti i volumi logici appena creati elencati come se
108
 
fossero delle normali partizioni (e devono essere trattati come tali).
109
 
 
110
 
</para>
111
 
   </sect3>