summaryrefslogtreecommitdiff
path: root/it/using-d-i/modules/lvmcfg.xml
blob: 0c765075b605aaa81c6b4ad05a2b9700d54e472d (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
<!-- retain these comments for translator revision tracking -->
<!-- original version: 33725 -->


   <sect3 id="lvmcfg">
   <!-- <title>Configuring 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 with 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 disc (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 discs.
-->

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
disc 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
l'<ulink url="&url-lvm-howto;">LVM HOWTO</ulink> si consiglia di farlo.

</para><para>

<!--
LVM setup in &d-i; is quite simple. At first, you have to mark your
partitions to be used as physical volumes for LVM. (This is done in
<command>partman</command> in the <guimenu>Partition
settings</guimenu> menu where you should select <menuchoice>
<guimenu>Use as:</guimenu> <guimenuitem>physical volume for
LVM</guimenuitem> </menuchoice>.) Then start the
<command>lvmcfg</command> module (either directly from
<command>partman</command> or from the &d-i;'s main menu) and combine
physical volumes to volume group(s) under the <guimenuitem>Modify
volume groups (VG)</guimenuitem> menu. After that, you should create
logical volumes on the top of volume groups from the menu
<guimenuitem>Modify logical volumes (LV)</guimenuitem>.
-->

La configurazione di LVM con il &d-i; è abbastanza semplice. Come prima
cosa si devono marcare le partizioni da usare come volumi fisici per LVM
(questo si può fare con <command>partman</command>, nel menu
<guimenu>Impostazioni della partizione</guimenu> scegliere <menuchoice>
<guimenu>Usato come:</guimenu> <guimenuitem>volume fisico per
LVM</guimenuitem> </menuchoice>). Poi avviare il modulo
<command>lvmcfg</command> (direttamente da <command>partman</command>
oppure dal menu principale del &d-i;) e combinare i volumi fisici in uno
o più gruppi di volumi con il menu <guimenuitem>Modificare i gruppi di
volumi (VG)</guimenuitem>. Infine, sopra i gruppi di volumi, si possono
creare i volumi logici usando il menu <guimenuitem>Modificare i volumi
logici (LV)</guimenuitem>.

</para><para>

<!--
After returning from <command>lvmcfg</command> back to
<command>partman</command>, you will see any created logical volumes
in the same way as ordinary partitions (and you should treat them like
that).
-->

Al rientro in <command>partman</command> da <command>lvmcfg</command>
si possono vedere tutti i volumi logici appena creati elencati come se
fossero delle normali partizioni (e devono essere trattati come tali).

</para>
   </sect3>