openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.33k stars 1.72k forks source link

unable to import on current (gf6a8696) #2504

Closed tomposmiko closed 10 years ago

tomposmiko commented 10 years ago

$ zpool status pool: tank state: ONLINE scan: scrub repaired 0 in 7h40m with 0 errors on Wed Jul 2 05:40:44 2014 config:

NAME                                                  STATE     READ WRITE CKSUM
tank                                                  ONLINE       0     0     0
  mirror-0                                            ONLINE       0     0     0
    ata-ST2000DM001-9YN164_S240DS74                   ONLINE       0     0     0
    ata-ST2000DM001-9YN164_S1E0A3F1                   ONLINE       0     0     0
  mirror-1                                            ONLINE       0     0     0
    ata-ST2000DM001-9YN164_S1E09YGG                   ONLINE       0     0     0
    ata-ST2000DM001-1CH164_W1E2CXBM                   ONLINE       0     0     0
  mirror-2                                            ONLINE       0     0     0
    ata-ST2000DM001-9YN164_S1E0A3VV                   ONLINE       0     0     0
    ata-ST2000DM001-9YN164_W1E0C60P                   ONLINE       0     0     0
logs
  mirror-3                                            ONLINE       0     0     0
    ata-INTEL_SSDSC2CT120A3_CVMP2372003D120BGN-part3  ONLINE       0     0     0
    ata-OCZ-VERTEX2_OCZ-C853915W531FWSS7-part3        ONLINE       0     0     0
cache
  ata-INTEL_SSDSC2CT120A3_CVMP2372003D120BGN-part4    ONLINE       0     0     0
  ata-OCZ-VERTEX2_OCZ-C853915W531FWSS7-part4          ONLINE       0     0     0
spares
  ata-ST2000DM001-9YN164_S240E7WT                     AVAIL   
  ata-ST2000DM001-9YN164_S1E0A055                     AVAIL   

errors: No known data errors

$ zpool import pool: tank2 id: 8024257050015251324 state: FAULTED status: One or more devices contains corrupted data. 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://zfsonlinux.org/msg/ZFS-8000-5E config:

tank2                                               FAULTED  corrupted data
logs
  ata-INTEL_SSDSC2CT120A3_CVMP2372003D120BGN-part1  UNAVAIL

$ zpool import -d /dev/disk/by-id/ pool: tank2 id: 8024257050015251324 state: FAULTED status: One or more devices contains corrupted data. 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://zfsonlinux.org/msg/ZFS-8000-5E config:

tank2                                               FAULTED  corrupted data
logs
  ata-INTEL_SSDSC2CT120A3_CVMP2372003D120BGN-part1  UNAVAIL

$ zpool import -d /dev pool: tank2 id: 8024257050015251324 state: FAULTED status: One or more devices contains corrupted data. 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://zfsonlinux.org/msg/ZFS-8000-5E config:

tank2        FAULTED  corrupted data
logs
  sdi1       UNAVAIL

However, I am allowed to rename dataset or zvols with snapshots (=replicas):

$ zfs rename tank/snapshots/ijcci tank/zrep/ijcci $

dmesg:

[ 1675.033454] spl: module verification failed: signature and/or required key missing - tainting kernel [ 1675.060750] SPL: Loaded module v0.6.3-1_gf6a8696 [ 1995.465986] znvpair: module license 'CDDL' taints kernel. [ 1995.465994] Disabling lock debugging due to kernel taint [ 1995.544830] ZFS: Loaded module v0.6.3-11_gf4a4046, ZFS pool version 5000, ZFS filesystem version 5 [ 1996.105875] SPL: using hostid 0x00000000 [ 2001.265099] zd0: p1 p2 [ 2001.347551] zd16: [ 2001.524098] zd32: p1 p2 [ 2001.789247] zd48: p1 p2 [ 2002.051608] zd64: p1 p2 [ 2002.967436] zd80: p1 p2 p3 [ 2003.680665] zd96: p1 p2 [ 2004.371021] zd112: p1 p2

$ uname -a Linux v103 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04 LTS Release: 14.04 Codename: trusty

tomposmiko commented 10 years ago

Ahh, it is the same as #2450 .