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

Add option to zpool status to print guids #2012

Closed
wants to merge 1 commit into from
Closed

Commits on Sep 30, 2014

  1. Add option to zpool status to print guids

    The use of vdev GUIDs are a necessary workaround in edge cases where the
    names provided by `zpool status` are not accepted by the zpool
    detach/offline/remove/replace commands. The current method of obtaining
    them uses zdb, but this does not work in all cases (see
    openzfs#1530).
    
    This provides a method of obtaining vdev GUIDs that is more reliable and
    straightforward than zdb. It would be better to fix all edge cases that
    require the use of GUIDs as a workaround, but Linux's /dev design makes
    it difficult to anticipate such edge cases, which makes this option
    necessary.
    
    Note that this adds a new boolean parameter to `zpool_vdev_name`, which
    changes the libzfs interface.
    
    Closes openzfs#2011
    
    Signed-off-by: Richard Yao <ryao@gentoo.org>
    ryao committed Sep 30, 2014
    Configuration menu
    Copy the full SHA
    9ef11fc View commit details
    Browse the repository at this point in the history