このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 02 Apache2で自己認証ssl [中間証明書の整合性確認]
最近の更新
VGを増やす
# pvcreate --metadatasize 50M /dev/xvda3 Physical volume "/dev/xvda3" successfully created # pvs PV VG Fmt Attr PSize PFree /dev/xvda2 VolGroup00 lvm2 a-- 4.88g 0 /dev/xvda3 lvm2 --- 45.00g 45.00g # vgextend VolGroup00 /dev/xvda3 Volume group "VolGroup00" successfully extended # vgs VG #PV #LV #SN Attr VSize VFree VolGroup00 2 2 0 wz--n- 49.84g 44.97g # lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert LogVol00 VolGroup00 -wi-ao---- 2.88g LogVol01 VolGroup00 -wi-ao---- 2.00g # lvextend -l +100%FREE /dev/VolGroup00/LogVol00 Size of logical volume VolGroup00/LogVol00 changed from 2.88 GiB (92 extents) to 47.84 GiB (1531 extents). Logical volume LogVol00 successfully resized # lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert LogVol00 VolGroup00 -wi-ao---- 47.84g LogVol01 VolGroup00 -wi-ao---- 2.00g # resize2fs /dev/VolGroup00/LogVol00 resize2fs 1.41.12 (17-May-2010) Filesystem at /dev/VolGroup00/LogVol00 is mounted on /; on-line resizing required old desc_blocks = 1, new_desc_blocks = 3 Performing an on-line resize of /dev/VolGroup00/LogVol00 to 12541952 (4k) blocks. The filesystem on /dev/VolGroup00/LogVol00 is now 12541952 blocks long.