Hello,
The my pool is degraded, the harddisk da2 is off line, then i check with the camcontrol and the smart said is OK with da2.
I send the command replace:
zpool MEDIA replace /dev/gptid/cf497248-e182-11e1-be7b-001b21bb40b9 da2
OK the system make the resilver and the da2 is online, but the my pool can´t detach the "old" drive, and stay in offline and my pool is degraded, but the da2 is online and ok.
I know that i need erase the one file corrupt listed bellow and resilver again, but i can´t put off the "old" device of my pool.
Follow bellow my pool status for help-me to resolv this problem.
My pool have a two "steps" of 5 hard drives in one pool MEDIA
da4 is a SSD for cache.
Thanks for yours attention.
Regards
Alessandro
[root@NAZ] ~# zpool status -v
pool: MEDIA
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://www.sun.com/msg/ZFS-8000-8A
scan: resilvered 1.40T in 9h25m with 3 errors on Sat Mar 9 02:00:14 2013
config:
NAME STATE READ WRITE CKSUM
MEDIA DEGRADED 0 0 3
raidz1-0 DEGRADED 0 0 6
gptid/be973ed6-e182-11e1-be7b-001b21bb40b9 ONLINE 0 0 0
gptid/188cdb13-34ce-11e2-8330-1078d205723e ONLINE 0 0 0
6485236485708290913 OFFLINE 5 5.32M 1 was /dev/gptid/cf497248-e182-11e1-be7b-001b21bb40b9
replacing-3 ONLINE 0 0 0
gptid/cff686cd-e182-11e1-be7b-001b21bb40b9 ONLINE 0 0 0
da2 ONLINE 0 0 0
gptid/d0811f19-e182-11e1-be7b-001b21bb40b9 ONLINE 0 0 0
raidz1-1 ONLINE 0 0 0
gptid/f8b57a37-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/f903282b-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/f990c060-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/fa2eaf0f-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/facf329f-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
cache
ada4 ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
/mnt/MEDIA/SERVER/ANDAMENTO_NUATO11/_ABASTECEDOR/FEVEREIRO/1º_CICLO_FEVEREIRO/FUSOES/PB/Frios_PB.psd
[root@NAZ] ~# zpool detach MEDIA 6485236485708290913
cannot detach 6485236485708290913: only applicable to mirror and replacing vdevs
[root@NAZ] ~# zpool detach MEDIA /dev/gptid/cff686cd-e182-11e1-be7b-001b21bb40b9
cannot detach /dev/gptid/cff686cd-e182-11e1-be7b-001b21bb40b9: no valid replicas
The my pool is degraded, the harddisk da2 is off line, then i check with the camcontrol and the smart said is OK with da2.
I send the command replace:
zpool MEDIA replace /dev/gptid/cf497248-e182-11e1-be7b-001b21bb40b9 da2
OK the system make the resilver and the da2 is online, but the my pool can´t detach the "old" drive, and stay in offline and my pool is degraded, but the da2 is online and ok.
I know that i need erase the one file corrupt listed bellow and resilver again, but i can´t put off the "old" device of my pool.
Follow bellow my pool status for help-me to resolv this problem.
My pool have a two "steps" of 5 hard drives in one pool MEDIA
da4 is a SSD for cache.
Thanks for yours attention.
Regards
Alessandro
[root@NAZ] ~# zpool status -v
pool: MEDIA
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://www.sun.com/msg/ZFS-8000-8A
scan: resilvered 1.40T in 9h25m with 3 errors on Sat Mar 9 02:00:14 2013
config:
NAME STATE READ WRITE CKSUM
MEDIA DEGRADED 0 0 3
raidz1-0 DEGRADED 0 0 6
gptid/be973ed6-e182-11e1-be7b-001b21bb40b9 ONLINE 0 0 0
gptid/188cdb13-34ce-11e2-8330-1078d205723e ONLINE 0 0 0
6485236485708290913 OFFLINE 5 5.32M 1 was /dev/gptid/cf497248-e182-11e1-be7b-001b21bb40b9
replacing-3 ONLINE 0 0 0
gptid/cff686cd-e182-11e1-be7b-001b21bb40b9 ONLINE 0 0 0
da2 ONLINE 0 0 0
gptid/d0811f19-e182-11e1-be7b-001b21bb40b9 ONLINE 0 0 0
raidz1-1 ONLINE 0 0 0
gptid/f8b57a37-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/f903282b-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/f990c060-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/fa2eaf0f-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
gptid/facf329f-2d1b-11e2-bb42-1078d205723e ONLINE 0 0 0
cache
ada4 ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
/mnt/MEDIA/SERVER/ANDAMENTO_NUATO11/_ABASTECEDOR/FEVEREIRO/1º_CICLO_FEVEREIRO/FUSOES/PB/Frios_PB.psd
[root@NAZ] ~# zpool detach MEDIA 6485236485708290913
cannot detach 6485236485708290913: only applicable to mirror and replacing vdevs
[root@NAZ] ~# zpool detach MEDIA /dev/gptid/cff686cd-e182-11e1-be7b-001b21bb40b9
cannot detach /dev/gptid/cff686cd-e182-11e1-be7b-001b21bb40b9: no valid replicas