Unrecoverable UFS error but only with gmirror

Bernd Walter ticso at cicely7.cicely.de
Sat Jul 11 13:30:44 UTC 2009


On Sat, Jul 11, 2009 at 02:54:01PM +0200, Stefan Bethke wrote:
> gmirror and/or ufs got into an odd state after a panic, where fsck  
> could not fix errors on the mirror device, but each member filesystem  
> was fine.  Even after destroying the mirror, fixing all three member  
> file systems with fsck, and recreating the mirror with just a single  
> member fsck found the same errors on the mirror device.

You've created the partitions without mirror?
The member drives are one block larger than the mirrored and if the
filesystem tries to use it under mirror it will fail.
The easiest way to avoid is to create the gmirror and then setup
your partitions on the mirror.

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-current mailing list