gmirror inconsistent filesystem

Marius Nünnerich marius at nuenneri.ch
Wed Oct 22 14:24:50 UTC 2008


On Sat, Oct 18, 2008 at 8:46 AM, Andrei Kolu <antik at bsd.ee> wrote:
> Hi,
>
> I encountered strange problem yesterday with gmirror setup on amd64 version
> of FreeBSD 7.1BETA2- after successful syncronization I shut down system
> cleanly and on bootup it said that /var filesystem is not clean and stopped
> rc startup script. I did "fsck -y /var" and mounted everything with "mount
> -a"- no problems on gmirror. Reboot and all starts over again- inconsistent
> /var... All other filesystems are clean.
>
> Everything works with gmirror without problem on 32bit FreeBSD 7.0RELEASE.
>
> Hardware is Asus P5GC-MX/1333, 2xMaxtor 160GB sata, 2x1GB Kingston 667MHz
> ddr2. Celeron dual-core 1,6GHz.

That looks like a corrupted FS problem to me. One idea would be to cp
the stuff in /var to somewhere else, boot to single-user, create a new
/var FS and copy the stuff back. But be sure to have good backups!


More information about the freebsd-geom mailing list