Project

General

Profile

Bug #7026

vioblk should create unique devids

Added by Igor Kozhukhov over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2016-06-01
Due date:
% Done:

0%

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

Description

[root@test-zfs ~]# zpool create testpool c4t0d0
[root@test-zfs ~]# zpool create testpool1 c3t0d0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c4t0d0s0 is part of active ZFS pool testpool. Please see zpool(1M).
#1

Updated by Hans Rosenfeld over 4 years ago

  • Subject changed from can't create testpool1 if testpool present on system to vioblk should create unique devids

The device IDs created by vioblk are based on the serial number provided by QEMU, if any. If the serial numbers aren't set the devids will all be the same. And that will confuse a lot of things, among them zpool(1m).

Perhaps vioblk should implement unique permanent fake devids similar to what sd(7d) does for really old disks.

Also available in: Atom PDF