Project

General

Profile

Bug #1772

OI cannot import a data zpool created by S11X

Added by Laurent Blume about 8 years ago. Updated about 8 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2011-11-13
Due date:
% Done:

0%

Estimated time:
Difficulty:
Hard
Tags:
needs-triage

Description

I am trying to import in OI b151 a single-drive data zpool that was created in S11X, explicitly at version 28.
However, it fails.
Rebooting in S11X, the pool still works as expected.
The drive is a regular 512B sector drive, created with the regular zpool command.

Please note that it was an S11X on /support, so it had received updates.

  1. zpool upgrade
    This system is currently running ZFS pool version 28.

All pools are formatted using this version.

Listing the importable pools shows some weirdness:

  1. zpool import
    pool: wenjun_data
    id: 10664418497025954710
    state: UNAVAIL
    status: The pool was last accessed by another system.
    action: The pool cannot be imported due to damaged devices or data.
    see: http://www.sun.com/msg/ZFS-8000-EY
    config:

    wenjun_data UNAVAIL insufficient replicas
    c3t1d0 UNAVAIL corrupted data

Trying to import it doesn't work:
  1. zpool import -f wenjun_data
    cannot import 'wenjun_data': invalid vdev configuration

Output of zdb -l

$ sudo zdb l /dev/dsk/c3t1d0
Password:
-------------------------------------------

LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3

History

#1

Updated by Rich Lowe about 8 years ago

Is the protocol here to copy this bug into illumos, so ZFS folks see it, or to move it?

Either way, I'd suggest filing one on the illumos side

#2

Updated by Laurent Blume about 8 years ago

If there's any chance that can help: the same pool is imported fine into FreeBSD 9.0rc3.

#3

Updated by Albert Lee about 8 years ago

  • Project changed from OpenIndiana Distribution to illumos gate
  • Category deleted (OS/Net (Kernel and Userland))
  • Target version deleted (oi_151_stable)
#4

Updated by Albert Lee about 8 years ago

  • Category set to zfs - Zettabyte File System
  • Difficulty changed from Medium to Hard

Also available in: Atom PDF