From owner-freebsd-fs@FreeBSD.ORG Sat Mar 11 09:37:31 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 1C8AB16A41F for ; Sat, 11 Mar 2006 09:37:31 +0000 (GMT) (envelope-from genie@geniechka.ru) Received: from turists.ru (turists.ru [83.222.5.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 721FE43D45 for ; Sat, 11 Mar 2006 09:37:27 +0000 (GMT) (envelope-from genie@geniechka.ru) Received: from genie (genie.yauza.ru [85.192.18.27]) (authenticated bits=0) by turists.ru (8.13.1/8.13.1) with ESMTP id k2B9bPVH057672; Sat, 11 Mar 2006 12:37:25 +0300 (MSK) (envelope-from genie@geniechka.ru) X-AntiVirus: Checked by Dr.Web [version: 4.33, engine: 4.33.2.02271, virus records: 105810, updated: 10.02.2006] Message-ID: <001e01c644ef$68a76070$1b12c055@genie> From: "Eugene" To: "Kris Kennaway" References: <004c01c644e8$c05c8c70$1b12c055@genie> <20060311090532.GA43378@xor.obsecurity.org> Date: Sat, 11 Mar 2006 12:37:03 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 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:37:31 -0000 Hi! ----- Original Message ----- From: "Kris Kennaway" To: "Eugene" Cc: Sent: Saturday, March 11, 2006 12:05 Subject: Re: Dump/snapshot 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) > > 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. Well, I can read -) I would like to know why it fails in virtually unloaded system (except for dump) and what parameters/values _in particular_ should be tweaked. > > 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 > > > > dmesg message > > fsync: giving up on dirty: 0xc57b5d68: tag devfs, type VCHR, usecount > > 60263, > > writecount 0, refcount 960, flags (VV_OBJBUF), lock type devfs: EXCL > > (count 1) by thread 0xc610f7d0 (pid 87575) > > dev ad4s1a > > > > 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. That's very comforting but why is it not succeding? And I would really like the dump to work automatically (as it did for more than a year before these problems started to appear recently). Eugene