From owner-freebsd-fs@FreeBSD.ORG Thu Oct 25 15:10:34 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A477516A420 for ; Thu, 25 Oct 2007 15:10:34 +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 46EAA13C48D for ; Thu, 25 Oct 2007 15:10:33 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 97AA046B0B; Thu, 25 Oct 2007 17:10:29 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 95C3145F99; Thu, 25 Oct 2007 17:10:23 +0200 (CEST) Date: Thu, 25 Oct 2007 17:10:04 +0200 From: Pawel Jakub Dawidek To: Attila Nagy Message-ID: <20071025151004.GA4511@garage.freebsd.pl> References: <471F5B46.9050106@fsn.hu> <20071024155723.GA1431@garage.freebsd.pl> <47208FC8.7060203@fsn.hu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <47208FC8.7060203@fsn.hu> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS and disk naming change (ex. da0->da4) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 15:10:34 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2007 at 02:44:56PM +0200, Attila Nagy wrote: > On 10/24/07 17:57, Pawel Jakub Dawidek wrote: > >ZFS caches components names in /boot/zfs/zpool.cache. You may remove > >this file and import the pool again. > > =20 > Pawel, thanks for the quick answer. >=20 > On the same machine I do an rsync from another machine. The first run=20 > went OK, but the next (incremental, both sides contain nearly the same=20 > amount of stuff) ones result in a panic: > rsync -va --progress --delete root@192.168.1.1:/home/cyrus/spool/=20 > /people/mail/var/spool/imap/ > receiving file list ... > 586728 files to consider > 169500 files... (crash) >=20 > There are bigger and smaller files in many directories. There are=20 > mid-sized directories with several thousands of small files (40-50000),= =20 > because this is a cyrus (maildir-like) mailspool. >=20 > The target machine (which crashes) is: > uname -a > FreeBSD artax 7.0-BETA1 FreeBSD 7.0-BETA1 #1: Thu Oct 25 09:10:32 CEST=20 > 2007 root@artax:/usr/obj/usr/src/sys/ARTAX i386 >=20 > The machine has only 1G RAM, the ZFS and other kmem related settings are= =20 > left on their default values. > Unread portion of the kernel message buffer: > panic: kmem_malloc(131072): kmem_map too small: 335319040 total allocated > cpuid =3D 0 > Uptime: 18m22s > Physical memory: 1015 MB > Dumping 372 MB: 357 341 325 309 293 277 261 245 229 213 197 181 165 149= =20 > 133 117 101 85 69 53 37 21 5 >=20 > #0 doadump () at pcpu.h:195 > 195 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); >=20 > I've tried to lower vfs.zfs.arc_max first to 32, then 16 MB, but the=20 > panics still occur. Have you tried the patch I posted some weeks ago? http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHILHMForvXbEpPzQRApzdAKDQciepVnAnS+rirLg1ofbWB/sgSwCeP+Rm RQRxuD5/SFkBdfzYOD23IrU= =uZcC -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--