From owner-freebsd-fs@FreeBSD.ORG Sat Mar 11 09:05:38 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 503E016A427 for ; Sat, 11 Mar 2006 09:05:34 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4068443D45 for ; Sat, 11 Mar 2006 09:05:34 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 1F0E81A4D83; Sat, 11 Mar 2006 01:05:34 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0D52851743; Sat, 11 Mar 2006 04:05:33 -0500 (EST) Date: Sat, 11 Mar 2006 04:05:32 -0500 From: Kris Kennaway To: Eugene Message-ID: <20060311090532.GA43378@xor.obsecurity.org> References: <004c01c644e8$c05c8c70$1b12c055@genie> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <004c01c644e8$c05c8c70$1b12c055@genie> User-Agent: Mutt/1.4.2.1i Cc: freebsd-fs@freebsd.org Subject: Re: Dump/snapshot problems 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: Sat, 11 Mar 2006 09:05:38 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 11, 2006 at 11:49:26AM +0300, Eugene wrote: > Hi people, >=20 > Sometimes I have strange problems with dump -- or, rather, with snapshot = it > makes. > System is FreeBSD 5.3, default kernel configuration >=20 > Two types of problems: > 1) System hangs or at least not accessible over the network and has to be > physically reset. Last message on console > Collecting pv entries -- suggest increasing PMAP_SHPGPERPRO? > maxproc limit exceeded by id(0), please see tuning(7) and login.conf(5) >=20 > Question: what exactly should I tune? The value of PMAP_SHPGPERPROC in your kernel config, and the maxproc limit as described in those two manpages. > 2) Dump process dies with message > mksnap_ffs: Cannot create //.snap/dump_snapshot: Resource temporarily > unavailable > dump: Cannot create //.snap/dump_snapshot: No such file or directory >=20 > dmesg message > fsync: giving up on dirty: 0xc57b5d68: tag devfs, type VCHR, usecount 602= 63, > writecount 0, refcount 960, flags (VV_OBJBUF), lock type devfs: EXCL > (count 1) by thread 0xc610f7d0 (pid 87575) > dev ad4s1a >=20 > What is wrong? What is '0xc57b5d68' (number is repeating)? You can ignore the fsync message, it's a side-effect of the snapshot operation not succeeding. Just retry the dump. Kris --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEEpLcWry0BWjoQKURAij0AKDUC1sX92Gg3ikvCff9Hd46nuuRBwCgld08 9hb/qo+AP1vthTkXj7c2u5A= =f3S3 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--