1
<?xml version="1.0" encoding="EUC-JP"?>
2
<!-- retain these comments for translator revision tracking -->
3
<!-- original version: 30207 -->
6
<title>�����ܥ�塼��ޥ͡����� (LVM) ������</title>
10
If you are working with computers at the level of system administrator
11
or <quote>advanced</quote> user, you have surely seen the situation
12
where some disk partition (usually the most important one) was short on
13
space, while some other partition was grossly underused and you had to
14
manage this situation with moving stuff around, symlinking, etc.
16
�����ƥ�����Ԥ�<quote>���</quote>�桼���Ȥ��ƥ���ԥ塼����ư�����Ƥ���ȡ�
17
�ǥ�������Τ���ѡ��ƥ������ (�����Ƥ��Ǥ���פʤ��) ����ʤ��ʤꡢ
18
¾�Υѡ��ƥ�����������Ū�ˤ��ޤ���Ѥ���Ƥ��ʤ��Ȥ������������μ¤ˤ���ޤ���
20
���Ƥ��ư�����ꥷ��ܥ�å����ĥ��Ȥ��ä�������Ԥ����Ȥˤʤ�ޤ���
25
To avoid the described situation you can use Logical Volume Manager
26
(LVM). Simply said, with LVM you can combine your partitions
27
(<firstterm>physical volumes</firstterm> in LVM lingo) to form
28
a virtual disc (so called <firstterm>volume group</firstterm>), which
29
can then be divided into virtual partitions (<firstterm>logical
30
volumes</firstterm>). The point is that logical volumes (and of course
31
underlying volume groups) can span across several physical discs.
33
�嵭�Τ褦�ʾ������뤿��ˡ������ܥ�塼��ޥ͡����� (LVM) �����ѤǤ��ޤ���
34
��ñ�˸����ȡ�LVM �Ǥ�ʣ���Υѡ��ƥ������
35
(LVM �Ѹ�� <firstterm>ʪ���ܥ�塼�� (physical volumes)</firstterm>)
36
���ۥǥ������η��˷��Ǥ������Υǥ��������ۥѡ��ƥ������
37
(<firstterm>�����ܥ�塼�� (logical volumes)</firstterm>) ��ʬ��Ǥ��ޤ���
38
�ݥ���Ȥϡ������ܥ�塼��� (������β��Υܥ�塼�॰�롼�פ�)��
39
ʣ����ʪ���ǥ�������ޤ����ä�����Ǥ���ȸ������ȤǤ���
44
Now when you realize you need more space for your old 160GB
45
<filename>/home</filename> partition, you can simply add a new 300GB
46
disc to the computer, join it with your existing volume group and then
47
resize the logical volume which holds your <filename>/home</filename>
48
filesystem and voila — your users have some room again on their
49
renewed 460GB partition. This example is of course a bit
50
oversimplified. If you haven't read it yet, you should consult the
51
<ulink url="&url-lvm-howto;">LVM HOWTO</ulink>.
53
�㤨�С��Ť� 160GB ��<filename>/home</filename> �ѡ��ƥ������ˡ�
54
��ä����̤��ɲä��뤳�Ȥ�ͤ��ޤ���
55
ñ�ˤ��ʤ��Ͽ����� 300GB �Υǥ�������ԥ塼�����ɲä���
56
��¸�Υܥ�塼�॰�롼�פ�����ޤ���
57
���θ� <filename>/home</filename> �ե����륷���ƥ���ݻ������ޤ�
58
�����ܥ�塼���ꥵ�������ޤ���
59
�桼���Ϲ������줿 460GB �Υѡ��ƥ�������
60
������Ʊ�������Ȥ��ƻȤ����Ȥ��Ǥ��ޤ���
61
���������Ͼ���ñ��ˤ������Ǥ���
63
<ulink url="&url-lvm-howto;">LVM HOWTO</ulink> ��Ĵ�٤�٤��Ǥ���
68
LVM setup in &d-i; is quite simple. At first, you have to mark your
69
partitions to be used as physical volumes for LVM. (This is done in
70
<command>partman</command> in the <guimenu>Partition
71
settings</guimenu> menu where you should select <menuchoice>
72
<guimenu>Use as:</guimenu> <guimenuitem>physical volume for
73
LVM</guimenuitem> </menuchoice>.) Then start the
74
<command>lvmcfg</command> module (either directly from
75
<command>partman</command> or from the &d-i;'s main menu) and combine
76
physical volumes to volume group(s) under the <guimenuitem>Modify
77
volume groups (VG)</guimenuitem> menu. After that, you should create
78
logical volumes on the top of volume groups from the menu
79
<guimenuitem>Modify logical volumes (LV)</guimenuitem>.
81
&d-i; �Ǥ� LVM �Υ��åȥ��åפϤ��ʤꥷ��ץ�Ǥ���
82
�Ϥ�ˡ��ѡ��ƥ������� LVM ��ʪ���ܥ�塼��Ȥ��ƻ��Ѥ���褦��
84
(<guimenu>Partition settings</guimenu> ��˥塼��
85
<command>partman</command> ���
86
<menuchoice> <guimenu>Use as:</guimenu> <guimenuitem>physical volume for
87
LVM</guimenuitem> </menuchoice> �����֤��ȤǹԤ��ޤ�)
88
���������� <command>lvmcfg</command> �⥸�塼��� (<command>partman</command>
89
����ľ�ܵ�ư�Ǥ� &d-i; �Υᥤ���˥塼����Ǥ�) ��ư����
90
<guimenuitem>Modify volume groups (VG)</guimenuitem> ��˥塼�ǡ�
91
ʪ���ܥ�塼���ܥ�塼�॰�롼�פ˷�礷�ޤ���
92
���θ塢<guimenuitem>Modify logical volumes (LV)</guimenuitem> ����
93
�ܥ�塼�॰�롼�פ���Ƭ�������ܥ�塼���������Ƥ���������
95
<note arch="powerpc" condition="sarge"><para>
98
There is no widely accepted standard to identify partitions containing
99
LVM data on Apple Power Macintosh hardware. On this particular
100
hardware, the above procedure for creating physical volumes and volume
101
groups will not work. There is a good workaround for this limitation,
102
provided you are familiar with the underlying LVM tools.
104
Apple Power Macintosh �Υϡ��ɥ������ǡ�
105
LVM �ǡ����Τ���ѡ��ƥ����������ꤹ�����Ū��ɸ��Ϥ���ޤ���
106
�����ü�ʥϡ��ɥ������Ǥϡ�
107
ʪ���ܥ�塼���ܥ�塼�॰�롼�פ��������Τ˾�Ҥμ��ǤϤǤ��ޤ���
108
�⤷����Ū�� LVM �ġ���˾ܤ�����С��������¤������ˡ������ޤ���
113
To install using logical volumes on Power Macintosh hardware you
114
should create all the disk partitions for your logical volumes as
115
usual. In the <guimenu>Partition settings</guimenu> menu you should
116
choose <menuchoice><guimenu>Use as:</guimenu> <guimenuitem>Do Not
117
Use</guimenuitem></menuchoice> for these partitions (you will not be
118
offered the option to use the partition as a physical volume). When
119
you are done with creating all your partitions, you should start the
120
logical volume manager as usual. However, since no physical volumes
121
have been created you must now access the command shell available on
122
the second virtual terminal (see <xref linkend="shell"/>) and create
125
Power Macintosh �ϡ��ɥ�������������ܥ�塼��˥��ȡ��뤹��ˤϡ�
126
���٤ƤΥǥ������ѡ��ƥ��������̾�������ܥ�塼��Ǻ������Ƥ���������
127
���Υѡ��ƥ������� <guimenu>Partition settings</guimenu> ��˥塼�ǡ�
128
<menuchoice><guimenu>Use as:</guimenu> <guimenuitem>Do Not
129
Use</guimenuitem></menuchoice> �����Ƥ���������
130
(ʪ���ܥ�塼��Ȥ��ƥѡ��ƥ����������������ˡ�Ϥ���ޤ���)
131
���٤ƤΥѡ��ƥ���������������ä��顢�̾��̤������ܥ�塼��ޥ͡������
132
��ư���Ƥ���������������ʪ���ܥ�塼��κ����Ƥ��ʤ����ᡢ
133
���٤��̤β���ü����Υ��ޥ�ɥ�����˥���������
134
(<xref linkend="shell"/> ����)����ư�Ǻ������ʤ���Фʤ�ޤ���
139
Use the <command>pvcreate</command> command at the shell command prompt
140
to create a physical volume on each of your chosen partitions. Then use
141
the <command>vgcreate</command> command to create each volume group
142
you want. You can safely ignore any errors about incorrect metadata
143
area header checksums and fsync failures while doing this. When you
144
have finished creating all your volume groups, you should go back to
145
the first virtual terminal and skip directly the the
146
<command>lvmcfg</command> menu items for logical volume
147
management. You will see your volume groups and you can create the
148
logical volumes you need as usual.
150
�����륳�ޥ�ɥץ���ץȤ� <command>pvcreate</command> ���ޥ�ɤ���Ѥ���
151
�����ѡ��ƥ�������ʪ���ܥ�塼���������Ƥ���������
152
���θ塢<command>vgcreate</command> ���ޥ�ɤ�ɬ�פʥܥ�塼�॰�롼�פ�
153
�������Ƥ������������δ֡��֥�ǡ������ꥢ�إå������å����ब�����פ�
154
��fsync ���顼�פȤ��ä����顼�ϰ�����̵��Ǥ��ޤ���
155
�ܥ�塼�॰�롼�פ�������������顢�ǽ�β���ü������ꡢ
156
<command>lvmcfg</command> �������ܥ�塼������ι��ܤ�ľ�����Ƥ���������
157
�����˥ܥ�塼�॰�롼�פ�����ޤ��Τǡ�
158
����̾��̤������ܥ�塼���������Ƥ���������
165
After returning from <command>lvmcfg</command> back to
166
<command>partman</command>, you will see any created logical volumes
167
in the same way as ordinary partitions (and you should treat them like
170
<command>lvmcfg</command> ���� <command>partman</command> �����ȡ�
171
�̾�Υѡ��ƥ�������Ʊ�ͤ˺������������ܥ�塼�ब������Ϥ��Ǥ���
172
(�̾�Υѡ��ƥ�������Ʊ�ͤ˰��äƤ�������)