Please bear with me as someone else setup my machine and I am trying to do these changes myself :
I had two 8TB drives mirrored as "pool1"
NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-WDC_WD80EMAZ-00M9AA0_VAGDUWBL ONLINE 0 0 0
ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL ONLINE 0 0 0
One disk failed after a power outage (ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL)
It will be replaced via RMA and I have removed the drive (it was shucked from an external enclosure)
I have researched on the internet about replacing the drive (https://zfsonlinux.org/msg/ZFS-8000-4J/ and https://docs.oracle.com/cd/E19253-01/819-5461/gazgd/index.html)
In both examples they have the name of the drive listed, I do not because I have physically removed the drive)
This is what I see now when I run pool status:
pool: pool1
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
scan: scrub repaired 0B in 1 days 02:28:45 with 0 errors on Mon Apr 13 02:52:46 2020
config:
NAME STATE READ WRITE CKSUM
pool1 DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ata-WDC_WD80EMAZ-00M9AA0_VAGDUWBL ONLINE 0 0 0
1200958216758885009 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL-part1
errors: No known data errors
pool: rpool
state: ONLINE
scan: scrub repaired 0B in 0 days 00:13:36 with 0 errors on Sun Apr 12 00:37:38 2020
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
ata-WDC_WDS100T2B0A-00SM50_20036E808189-part3 ONLINE 0 0 0
errors: No known data errors
Can I use the command "# zpool replace test c0t0d1" and replace "c0t0d1" with "ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL" (as that was the defective drive...?)
Thx for any advice, help or suggestions.
I had two 8TB drives mirrored as "pool1"
NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-WDC_WD80EMAZ-00M9AA0_VAGDUWBL ONLINE 0 0 0
ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL ONLINE 0 0 0
One disk failed after a power outage (ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL)
It will be replaced via RMA and I have removed the drive (it was shucked from an external enclosure)
I have researched on the internet about replacing the drive (https://zfsonlinux.org/msg/ZFS-8000-4J/ and https://docs.oracle.com/cd/E19253-01/819-5461/gazgd/index.html)
In both examples they have the name of the drive listed, I do not because I have physically removed the drive)
This is what I see now when I run pool status:
pool: pool1
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
scan: scrub repaired 0B in 1 days 02:28:45 with 0 errors on Mon Apr 13 02:52:46 2020
config:
NAME STATE READ WRITE CKSUM
pool1 DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ata-WDC_WD80EMAZ-00M9AA0_VAGDUWBL ONLINE 0 0 0
1200958216758885009 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL-part1
errors: No known data errors
pool: rpool
state: ONLINE
scan: scrub repaired 0B in 0 days 00:13:36 with 0 errors on Sun Apr 12 00:37:38 2020
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
ata-WDC_WDS100T2B0A-00SM50_20036E808189-part3 ONLINE 0 0 0
errors: No known data errors
Can I use the command "# zpool replace test c0t0d1" and replace "c0t0d1" with "ata-WDC_WD80EMAZ-00M9AA0_VAGLGALL" (as that was the defective drive...?)
Thx for any advice, help or suggestions.