Project

General

Profile

Bug #5882

Temporary pool names

Added by Richard Yao over 4 years ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2015-04-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

This is an import of the temporary pool names functionality from ZoL:

https://github.com/zfsonlinux/zfs/commit/e2282ef57edc79cdce2a4b9b7e3333c56494a807
https://github.com/zfsonlinux/zfs/commit/26b42f3f9d03f85cc7966dc2fe4dfe9216601b0e
https://github.com/zfsonlinux/zfs/commit/2f3ec9006146844af6763d1fa4e823fd9047fd54
https://github.com/zfsonlinux/zfs/commit/00d2a8c92f614f49d23dea5d73f7ea7eb489ccf1
https://github.com/zfsonlinux/zfs/commit/83e9986f6eefdf0afc387f06407087bba3ead4e9
https://github.com/zfsonlinux/zfs/commit/023bbe6f017380f4a04c5060feb24dd8cdda9fce

It is intended to assist the creation and management of virtual machines
that have their rootfs on ZFS on hosts that also have their rootfs on
ZFS. These situations cause SPA namespace collisions when the standard
name rpool is used in both cases. The solution is either to give each
guest pool a name unique to the host, which is not always desireable, or
boot a VM environment containing an ISO image to install it, which is
cumbersome.

As a side note, this commit includes the removal of `zpool import -r`,
which previously did nothing.


Files

patch (14.3 KB) patch Richard Yao, 2015-04-30 04:33 PM

History

#1

Updated by Robert Mustacchi over 4 years ago

  • Assignee set to Richard Yao
#2

Updated by Andriy Gapon over 1 year ago

New pull request for this issue: https://github.com/openzfs/openzfs/pull/600

#3

Updated by Electric Monk 12 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 04e56356520b98d5a93c496b10f02530bb6647e0

commit  04e56356520b98d5a93c496b10f02530bb6647e0
Author: Andriy Gapon <agapon@panzura.com>
Date:   2018-12-18T00:26:37.000Z

    5882 Temporary pool names
    Reviewed by: Matt Ahrens <matt@delphix.com>
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: John Kennedy <john.kennedy@delphix.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF