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

Rescan enclosure sysfs path on import #12095

Merged
merged 1 commit into from
Oct 4, 2021

Commits on Oct 1, 2021

  1. Rescan enclosure sysfs path on import

    When you create a pool, zfs writes vd->vdev_enc_sysfs_path with the
    enclosure sysfs path to the fault LEDs, like:
    
        vdev_enc_sysfs_path = /sys/class/enclosure/0:0:1:0/SLOT8
    
    However, this enclosure path doesn't get updated on successive imports
    even if enclosure path to the disk changes.  This patch fixes the issue.
    
    Signed-off-by: Tony Hutter <hutter2@llnl.gov>
    tonyhutter committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    1aca2b4 View commit details
    Browse the repository at this point in the history