今日は色々なPCに散らばってるISOとかメモ(無題.txt, 無題2.txt, memo,txt… 等)とか、リンク切れのWEBショートカットとか古いドライバとかパッチとか…
削除したり、一カ所に纏めたりデータの整理をしていた訳です。

評価版のISOとかパッチとかは光輪サーバーに放り込んであったりするのですが…

空きが5GBになってしまいました…
と言う事で、/home領域のオンライン拡張を実施しました。
(実は、以前に古い光輪サーバーでもっと大掛かりな手順で実施しているものとやってることは変わりません)

● /home 領域として利用しているボリュームを確認

[root@Server ~]# df -k | grep home
/dev/mapper/vg01-lvol1 206292968 190498856 5291968 98% /home <= 使用率98%!

● vg01の割り当て領域サイズと未使用領域サイズを確認

[root@Server ~]# vgdisplay -v vg01
--- Volume group ---
VG Name vg01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 4
Max PV 0
Cur PV 1
Act PV 1
VG Size <300.00 GiB
PE Size 4.00 MiB
Total PE 76799
Alloc PE / Size 65536 / 256.00 GiB
Free PE / Size 11263 / <44.00 GiB <= 未使用44GiB
VG UUID otQhLv-SSPP-yfDi-2gpI-U2jF-BEf1-jTovcN

--- Logical volume ---
LV Path /dev/vg01/lvol1
LV Name lvol1
VG Name vg01
LV UUID owNriB-OYTm-GjOn-19Ph-dQqQ-Zirf-SFdJfB
LV Write Access read/write
LV Creation host, time Server.kourin.org, 2015-10-24 22:34:46 +0900
LV Status available
# open 1
LV Size 200.00 GiB <= /home領域割当てサイズ200GiB
Current LE 51200
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:0

--- Logical volume ---
LV Path /dev/vg01/lvol2
LV Name lvol2
VG Name vg01
LV UUID 5iZm1y-pQft-yNsC-D74h-UWK9-azee-5WFFml
LV Write Access read/write
LV Creation host, time Server.kourin.org, 2015-10-24 22:36:46 +0900
LV Status available
# open 1
LV Size 1.00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:1

--- Logical volume ---
LV Path /dev/vg01/lvol3
LV Name lvol3
VG Name vg01
LV UUID fZsfJL-qmXl-X0tz-X4bC-iq9z-1WKr-aN3EP4
LV Write Access read/write
LV Creation host, time Server.kourin.org, 2015-10-24 22:37:50 +0900
LV Status available
# open 1
LV Size 25.00 GiB
Current LE 6400
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:2

--- Logical volume ---
LV Path /dev/vg01/lvol4
LV Name lvol4
VG Name vg01
LV UUID iV85Vl-6uKj-K2OF-4gvn-dJKc-Be9b-UeDgOB
LV Write Access read/write
LV Creation host, time Server.kourin.org, 2015-10-24 22:38:22 +0900
LV Status available
# open 1
LV Size 30.00 GiB
Current LE 7680
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:3

--- Physical volumes ---
PV Name /dev/sdb
PV UUID gn2EvZ-lIP6-Nycm-EZlJ-0v7w-ZU8V-TLXKJj
PV Status allocatable
Total PE / Free PE 76799 / 11263

● /home領域(/dev/vg01/lvol1)に未使用の40GiBを追加割当て

[root@Server ~]# lvextend -L 240GiB /dev/vg01/lvol1
Size of logical volume vg01/lvol1 changed from 200.00 GiB (51200 extents) to 240.00 GiB (61440 extents).
Logical volume vg01/lvol1 successfully resized.

● /home領域(/dev/vg01/lvol1)が拡張されたことを確認

[root@Server ~]# lvdisplay /dev/vg01/lvol1
--- Logical volume ---
LV Path /dev/vg01/lvol1
LV Name lvol1
VG Name vg01
LV UUID owNriB-OYTm-GjOn-19Ph-dQqQ-Zirf-SFdJfB
LV Write Access read/write
LV Creation host, time Server.kourin.org, 2015-10-24 22:34:46 +0900
LV Status available
# open 1
LV Size 240.00 GiB <= 200GiBから240GiBに拡張された
Current LE 61440
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 8192
Block device 253:0
[root@Server ~]#
[root@Server ~]# df -k | grep home
/dev/mapper/vg01-lvol1 206292968 190498856 5291968 98% /home <= ファイルシステムは200GiBのまま

● /home領域のファイルシステムを拡張

[root@Server ~]# resize2fs /dev/vg01/lvol1
resize2fs 1.42.9 (28-Dec-2013)
Filesystem at /dev/vg01/lvol1 is mounted on /home; on-line resizing required
old_desc_blocks = 25, new_desc_blocks = 30
The filesystem on /dev/vg01/lvol1 is now 62914560 blocks long.

● /home領域が拡張されたことを確認

[root@Server ~]# df -k | grep home
/dev/mapper/vg01-lvol1 247577788 190498556 44878436 81% /home <= 使用率が下がった!
[root@Server ~]#

2017/11/11 追記

グラフですが、こんな感じになりました。