kubernetesiscsiopenebs

Why lost + found directory inside OpenEBS volume?


Every time when I create a new OpenEBS volume, and mounting the same on the host/application there is a lost+found directory created. Is there some way to avoid this and what is need of this?


Solution

  • lost+found directory is created by ext4.

    It can be deleted manually, but will get created on the next mount/fsck. In your application yaml,use the following parameter to ignore this:

     image: <image_name>
              args:
                - "--ignore-db-dir"
                - "lost+found"