storage
storage copied to clipboard
The `container-storage check` command inspects items on the image storage root directory, such as inodes.
When I use the container-storage check to inspect the image, it falsely reports corrupted images and even changes the inode of the file contents in the image storage root directory. The most frightening thing is that after using this command, the mount | grep overlay command, which originally displayed all the container's overlay mounts on the node, will disappear.
Mount information like this will disappear:
overlay on / type overlay (rw,relatime,lowerdir=/var/lib/containers/storage/overlay/l/7UDF5MU24FD7ZR3MOTZLEBM
VBL:/var/lib/containers/storage/overlay/l/66ODFPNZYPPR7EGQC6XTPQTPZT:/var/lib/containers/storage/overlay/l/II
QUQA3D7TDSJK6QHFIAEY3636,upperdir=/var/lib/containers/storage/overlay/a75bc39d5d1e97db46eee2f078234656a212d09
ad9b7ec3f9870facd9ae45870/diff,workdir=/var/lib/containers/storage/overlay/a75bc39d5d1e97db46eee2f078234656a2
12d09ad9b7ec3f9870facd9ae45870/work,xino=off,metacopy=on)
The mount information can only be viewed by running the command cat /proc/*/mount | grep overlay
The most original discussion place is as follows. https://github.com/cri-o/cri-o/issues/8283#issuecomment-2166346518