Project

General

Profile

Bug #3640

want automatic devid updates

Added by Christopher Siden over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2013-03-21
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

When a VM is cloned the devids on the underlying disks is usually changed by the virtualization software (VMware in our case). The devid is stored in the ZFS label used to find disks during import, but ZFS still successfully opens devices with changed devids based on other data in the label (and is able to verify it is the correct disk based on data on the disk), but it does not update the devid stored in the label, so if you compare the devid in the ZFS label and of the actual disk they do not match.

If we successfully open a vdev whose devid did not match what was in the label we should update the label.

History

#1

Updated by Christopher Siden over 7 years ago

  • Status changed from In Progress to Closed
commit fb02ae0
Author: George Wilson <george.wilson@delphix.com>
Date:   Sun Mar 24 16:59:22 2013

    3639 zpool.cache should skip over readonly pools
    3640 want automatic devid updates
    Reviewed by: Eric Schrock <eric.schrock@delphix.com>
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Basil Crow <basil.crow@delphix.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF