Why lost + found directory inside OpenEBS volume?

9/11/2018

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?

-- Ajesh
iscsi
kubernetes
openebs

1 Answer

9/11/2018

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"
-- Ranjith Raveendran
Source: StackOverflow