Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 19:20:36 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Andreas Zymny <azymny@web.de>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Having problems, when writing to a gmirrored filesystem
Message-ID:  <20060403172036.GB2342@garage.freebsd.pl>
In-Reply-To: <1481733019@web.de>
References:  <1481733019@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--eAbsdosE1cNLO4uF
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 03, 2006 at 06:51:09PM +0200, Andreas Zymny wrote:
+> Hello all,
+>=20
+> I had a long time ago two 80 GB harddrives gmirrored. Because the space
+> was not enough, I bought two 250 GB harddrivs. I exchanged one of both
+> 80 GB with one 250 GB harddrive, and put the 250 GB into the mirror.
+> After the sync was finished, I exchanged the secong 80 GB HD. Then I
+> have booted from the first hd (without geom loaded) to resize the slice
+> (I reserved the last half cylinder for the geom data) using fdisk, and
+> increase the last filesystem to the end of the slice (with disklabel and
+> growfs).
+>=20
+> I launched the mirror, and all was working fine for a few weeks. Then I
+> had the idea to copy some GB of stuff to the big filesystem, and as
+> result my FreeBSD freezes, and reboots - without writing any to the
+> logfiles.
+>=20
+> Here are some data:
+>=20
+> ad4: 238475MB <Seagate ST3250823NS 5.01> at ata2-master SATA150
+> ad6: 238475MB <Seagate ST3250823NS 5.01> at ata3-master SATA150
+>=20
[...]
+> When I work with /var (the last filesystem, currently only 20% in use)
+> my FreeBSD freezes and reboots. Than, I can't write any more data on
+> /var, or remove some files ):
+>=20
+> I checked the filesystems with fsck, I had built a new /var with newfs,
+> I had upgraded my BIOS (it knows the 250 GB harddisks now as 250 GB
+> drives), nothing helped.
+>=20
+> I booted without the gmirror from ad4, and with a small script I wrote
+> /var full (100% usage), and all was fine. When I try to do this with
+> gm4, it crashes (with only ad4 in the mirror, or with ad4 and ad6 in the
+> mirror).
+>=20
+> My system is a FreeBSD 6.0 prerelease.
+>=20
+>=20
+> Any ideas, whats wrong?

Could you send output of:

	# diskinfo -v /dev/ad4 /dev/mirror/gm4
	# gmirror dump /dev/ad{4,6}

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--eAbsdosE1cNLO4uF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFEMVlkForvXbEpPzQRArCrAKCGLMDGfzsnhflQz4vg+5PCR6E0KQCfSYCP
n3glx4OEssEvdyWNQQS/OGo=
=y/XS
-----END PGP SIGNATURE-----

--eAbsdosE1cNLO4uF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060403172036.GB2342>