Still resilvering after hdd replace
Posted: 16 Jun 2014 06:37
Hi,
I have problem with my nas after replace zfs hdd.
I can't offline ada3/old before replace with new hdd (my system cannot boot before replace hdd). Just replace with new hdd (WDC Red 2TB), wipe new hdd with dd script (from wiki). After resilvering process, ada3/old still show at the zpool status. Trying to scrub but it's still degadred. Clear config and import disk is not help. Resilvering process started automatically after reboot.
zpool replace
zpool replace -f
Disks|ZFS|Configuration|Current
Disks|ZFS|Configuration|Detected
ZDB
I see some topics (in this forum) about that. I see one thread not resolved and only one way is make backup to other nas, and setup new nas. Other thread still not help me. Maybe there is solution without move the file to other and setup new nas? I have other nas but not enough space to hold all the files.
Thanks and apologize for bad english.
I have problem with my nas after replace zfs hdd.
Code: Select all
progressnas: ~ # zpool status
pool: vol1
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Mon Jun 16 03:25:42 2014
5.48T scanned out of 9.31T at 207M/s, 5h23m to go
1.82T resilvered, 58.85% done
config:
NAME STATE READ WRITE CKSUM
vol1 DEGRADED 0 0 99
raidz1-0 ONLINE 0 0 98
ada0 ONLINE 0 0 0 (resilvering)
ada1.nop ONLINE 0 0 150 (resilvering)
ada2.nop ONLINE 0 0 173 (resilvering)
raidz1-1 DEGRADED 0 0 100
replacing-0 DEGRADED 0 0 1
12609113799974789003 UNAVAIL 0 0 0 was /dev/ada3/old
ada3 ONLINE 0 0 0 (resilvering)
ada4 ONLINE 0 0 76 (resilvering)
ada5 ONLINE 0 0 62 (resilvering)zpool replace
Code: Select all
progressnas: ~ # zpool replace vol1 12609113799974789003 ada3
invalid vdev specification
use '-f' to override the following errors:
/dev/ada3 is part of active pool 'vol1'Code: Select all
progressnas: ~ # zpool replace -f vol1 12609113799974789003 ada3
invalid vdev specification
the following errors must be manually repaired:
/dev/ada3 is part of active pool 'vol1'Code: Select all
Name Type Pool Devices
vol1_raidz1_0 raidz1 vol1 /dev/ada0, /dev/ada1, /dev/ada2
vol2_raidz1_0 raidz1 vol1 /dev/ada3, /dev/ada4, /dev/ada5Code: Select all
Name Type Pool Devices
vol1_raidz1_0 raidz1 vol1 /dev/ada0, /dev/ada1, /dev/ada2
vol1_raidz1_1 raidz1 vol1 /dev/replacing-0, /dev/ada4, /dev/ada5Code: Select all
progressnas: ~ # zdb
vol1:
version: 28
name: 'vol1'
state: 0
txg: 5389466
pool_guid: 586138567007580426
hostname: ''
vdev_children: 2
vdev_tree:
type: 'root'
id: 0
guid: 586138567007580426
children[0]:
type: 'raidz'
id: 0
guid: 8748666644158038467
nparity: 1
metaslab_array: 30
metaslab_shift: 35
ashift: 12
asize: 6001182375936
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 8743880665745002447
path: '/dev/ada0'
phys_path: '/dev/ada0'
whole_disk: 1
DTL: 74
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 12713974317220211934
path: '/dev/ada1.nop'
phys_path: '/dev/ada1.nop'
whole_disk: 1
DTL: 4121
create_txg: 4
children[2]:
type: 'disk'
id: 2
guid: 9091162303968359871
path: '/dev/ada2.nop'
phys_path: '/dev/ada2.nop'
whole_disk: 1
DTL: 4120
create_txg: 4
children[1]:
type: 'raidz'
id: 1
guid: 17239451467821290322
nparity: 1
metaslab_array: 179
metaslab_shift: 35
ashift: 9
asize: 6001182375936
is_log: 0
create_txg: 70872
children[0]:
type: 'replacing'
id: 0
guid: 12363376037576259361
whole_disk: 0
create_txg: 70872
children[0]:
type: 'disk'
id: 0
guid: 12609113799974789003
path: '/dev/ada3/old'
phys_path: '/dev/ada3'
whole_disk: 1
not_present: 1
DTL: 4118
create_txg: 70872
children[1]:
type: 'disk'
id: 1
guid: 18038151162092769873
path: '/dev/ada3'
phys_path: '/dev/ada3'
whole_disk: 1
DTL: 8196
create_txg: 70872
resilvering: 1
children[1]:
type: 'disk'
id: 1
guid: 1630761014705835153
path: '/dev/ada4'
phys_path: '/dev/ada4'
whole_disk: 1
DTL: 4116
create_txg: 70872
children[2]:
type: 'disk'
id: 2
guid: 7221327795058766781
path: '/dev/ada5'
phys_path: '/dev/ada5'
whole_disk: 1
DTL: 4112
create_txg: 70872
features_for_read:Thanks and apologize for bad english.