From owner-freebsd-fs@FreeBSD.ORG Thu Mar 23 21:39:44 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 1BA0B16A428 for ; Thu, 23 Mar 2006 21:39:44 +0000 (UTC) (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 38B7843D64 for ; Thu, 23 Mar 2006 21:39:42 +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 211591A4E8F; Thu, 23 Mar 2006 13:39:42 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 88F0151965; Thu, 23 Mar 2006 16:39:41 -0500 (EST) Date: Thu, 23 Mar 2006 16:39:41 -0500 From: Kris Kennaway To: Julien Gabel Message-ID: <20060323213941.GA88109@xor.obsecurity.org> References: <20060322120033.E5B8916A44B@hub.freebsd.org> <007801c64eb9$3db4c050$1b12c055@genie> <50319.192.168.1.101.1143148607.squirrel@webmail.thilelli.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50319.192.168.1.101.1143148607.squirrel@webmail.thilelli.net> User-Agent: Mutt/1.4.2.1i Cc: Eugene , freebsd-fs@freebsd.org, Kris Kennaway Subject: Re: UFS2 Snapshots in 6.1-Beta4 - Confirmed 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: Thu, 23 Mar 2006 21:39:44 -0000 On Thu, Mar 23, 2006 at 10:16:47PM +0100, Julien Gabel wrote: > > While we're on the topic of snapshots, I recently posted this follow-up to > > the PR kern/66270 "[hang] dump causes machine freeze" > > >> I wonder what is the status of this PR? > >> I seem to have the same problem with 5.3-RELEASE. > >> > >> Before this started, system worked nicely for more than a year and then > >> it > >> started to hang during dump (seemingly just after mksnap_ffs) first > >> intermittently and now reproducibly (might increase in data size be a > >> factor? though disk is only about 18% full). > >> Originally it hanged and console had complains about increasing > >> PMAP_SHPGPERPROC and maxproc. > >> After some talk in freebsd-fs, I adjusted these parameters and now it > >> just hangs without complaining =(( > >> > >> Any suggestions? > > > In addition to this PR, I found a couple of similar threads in different > > lists but they all just have some initial talk and preliminary analysis, > > and then it just stops. Was that snapshot problem fixed or is it the same > > as we are talking now? I can't believe I am the only one in almost 2 > > years who is (trying to be) doing automated backups... > > So, if it was fixed, when (which version)? If not, then when it might be > > and -- in the meantime -- is there any workaround for backups? (The system > > is the production server on the colocation so doing backups in single-user > > mode is not practical). > > Interesting. I used dump/restore without problem on i386 using a file > system of 120Go. I swiched two weeks ago on amd64 using a file system of > 260Go and encountered the very same behaviour (hang, freeze). Don't know > if it is related to the new processor architecture or the bigger fs size, > but i didn't observe this hang on smallest file system before. > > Because i am a big fan of dump, i currently choose to use it without the > '-L' switch, back to the old (classical?) behaviour, i.e. not doing a > snapshot before doing the dump. It is always better than not having > complete system backup at all (YMMV, though). > > I am currently running 6.1-PRERELEASE build Wed Mar 22 03:55:42 CET 2006. Let us know if it recurs with your updated kernel. Kris