Value "cat: /sys/block/md0/md/degraded: No such file or directory
denisgolius opened this issue · 2 comments
denisgolius commented
paraenggu commented
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 commented
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