Skip to content

Ignore broken disks in the storage_data_path #3746

@spaces-X

Description

@spaces-X

Describe the bug
When BE starts up, it will check data paths in storage_data_path to make sure they are actually existed.
In some situations, the data path is existed but for some reasons it is unavailable (broken disk). We aren't able to read or write into the broken data path after BE starts up.

To Reproduce
For example, Path: '/data1' is a broken disk, which can not be read or written.
However, the path:'/data1' really exists in the OS.
Add Path:'/data1' to storage_data_path in be.conf.
Set 'ignore_broken_disk = true' in be.conf
Start BE

Expected behavior
Path: '/data1' will not be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions