From owner-freebsd-geom@FreeBSD.ORG Mon Apr 3 17:21:51 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E64F416A400 for ; Mon, 3 Apr 2006 17:21:51 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBDC143D80 for ; Mon, 3 Apr 2006 17:21:41 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7068151CE6; Mon, 3 Apr 2006 19:21:40 +0200 (CEST) Received: from localhost (dlt217.neoplus.adsl.tpnet.pl [83.24.49.217]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 2EFA651CA1; Mon, 3 Apr 2006 19:21:34 +0200 (CEST) Date: Mon, 3 Apr 2006 19:20:36 +0200 From: Pawel Jakub Dawidek To: Andreas Zymny Message-ID: <20060403172036.GB2342@garage.freebsd.pl> References: <1481733019@web.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: <1481733019@web.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL,RCVD_IN_SORBS_WEB autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: Having problems, when writing to a gmirrored filesystem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 17:21:52 -0000 --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 at ata2-master SATA150 +> ad6: 238475MB 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--