Project

General

Profile

Bug #9428

ZFS pool import should ignore unparseable devids

Added by Andy Fiddaman over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2018-03-31
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Since this commit - https://github.com/zfsonlinux/zfs/commit/39fc0cb5577e409f415e25d35a452b46996c08b1 - ZFS on Linux has begun to populate devid field in the leaf vdev labels with values that cannot be parsed by ddi_devid_str_decode().

For example:

  • usb-General_UDisk-0:0-part1
  • scsi-350000394a8ca4fbc-part1
  • dm-uuid-mpath-35000c5006304de3f

As a result, pools created on Linux can no longer be imported into illumos. If a devid cannot be parsed, it should be ignored (as we already do for root pools).

Also available in: Atom PDF