на дисках поймал бэды.
В итоге ситуация такая:
2-й диск:
- zdb -l
Код: Выделить всё
~ » sudo zdb -l /dev/sdd2 alexey@ayamschikov-pc
--------------------------------------------
LABEL 0
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199934
pool_guid: 7755428179599985620
hostid: 2180312168
hostname: 'freenas.local'
top_guid: 12958262172326587208
guid: 5059451112022724165
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/gptid/22b2b9c6-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 115
create_txg: 4
removed: 1
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
--------------------------------------------
LABEL 1
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199934
pool_guid: 7755428179599985620
hostid: 2180312168
hostname: 'freenas.local'
top_guid: 12958262172326587208
guid: 5059451112022724165
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/gptid/22b2b9c6-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 115
create_txg: 4
removed: 1
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
--------------------------------------------
LABEL 2
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199934
pool_guid: 7755428179599985620
hostid: 2180312168
hostname: 'freenas.local'
top_guid: 12958262172326587208
guid: 5059451112022724165
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/gptid/22b2b9c6-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 115
create_txg: 4
removed: 1
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
--------------------------------------------
LABEL 3
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199934
pool_guid: 7755428179599985620
hostid: 2180312168
hostname: 'freenas.local'
top_guid: 12958262172326587208
guid: 5059451112022724165
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/gptid/22b2b9c6-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 115
create_txg: 4
removed: 1
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
------------------------------------------------------------
- zpool import -f
Код: Выделить всё
sudo zpool import -f alexey@ayamschikov-pc
pool: userdata
id: 7755428179599985620
state: DEGRADED
status: The pool was last accessed by another system.
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
see: http://zfsonlinux.org/msg/ZFS-8000-EY
config:
userdata DEGRADED
mirror-0 DEGRADED
22b2b9c6-a724-11e4-8650-00e04c6b51db UNAVAIL
ata-ST3500418AS_9VMTCW0E ONLINE
Код: Выделить всё
sudo zpool import -f userdata alexey@ayamschikov-pc
cannot import 'userdata': I/O error
Destroy and re-create the pool from
a backup source.
1-й диск:
- zdb -l
Код: Выделить всё
sudo zdb -l /dev/sdc2
--------------------------------------------
LABEL 0
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199945
pool_guid: 7755428179599985620
errata: 0
hostid: 2831182848
hostname: 'ayamschikov-pc.vps'
top_guid: 12958262172326587208
guid: 4493488366482451897
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/disk/by-id/ata-WDC_WD5000AARS-003BB1_WD-WCAV5K193473-part2'
whole_disk: 1
DTL: 115
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
not_present: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199945
pool_guid: 7755428179599985620
errata: 0
hostid: 2831182848
hostname: 'ayamschikov-pc.vps'
top_guid: 12958262172326587208
guid: 4493488366482451897
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/disk/by-id/ata-WDC_WD5000AARS-003BB1_WD-WCAV5K193473-part2'
whole_disk: 1
DTL: 115
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
not_present: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
--------------------------------------------
LABEL 3
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199945
pool_guid: 7755428179599985620
errata: 0
hostid: 2831182848
hostname: 'ayamschikov-pc.vps'
top_guid: 12958262172326587208
guid: 4493488366482451897
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/disk/by-id/ata-WDC_WD5000AARS-003BB1_WD-WCAV5K193473-part2'
whole_disk: 1
DTL: 115
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
not_present: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
------------------------------------------------------------
Код: Выделить всё
sudo zdb -l /dev/sdc2 alexey@ayamschikov-pc
--------------------------------------------
LABEL 0
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199945
pool_guid: 7755428179599985620
errata: 0
hostid: 2831182848
hostname: 'ayamschikov-pc.vps'
top_guid: 12958262172326587208
guid: 4493488366482451897
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/disk/by-id/ata-WDC_WD5000AARS-003BB1_WD-WCAV5K193473-part2'
whole_disk: 1
DTL: 115
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
not_present: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199945
pool_guid: 7755428179599985620
errata: 0
hostid: 2831182848
hostname: 'ayamschikov-pc.vps'
top_guid: 12958262172326587208
guid: 4493488366482451897
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/disk/by-id/ata-WDC_WD5000AARS-003BB1_WD-WCAV5K193473-part2'
whole_disk: 1
DTL: 115
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
not_present: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
--------------------------------------------
LABEL 3
--------------------------------------------
version: 5000
name: 'userdata'
state: 0
txg: 2199945
pool_guid: 7755428179599985620
errata: 0
hostid: 2831182848
hostname: 'ayamschikov-pc.vps'
top_guid: 12958262172326587208
guid: 4493488366482451897
vdev_children: 1
vdev_tree:
type: 'mirror'
id: 0
guid: 12958262172326587208
metaslab_array: 35
metaslab_shift: 32
ashift: 12
asize: 497955373056
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 4493488366482451897
path: '/dev/disk/by-id/ata-WDC_WD5000AARS-003BB1_WD-WCAV5K193473-part2'
whole_disk: 1
DTL: 115
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 5059451112022724165
path: '/dev/gptid/233672cb-a724-11e4-8650-00e04c6b51db'
whole_disk: 1
not_present: 1
DTL: 117
create_txg: 4
features_for_read:
com.delphix:hole_birth
------------------------------------------------------------
Код: Выделить всё
~ » sudo zpool import -f alexey@ayamschikov-pc
pool: userdata
id: 7755428179599985620
state: DEGRADED
status: One or more devices contains corrupted data.
action: The pool can be imported despite missing or damaged devices. The
fault tolerance of the pool may be compromised if imported.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
config:
userdata DEGRADED
mirror-0 DEGRADED
ata-WDC_WD5000AARS-003BB1_WD-WCAV5K193473 ONLINE
5059451112022724165 UNAVAIL
после этой команды виснет. ночь так простоял, особой активности диска не наблюдаю.
Подскажите как вытащить данные с диска.