Skip to content

zfs import fails #124

@sandeepkapse

Description

@sandeepkapse

Steps to reproduce problem :

> zpool create tank /dev/sdb -f

> zpool destroy tank

> zpool import -D tank

_ cannot import 'tank': more than one matching pool
import by numeric ID instead
cannot import 'tank': more than one matching pool
import by numeric ID instead
_

The same operation on Solaris Does not produce any error.

Note : 1) This happens when there is no pool on system.
2) Cache file /etc/zfs/zpool.cache seem to be appear only when there is at least on pool exist.
3) In Solaris there is always at least one pool exists as root file system of Solaris is zfs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions