1
<!-- retain these comments for translator revision tracking -->
2
<!-- original version: 33725 -->
6
<!-- <title>Configuring Logical Volume Manager (LVM)</title> -->
7
<title>Configurazione del Logical Volume Manager (LVM)</title>
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.
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
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.
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.
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 — 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>.
58
Quando ci si accorge che per la propria partizione <filename>/home</filename>
59
si ha bisogno di più degli attuali 160 GB si può semplicemente
60
aggiungere un disco da 300 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 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.
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>.
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>.
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
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).