전체 디스크 이벤트 포함 컨테이너 문제 해결

컨테이너의 영구 스토리지 매체로 마운트된 전용 디스크의 스토리지 공간이 부족할 경우 긴급 조치가 필요합니다.

Proceed as follows to solve the problem with resizing the storage medium. Run all listed commands as root on the container host.

절차: 스토리지 매체 크기 조정
  1. 디스크 크기를 늘리십시오. 수행해야 할 작업은 설치 환경에 따라 다릅니다.

  2. If the disk is partitioned (for example, there is a /dev/vdb1 for disk /dev/vdb), run the following commands:

    다음 명령을 실행합니다.

    1. parted /dev/vdb

    2. (parted) print

    3. (parted) resizepart NUMBER 100% where NUMBER is the partition number shown by print command (for example, 1 if /dev/vdb1)

    4. (parted) quit

  3. 파일 시스템 크기를 조정합니다. 예를 들어, XFS 파일 시스템의 경우 다음 명령을 실행합니다.

    xfs_growfs /dev/vdb1

절차를 완료하면 XFS 파일 시스템이 디스크에서 사용 가능한 모든 공간을 사용하고 있어야 합니다.