「ディスクがいっぱいになったコンテナ」イベントのトラブルシューティング
コンテナの永続ストレージメディアとしてマウントされた専用ディスクのストレージ領域が不足した場合は、緊急アクションが必要になります。
Proceed as follows to solve the problem with resizing the storage medium. Run all listed commands as root on the container host.
プロシージャ: ストレージメディアのサイズ変更
-
ディスクのサイズを増やします。 取るべきアクションは、インストールシナリオによって異なります。
-
If the disk is partitioned (for example, there is a
/dev/vdb1for disk/dev/vdb), run the following commands:次のコマンドを実行します。
-
parted /dev/vdb -
(parted)print -
(parted)resizepart NUMBER 100%whereNUMBERis the partition number shown byprintcommand (for example,1if/dev/vdb1) -
(parted)quit
-
-
ファイルシステムのサイズを変更します。 たとえば、XFSファイルシステムの場合、次のコマンドを実行します。
xfs_growfs /dev/vdb1
手順を完了すると、XFSファイルシステムがディスク上の使用可能な容量をすべて使用しているはずです。