Project

General

Profile

Actions

Bug #13733

open

zpool import not possible after slot change - disk "unavailable"

Added by Stephan Althaus about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Hello!

I have a 1-disk pool which i use only from time to time.

Normally i would expect that i can import the pool after installing the disk again, (on 'cold' machine, boot with --reconfigure) the slot is not relevant.

Just to check that disk and zfs label are ok, i mounted the pool on a linux machine, everything is ok there.

On OI i cant import the pool, the "-f" flag does not help.

Details below.

Btw, just to be clear, I had this same error before i tried to import the pool with linux, so the import with linux is not the origin of the problem here.

Any hints on how to dig into this further are welcome!

Thanks!

Stephan


  1. zpool import
    Password:
    pool: bkp1t
    id: 4466948378057274312
    state: FAULTED
    status: The pool was last accessed by another system.
    action: The pool cannot be imported due to damaged devices or data.
    The pool may be active on another system, but can be imported using
    the '-f' flag.
    see: http://illumos.org/msg/ZFS-8000-EY
    config:

    bkp1t FAULTED corrupted data
    c8t2d0s0 UNAVAIL corrupted data

  1. zdb l /dev/rdsk/c8t2d0s0
    -----------------------------------

    LABEL 0
    ------------------------------------
    version: 5000
    name: 'bkp1t'
    state: 0
    txg: 26349
    pool_guid: 4466948378057274312
    errata: 0
    hostid: 758768731
    hostname: 'Fuji'
    top_guid: 15764649591111927753
    guid: 15764649591111927753
    vdev_children: 1
    vdev_tree:
    type: 'disk'
    id: 0
    guid: 15764649591111927753
    path: '/dev/sda1'
    devid: 'id1,sd@n50000396b5803dd2/a'
    phys_path: '/pci@0,0/pci8086,c01@1/pci1734,11e4@0/sd@4,1:a'
    whole_disk: 0
    metaslab_array: 256
    metaslab_shift: 33
    ashift: 13
    asize: 987837759488
    is_log: 0
    create_txg: 4
    features_for_read:
    com.delphix:hole_birth
    com.delphix:embedded_data
    labels = 0 1 2 3
Actions

Also available in: Atom PDF