Ajesh
Ajesh

Reputation: 386

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?

Upvotes: 0

Views: 1874

Answers (1)

Ranjith Raveendran
Ranjith Raveendran

Reputation: 167

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"

Upvotes: 2

Related Questions