差分
LVMの追加方法
,/* LVの拡張 */
=== LVの拡張 ===
<ttpre class="bash">
# lvdisplay /dev/vg_c0/lv_root
--- Logical volume ---
- currently set to 256
Block device 253:0
</ttpre>
コマンドlvextendを使いlv_rootに容量を追加します。
現在VGで利用できるPEの量は382なので、そこから300を利用します。
<ttpre class="bash">
# lvextend -l +300 /dev/vg_c0/lv_root
Extending logical volume lv_root to 7.74 GiB
Logical volume lv_root successfully resized
</ttpre>
コマンドlvscanを使って確認をします。
<ttpre class="bash">
# lvscan
ACTIVE '/dev/vg_c0/lv_root' [7.74 GiB] inherit
...
</ttpre>
=== ファイルシステムの拡張 ===