1.6. Cleaning up container storage for the bootc image and the MicroShift CSI


You can remove an additional LVM volume group loop device that was shared with the container and used by the MicroShift Logical Volume Manager (LVM) Container Storage Interface (CSI).

Prerequisites

  • A Red Hat Enterprise Linux (RHEL) 9.4 host with an active Red Hat subscription for building MicroShift bootc images and running containers.
  • You are logged into the RHEL 9.4 host using the user credentials that have sudo permissions.

Procedure

  1. Clean up the loop device and additional volume group by using the following commands:

    1. Detach the loop device by entering the following command:

      $ sudo losetup -d "${VGLOOP}"
    2. Delete the LVM volume group file by entering the following command:

      $ sudo rm -f "${VGFILE}"
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部