zfs-linux / zfs

Native ZFS for Linux
http://wiki.github.com/behlendorf/zfs/
Other
56 stars 2 forks source link

zfs import fails #124

Open sandeepkapse opened 13 years ago

sandeepkapse commented 13 years ago

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.