Reviewed by: Sara Hartse <sara.har...@delphix.com>
Reviewed by: George Wilson <george.wil...@delphix.com>

We've had 2 cases where the devids of disks were shuffled, preventing domain0 
from being imported, which
required a tedious manual process to zero-out devids through kmdb during zpool 
import.

This feature would add a tunable to vdev_disk_open() to bypass devids and add 
more debug messages.
Note that if we bypass the devid by setting vdev_disk_bypass_devid, the pool 
will not have a devid field
in the config anymore. Even if we re-import the pool with 
vdev_disk_bypass_devid unset, the devid field
will never be written to the config again, so once it's gone it is gone for 
good.

Upstream bug: DLPX-58388
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/677

-- Commit Summary --

  * 9683 Allow bypassing devid in vdev_disk_open()

-- File Changes --

    M usr/src/uts/common/fs/zfs/vdev_disk.c (47)
    M usr/src/uts/common/os/devid_cache.c (20)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/677.patch
https://github.com/openzfs/openzfs/pull/677.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/677

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T9a78e1e5e80e3c62-M0b8b3804e36737708feb2ef1
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to