Personal tools
You are here: Home Issue tracker Able to import array, but no pool is found (Ubuntu 10.4 use deb package)

#58 — Able to import array, but no pool is found (Ubuntu 10.4 use deb package)

State Rejected
Version: 0.6.9
Area Functionality
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on Jun 11, 2010
Responsible Seth Heeren
Target release:
Return to tracker
Last modified on Jun 11, 2010 by Seth Heeren
1) Boot up to date Ubuntu 10.4 (64 bits)

2) Removed the zfs-fuse.deb (0.6.1 package for Ubuntu 10.4. updated the standard deb package (0.6.0) from Ubuntu repository to 0.6.1 by updating the files that I compiled on system)

3) Install: https://launchpad.net/[…]/zfs-fuse_0.6.9-6_amd64.deb

4) zfs-fuse is running (ps -A | grep zfs)

5) import pool ( sudo zpool import -d /dev/disk/by-id )
10x2Tbyte disk
Array created with FreeBSD 8.0
dmesg (clean, no errors)

6) ask status with zpool status. No pools found

Can you assist me to locate the problem.
Steps to reproduce:
$ sudo zpool import -d /dev/disk/by-id
  pool: pool1
    id: 5509138985904076621
 state: ONLINE
status: The pool is formatted using an older on-disk version.
action: The pool can be imported using its name or numeric identifier, though
    some features will not be available without an explicit 'zpool upgrade'.
config:

    pool1 ONLINE
      raidz2-0 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100194-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100199-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100193-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100198-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100187-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100188-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100189-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100190-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100191-part1 ONLINE
        disk/by-id/ata-SAMSUNG_HD203WI_S1UYJ1BZ100192-part1 ONLINE
$ sudo zpool status
no pools available
Added by Seth Heeren on Jun 11, 2010 04:43 AM
Issue state: unconfirmedrejected
Responsible manager: (UNASSIGNED)sgheeren
man zpool

import merely _lists_ the pools you _might_ import

To actually import, issue

   sudo zpool import -d /dev/disk/by-id pool1

By the way,
(a) this behaviour is exactly the same as in BSD or Solaris
(b) note the /dev/disk/by-id has become default in 0.6.9
See also http://zfs-fuse.net/documentation/upgrading/pool-discovery