Gmirror rebuilding

Willem Jan Withagen wjw at digiware.nl
Fri Jul 31 14:52:37 UTC 2009


Hi,

I lost one of my disk in a gmirror, so I inserted a fresh one.
And thusfar things went rather smoothly,it started rebuilding automagically.

That's good,but what isn't is:

Jul 31 16:43:15 www kernel: ad2: FAILURE - READ_DMA 
status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=16344448
Jul 31 16:43:15 www kernel: GEOM_MIRROR: Synchronization request failed 
(error=5). mirror/mirror[READ(offset=8368291840, length=131072)]
Jul 31 16:43:40 www kernel: ad2: FAILURE - READ_DMA 
status=51<READY,DSC,ERROR> error=40<UNCORRECTABLE> LBA=16910976
Jul 31 16:43:40 www kernel: GEOM_MIRROR: Synchronization request failed 
(error=5). mirror/mirror[READ(offset=8658354176, length=131072)]

and ad2 is the original disk. So somewhere I'm left with corrupt files.

And what's worse, once this happens, geom_mirror does not continue with the 
remainder of the disk...
It claims it is, but there is no activity at all on the disks.

So what to do????

Hard way out would be to make a backup, reinstall the basic system with 
another/second fresh harddisk, and recover the backup.
But that is a lot of work.

Why doesn't geom_mirror continue with the remainder of the disk?

--WjW



More information about the freebsd-geom mailing list