Skip to content

Question about possible feature #13

@mth309

Description

@mth309

I'm not sure if opening an issue is the right way to send you questions like this, forgive my GitHub ignorance and please let me know if there's a better way to reach out.

I was wondering if you'd be interested in adding a feature to the summary tables for drives that are in a mirror vdev, where it would print the name of the device they are mirrored to? If the device is not part of a mirror (e.g. in a RAIDZ vdev) it prints 'N/A' instead. I already wrote the proof of concept code for SAS drives, so I just need to copy and paste it into the other summary table sections and it would be no work to you.

I was thinking of adding an option in the config file where the user would select whether they want this information printed or not, but then I didn't know if you'd want me changing your config file format, or what affect that has on people already using the script with an "old" config file, etc.

I attached an example of what the output looks like, and for the record in the screenshot /dev/da8 is (was) paired to /dev/da10, however da10 was faulted and removed from the system, so it currently just prints '/dev/'. I plan on fixing that.

Mirror Example

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions