summaryrefslogtreecommitdiff
path: root/it/using-d-i/modules/partman-lvm.xml
blob: cd213d4d5443de0425e6dbc950fa47196d311f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!-- retain these comments for translator revision tracking -->
<!-- original version: 56326 -->


   <sect3 id="partman-lvm">
   <!-- <title>Configuring the Logical Volume Manager (LVM)</title> -->
   <title>Configurazione del Logical Volume Manager (LVM)</title>
<para>

<!--
If you are working with computers at the level of system administrator
or <quote>advanced</quote> user, you have surely seen the situation
where some disk partition (usually the most important one) was short on
space, while some other partition was grossly underused and you had to
manage this situation by moving stuff around, symlinking, etc.
-->

Se si lavora con i computer come amministratore di sistema o come utente
<quote>esperto</quote> sicuramente si conoscerà la situazione in cui
qualche partizione del disco (di solito quella più importante) è quasi
completamente occupata, mentre altre partizioni sono abbondantemente
sottoutilizzate che si gestisce spostando i dati, facendo dei link
simbolici, ecc.

</para><para>

<!--
To avoid the described situation you can use Logical Volume Manager
(LVM). Simply said, with LVM you can combine your partitions
(<firstterm>physical volumes</firstterm> in LVM lingo) to form
a virtual disk (so called <firstterm>volume group</firstterm>), which
can then be divided into virtual partitions (<firstterm>logical
volumes</firstterm>). The point is that logical volumes (and of course
underlying volume groups) can span across several physical disks.
-->

Per evitare la situazione descritta sopra si può usare un Logical Volume
Manager (LVM). In poche parole con LVM si possono combinare le partizioni
(i <firstterm>volumi fisici</firstterm> nel gergo di LVM) in un disco
virtuale (chiamato <firstterm>gruppo di volumi</firstterm>) che poi può
essere diviso in partizioni virtuali (i <firstterm>volumi logici</firstterm>).
La cosa importante è che i volumi logici (e ovviamente i gruppi di volumi
sottostanti) possono estendersi su più dischi fisici.

</para><para>

<!--
Now when you realize you need more space for your old 160GB
<filename>/home</filename> partition, you can simply add a new 300GB
disk to the computer, join it with your existing volume group and then
resize the logical volume which holds your <filename>/home</filename>
filesystem and voila &mdash; your users have some room again on their
renewed 460GB partition.  This example is of course a bit
oversimplified. If you haven't read it yet, you should consult the
<ulink url="&url-lvm-howto;">LVM HOWTO</ulink>.
-->

Quando ci si accorge che per la propria partizione <filename>/home</filename>
si ha bisogno di più degli attuali 160&nbsp;GB si può semplicemente
aggiungere un disco da 300&nbsp;GB al computer, unirlo al gruppo di
volumi esistente e infine ridimensionare il volume logico che contiene
il filesystem <filename>/home</filename>; adesso gli utenti avranno a
disposizione una nuova partizione da 460&nbsp;GB. Questo esempio è stato
semplificato al massimo. Se ancora non si è letto
<ulink url="&url-lvm-howto;">LVM HOWTO</ulink> si consiglia di farlo.

</para><para>

<!--
LVM setup in &d-i; is quite simple and completely supported inside
<command>partman</command>. First, you have to mark the partition(s)
to be used as physical volumes for LVM. This is done in the
<guimenu>Partition settings</guimenu> menu where you should select
<menuchoice> <guimenu>Use as:</guimenu> <guimenuitem>physical volume
for LVM</guimenuitem> </menuchoice>.
-->

La configurazione di LVM con il &d-i; è abbastanza semplice e completamente
supportata da <command>partman</command>. Come prima cosa si devono marcare
le partizioni da usare come volumi fisici per LVM, questo si può fare dal
menu <guimenu>Impostazioni della partizione</guimenu> scegliendo <menuchoice>
<guimenu>Usato come:</guimenu> <guimenuitem>volume fisico per
LVM</guimenuitem> </menuchoice>.

</para><para>

<!--
When you return to the main <command>partman</command> screen, you will see
a new option <guimenuitem>Configure the Logical Volume Manager</guimenuitem>.
When you select that, you will first be asked to confirm pending changes to
the partition table (if any) and after that the LVM configuration menu will
be shown. Above the menu a summary of the LVM configuration is shown. The
menu itself is context sensitive and only shows valid actions. The possible
actions are:
-->

Poi, tornando al menu principale di <command>partman</command>, sarà
visibile una nuova voce <guimenuitem>Configurare il Logical Volume
Manager</guimenuitem>. Quando viene selezionata è richiesto di confermare
(se presenti) le modifiche alla tabella delle partizioni ancora in sospeso
e poi è mostrato il menu di configurazione del LVM. Prima del menu è
mostrato un riepilogo della configurazione del LVM. Il contenuto del menu
dipende dal contesto quindi mostra solo le azioni valide. Le azioni
possibili sono:

<itemizedlist>
  <listitem><para>
  <!--
    <guimenuitem>Display configuration details</guimenuitem>:
    shows LVM device structure, names and sizes of logical volumes and more
  -->
	<guimenuitem>Mostra dettagli di configurazione</guimenuitem>: mostra
	struttura, nomi e dimensioni del volume logico e altre informazioni
  </para></listitem>
  <listitem><para>
  <!--
    <guimenuitem>Create volume group</guimenuitem>
  -->
	<guimenuitem>Creare i gruppi di volumi</guimenuitem>
  </para></listitem>
  <listitem><para>
  <!--
    <guimenuitem>Create logical volume</guimenuitem>
  -->
	<guimenuitem>Creare un volume logico</guimenuitem>
  </para></listitem>
  <listitem><para>
  <!--
    <guimenuitem>Delete volume group</guimenuitem>
  -->
	<guimenuitem>Cancellare i gruppi di volumi</guimenuitem>
  </para></listitem>
  <listitem><para>
  <!--
    <guimenuitem>Delete logical volume</guimenuitem>
  -->
	<guimenuitem>Cancellare il volume logico</guimenuitem>
  </para></listitem>
  <listitem><para>
  <!--
    <guimenuitem>Extend volume group</guimenuitem>
  -->
	<guimenuitem>Estendere il gruppo di volumi</guimenuitem>
  </para></listitem>
  <listitem><para>
  <!--
    <guimenuitem>Reduce volume group</guimenuitem>
  -->
	<guimenuitem>Ridurre il gruppo di volumi</guimenuitem>
  </para></listitem>
  <listitem><para>
  <!--
    <guimenuitem>Finish</guimenuitem>:
    return to the main <command>partman</command> screen
  -->
	<guimenuitem>Terminare</guimenuitem>: ritorna al menu principale
	di <command>partman</command>
  </para></listitem>
</itemizedlist>

</para><para>

<!--
Use the options in that menu to first create a volume group and then create
your logical volumes inside it.
-->

Usare le voci nel menu per creare un gruppo di volumi e poi per creare dei
volumi logici al suo interno.

</para><para>

<!--
After you return to the main <command>partman</command> screen, any created
logical volumes will be displayed in the same way as ordinary partitions
(and you should treat them as such).
-->

Al rientro nel menu principale di <command>partman</command> tutti i volumi
logici sono elencati come se fossero delle normali partizioni (e devono
essere trattati come tali).

</para>
   </sect3>