Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value "cat: /sys/block/md0/md/degraded: No such file or directory #96

Open
denisgolius opened this issue Oct 7, 2020 · 2 comments
Open

Comments

@denisgolius
Copy link

Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "cat: /sys/block/md0/md/degraded: No such file or directory
Screenshot_20201008_012024

File is not exist because it's not used for raid0.

@paraenggu
Copy link
Member

Hi @denisgolius,

while it's not the prettiest solution, you could simply disable the items after they have been discovered. To actually fix the issue, separate discovery rules and item prototypes would probably be required for RAID level 0 devices.

Would you mind providing a directory listing for a RAID level 0 MD device (/sys/block/md/<MD>)?

@teqnodude
Copy link

teqnodude commented Nov 1, 2021

Here is for a RAID level 0 MD device in /sys/block/md0/md

array_size
array_state
bitmap
chunk_size
component_size
consistency_policy
dev-sdc
dev-sdd
dev-sdh
dev-sdi
fail_last_dev
layout
level
max_read_errors
metadata_version
new_dev
raid_disks
rd0 -> dev-sdc
rd1 -> dev-sdd
rd2 -> dev-sdi
rd3 -> dev-sdh
reshape_direction
reshape_position
resync_start
safe_mode_delay
serialize_policy
uuid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants