Show Table of Contents
15.3.2. swap 用の LVM2 論理ボリュームを削除する
swap ボリュームグループを削除します (
/dev/VolGroup00/LogVol02 が削除するボリュームであるとします)。
手順15.4 swap ボリュームグループの削除
- 関連付けられている論理ボリュームのスワップ機能を無効にします。
#
swapoff -v /dev/VolGroup00/LogVol02 - サイズが 512 MB の LVM2 論理ボリュームを削除します。
#
lvremove /dev/VolGroup00/LogVol02 - 次のエントリーを
/etc/fstabファイルから削除します。/dev/VolGroup00/LogVol02 swap swap defaults 0 0
論理ボリュームサイズが正常に削除されたことを確認するには、
cat /proc/swaps または free を使って swap 領域を確認します。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.