I had a disk die on me a while back. I pulled the disk and then sometime later replaced it with it's warranty replacement. From memory, I used the replace command, but don't hold me on that (it was over 6 months ago). I've been trying to get the box back up and running of late (life got in the way in the intervening period).
How do I get my pool (Moeras) back up online and running properly. Moeras is a samba share.
It's an Athlon x4 12GB RAM running Ubuntu 17.10 as a mediacentre (MediaBox is the computer's name) running Kodi 17.6 and sharing out via SQL etc blah blah blah.
I've included all the output that I think may be relevant below. Sorry for the lack of indenting from the zdb command, but the forum parser removed ALL the whitespace, so I just added carriage returns to it was somewhat readable.
Cheers
Darryl
darryl@Nassau:~$ sudo zdb
Moeras:
version: 5000
name: 'Moeras'
state: 0
txg: 3984093
pool_guid: 18184029150424358502
errata: 0
hostname: 'Nassau'
vdev_children: 2
vdev_tree:
type: 'root'
id: 0
guid: 18184029150424358502
children[0]:
type: 'raidz'
id: 0
guid: 3341763187599105175
nparity: 1
metaslab_array: 35
metaslab_shift: 36
ashift: 12
asize: 12002320711680
is_log: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 12279066897419627741
path: '/dev/disk/by-id/wwn-0x50014ee20bd9b3a0-part1'
whole_disk: 1
DTL: 218
create_txg: 4
children[1]:
type: 'disk'
id: 1
guid: 15924622066277202387
path: '/dev/disk/by-id/wwn-0x50014ee2b6f00fc8-part1'
whole_disk: 1
DTL: 217
create_txg: 4
children[1]:
type: 'raidz'
id: 1
guid: 1109155141408738463
nparity: 1
metaslab_array: 166
metaslab_shift: 37
ashift: 12
asize: 16003097427968
is_log: 0
create_txg: 125102
children[0]:
type: 'disk'
id: 0
guid: 530933039732532316
path: '/dev/sdd1'
whole_disk: 1
DTL: 211
create_txg: 125102
children[1]:
type: 'replacing'
id: 1
guid: 12779208485490938286
whole_disk: 0
create_txg: 125102
children[0]:
type: 'disk'
id: 0
guid: 10713216388657625813
path: '/dev/disk/by-id/wwn-0x5000c50087d22bff-part1'
whole_disk: 1
not_present: 1
DTL: 219
create_txg: 125102
children[1]:
type: 'disk'
id: 1
guid: 14427897699676778701
path: '/dev/sde1'
whole_disk: 1
DTL: 282
create_txg: 125102
resilver_txg: 3456175
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
darryl@Nassau:~$ sudo zpool status -x
pool: Moeras
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see:
http://zfsonlinux.org/msg/ZFS-8000-8A
scan: scrub in progress since Thu Nov 30 23:03:56 2017
175G scanned out of 15.0T at 250M/s, 17h13m to go
48K repaired, 1.14% done
config:
NAME STATE READ WRITE CKSUM
Moeras DEGRADED 0 0 0
raidz1-0 ONLINE 0 0 0
wwn-0x50014ee20bd9b3a0 ONLINE 0 0 0
wwn-0x50014ee2b6f00fc8 ONLINE 0 0 0
raidz1-1 DEGRADED 0 0 0
sdd ONLINE 0 0 18 (repairing)
replacing-1 DEGRADED 0 0 0
10713216388657625813 UNAVAIL 0 0 0 was /dev/disk/by-id/wwn-0x5000c50087d22bff-part1
sde ONLINE 0 0 0