[zfs-discuss] Fwd: cannot import 'home': I/O error Destroy and re-create the pool from a backup source

Anton Gubar'kov anton.gubarkov at gmail.com
Sun Apr 22 15:47:27 EDT 2018


As advised by Daniel, I post zdb -l output for all my pool's devices:


root at sysresccd /root % for i in /dev/disk/by-id/wwn-0x5000c500a41*-part1
/dev/disk/by-id/wwn-0x30000d1700d9d40f-part[2-3]; (echo zdb -l $i; zdb -l
$i)
zdb -l /dev/disk/by-id/wwn-0x5000c500a41a0a00-part1
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'home'
state: 0
txg: 1479564
pool_guid: 4810743847386909334
errata: 0
hostname: 'localhost'
top_guid: 10324630699361516978
guid: 2040536573808666336
vdev_children: 2
vdev_tree:
type: 'raidz'
id: 0
guid: 10324630699361516978
nparity: 2
metaslab_array: 34
metaslab_shift: 37
ashift: 12
asize: 18003470057472
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 2040536573808666336
path: '/dev/disk/by-id/wwn-0x5000c500a41a0a00-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10BQS-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:0:0'
whole_disk: 1
DTL: 94470
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 4207547791789368678
path: '/dev/disk/by-id/wwn-0x5000c500a41ae340-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10JYW-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:6:0'
whole_disk: 1
DTL: 94469
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 246015074774141735
path: '/dev/disk/by-id/wwn-0x5000c500a41b4c57-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10HYL-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:2:0'
whole_disk: 1
DTL: 94468
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 3942886518049735853
path: '/dev/disk/by-id/wwn-0x5000c500a41b7572-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10H74-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:4:0'
whole_disk: 1
DTL: 94467
create_txg: 4
children[4]:
type: 'disk'
id: 4
guid: 2783137776399273186
path: '/dev/disk/by-id/wwn-0x5000c500a41ba99c-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GF3-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:5:0'
whole_disk: 1
DTL: 94466
create_txg: 4
children[5]:
type: 'disk'
id: 5
guid: 10176867309747558355
path: '/dev/disk/by-id/wwn-0x5000c500a41babe8-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GEK-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:1:0'
whole_disk: 1
DTL: 94465
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
zdb -l /dev/disk/by-id/wwn-0x5000c500a41ae340-part1
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'home'
state: 0
txg: 1479564
pool_guid: 4810743847386909334
errata: 0
hostname: 'localhost'
top_guid: 10324630699361516978
guid: 4207547791789368678
vdev_children: 2
vdev_tree:
type: 'raidz'
id: 0
guid: 10324630699361516978
nparity: 2
metaslab_array: 34
metaslab_shift: 37
ashift: 12
asize: 18003470057472
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 2040536573808666336
path: '/dev/disk/by-id/wwn-0x5000c500a41a0a00-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10BQS-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:0:0'
whole_disk: 1
DTL: 94470
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 4207547791789368678
path: '/dev/disk/by-id/wwn-0x5000c500a41ae340-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10JYW-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:6:0'
whole_disk: 1
DTL: 94469
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 246015074774141735
path: '/dev/disk/by-id/wwn-0x5000c500a41b4c57-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10HYL-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:2:0'
whole_disk: 1
DTL: 94468
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 3942886518049735853
path: '/dev/disk/by-id/wwn-0x5000c500a41b7572-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10H74-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:4:0'
whole_disk: 1
DTL: 94467
create_txg: 4
children[4]:
type: 'disk'
id: 4
guid: 2783137776399273186
path: '/dev/disk/by-id/wwn-0x5000c500a41ba99c-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GF3-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:5:0'
whole_disk: 1
DTL: 94466
create_txg: 4
children[5]:
type: 'disk'
id: 5
guid: 10176867309747558355
path: '/dev/disk/by-id/wwn-0x5000c500a41babe8-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GEK-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:1:0'
whole_disk: 1
DTL: 94465
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
zdb -l /dev/disk/by-id/wwn-0x5000c500a41b4c57-part1
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'home'
state: 0
txg: 1479564
pool_guid: 4810743847386909334
errata: 0
hostname: 'localhost'
top_guid: 10324630699361516978
guid: 246015074774141735
vdev_children: 2
vdev_tree:
type: 'raidz'
id: 0
guid: 10324630699361516978
nparity: 2
metaslab_array: 34
metaslab_shift: 37
ashift: 12
asize: 18003470057472
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 2040536573808666336
path: '/dev/disk/by-id/wwn-0x5000c500a41a0a00-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10BQS-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:0:0'
whole_disk: 1
DTL: 94470
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 4207547791789368678
path: '/dev/disk/by-id/wwn-0x5000c500a41ae340-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10JYW-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:6:0'
whole_disk: 1
DTL: 94469
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 246015074774141735
path: '/dev/disk/by-id/wwn-0x5000c500a41b4c57-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10HYL-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:2:0'
whole_disk: 1
DTL: 94468
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 3942886518049735853
path: '/dev/disk/by-id/wwn-0x5000c500a41b7572-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10H74-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:4:0'
whole_disk: 1
DTL: 94467
create_txg: 4
children[4]:
type: 'disk'
id: 4
guid: 2783137776399273186
path: '/dev/disk/by-id/wwn-0x5000c500a41ba99c-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GF3-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:5:0'
whole_disk: 1
DTL: 94466
create_txg: 4
children[5]:
type: 'disk'
id: 5
guid: 10176867309747558355
path: '/dev/disk/by-id/wwn-0x5000c500a41babe8-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GEK-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:1:0'
whole_disk: 1
DTL: 94465
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
zdb -l /dev/disk/by-id/wwn-0x5000c500a41b7572-part1
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'home'
state: 0
txg: 1479564
pool_guid: 4810743847386909334
errata: 0
hostname: 'localhost'
top_guid: 10324630699361516978
guid: 3942886518049735853
vdev_children: 2
vdev_tree:
type: 'raidz'
id: 0
guid: 10324630699361516978
nparity: 2
metaslab_array: 34
metaslab_shift: 37
ashift: 12
asize: 18003470057472
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 2040536573808666336
path: '/dev/disk/by-id/wwn-0x5000c500a41a0a00-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10BQS-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:0:0'
whole_disk: 1
DTL: 94470
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 4207547791789368678
path: '/dev/disk/by-id/wwn-0x5000c500a41ae340-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10JYW-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:6:0'
whole_disk: 1
DTL: 94469
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 246015074774141735
path: '/dev/disk/by-id/wwn-0x5000c500a41b4c57-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10HYL-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:2:0'
whole_disk: 1
DTL: 94468
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 3942886518049735853
path: '/dev/disk/by-id/wwn-0x5000c500a41b7572-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10H74-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:4:0'
whole_disk: 1
DTL: 94467
create_txg: 4
children[4]:
type: 'disk'
id: 4
guid: 2783137776399273186
path: '/dev/disk/by-id/wwn-0x5000c500a41ba99c-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GF3-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:5:0'
whole_disk: 1
DTL: 94466
create_txg: 4
children[5]:
type: 'disk'
id: 5
guid: 10176867309747558355
path: '/dev/disk/by-id/wwn-0x5000c500a41babe8-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GEK-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:1:0'
whole_disk: 1
DTL: 94465
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
zdb -l /dev/disk/by-id/wwn-0x5000c500a41ba99c-part1
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'home'
state: 0
txg: 1479564
pool_guid: 4810743847386909334
errata: 0
hostname: 'localhost'
top_guid: 10324630699361516978
guid: 2783137776399273186
vdev_children: 2
vdev_tree:
type: 'raidz'
id: 0
guid: 10324630699361516978
nparity: 2
metaslab_array: 34
metaslab_shift: 37
ashift: 12
asize: 18003470057472
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 2040536573808666336
path: '/dev/disk/by-id/wwn-0x5000c500a41a0a00-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10BQS-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:0:0'
whole_disk: 1
DTL: 94470
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 4207547791789368678
path: '/dev/disk/by-id/wwn-0x5000c500a41ae340-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10JYW-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:6:0'
whole_disk: 1
DTL: 94469
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 246015074774141735
path: '/dev/disk/by-id/wwn-0x5000c500a41b4c57-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10HYL-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:2:0'
whole_disk: 1
DTL: 94468
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 3942886518049735853
path: '/dev/disk/by-id/wwn-0x5000c500a41b7572-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10H74-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:4:0'
whole_disk: 1
DTL: 94467
create_txg: 4
children[4]:
type: 'disk'
id: 4
guid: 2783137776399273186
path: '/dev/disk/by-id/wwn-0x5000c500a41ba99c-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GF3-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:5:0'
whole_disk: 1
DTL: 94466
create_txg: 4
children[5]:
type: 'disk'
id: 5
guid: 10176867309747558355
path: '/dev/disk/by-id/wwn-0x5000c500a41babe8-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GEK-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:1:0'
whole_disk: 1
DTL: 94465
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
zdb -l /dev/disk/by-id/wwn-0x5000c500a41babe8-part1
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'home'
state: 0
txg: 1479564
pool_guid: 4810743847386909334
errata: 0
hostname: 'localhost'
top_guid: 10324630699361516978
guid: 10176867309747558355
vdev_children: 2
vdev_tree:
type: 'raidz'
id: 0
guid: 10324630699361516978
nparity: 2
metaslab_array: 34
metaslab_shift: 37
ashift: 12
asize: 18003470057472
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 2040536573808666336
path: '/dev/disk/by-id/wwn-0x5000c500a41a0a00-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10BQS-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:0:0'
whole_disk: 1
DTL: 94470
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 4207547791789368678
path: '/dev/disk/by-id/wwn-0x5000c500a41ae340-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10JYW-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:6:0'
whole_disk: 1
DTL: 94469
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 246015074774141735
path: '/dev/disk/by-id/wwn-0x5000c500a41b4c57-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10HYL-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:2:0'
whole_disk: 1
DTL: 94468
create_txg: 4
children[3]:
type: 'disk'
id: 3
guid: 3942886518049735853
path: '/dev/disk/by-id/wwn-0x5000c500a41b7572-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10H74-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:4:0'
whole_disk: 1
DTL: 94467
create_txg: 4
children[4]:
type: 'disk'
id: 4
guid: 2783137776399273186
path: '/dev/disk/by-id/wwn-0x5000c500a41ba99c-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GF3-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:5:0'
whole_disk: 1
DTL: 94466
create_txg: 4
children[5]:
type: 'disk'
id: 5
guid: 10176867309747558355
path: '/dev/disk/by-id/wwn-0x5000c500a41babe8-part1'
devid: 'ata-ST3000VN007-2E4166_Z6A10GEK-part1'
phys_path: 'pci-0000:02:00.0-scsi-0:2:1:0'
whole_disk: 1
DTL: 94465
create_txg: 4
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
zdb -l /dev/disk/by-id/wwn-0x30000d1700d9d40f-part2
------------------------------------
LABEL 0
------------------------------------
version: 5000
name: 'home'
state: 0
txg: 1479564
pool_guid: 4810743847386909334
errata: 0
hostname: 'localhost'
top_guid: 13706502381742019782
guid: 13706502381742019782
is_log: 1
vdev_children: 2
vdev_tree:
type: 'disk'
id: 1
guid: 13706502381742019782
path: '/dev/disk/by-id/wwn-0x30000d1700d9d40f-part2'
whole_disk: 0
metaslab_array: 131
metaslab_shift: 26
ashift: 9
asize: 8585216000 <(858)%20521-6000>
is_log: 1
DTL: 94464
create_txg: 52673
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
labels = 0 1 2 3
zdb -l /dev/disk/by-id/wwn-0x30000d1700d9d40f-part3
------------------------------------
LABEL 0
------------------------------------
version: 5000
state: 4
guid: 13262690372966509270
labels = 0 1 2 3


Thanks
Anton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20180422/a120b4f5/attachment-0001.html>


More information about the zfs-discuss mailing list