From owner-freebsd-fs@FreeBSD.ORG Fri Mar 24 11:58:13 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 7138D16A400 for ; Fri, 24 Mar 2006 11:58:13 +0000 (UTC) (envelope-from jpeg@thilelli.net) Received: from smtp.thilelli.net (smtp.thilelli.net [62.212.120.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81E8F43D49 for ; Fri, 24 Mar 2006 11:58:12 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 244982E073; Fri, 24 Mar 2006 12:58:11 +0100 (CET) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08161-05; Fri, 24 Mar 2006 12:58:10 +0100 (CET) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id E3C5D2E06A; Fri, 24 Mar 2006 12:58:09 +0100 (CET) Received: from 145.248.192.4 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Fri, 24 Mar 2006 12:58:09 +0100 (CET) Message-ID: <59591.145.248.192.4.1143201489.squirrel@webmail.thilelli.net> In-Reply-To: <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> <20060323213941.GA88109@xor.obsecurity.org> Date: Fri, 24 Mar 2006 12:58:09 +0100 (CET) From: "Julien Gabel" To: "Kris Kennaway" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net Cc: Eugene , freebsd-fs@freebsd.org 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: Fri, 24 Mar 2006 11:58:13 -0000 >>> 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 behavior (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?) behavior, 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. Well, it seems ok now with FreeBSD 6.1-PRERELEASE #0 Fri Mar 24 03:58 CET 2006. During the creation of the snapshot (either with mksnap_ffs(8) or with `dump -L'), the system was not particularly "responsiveness", but it seems to be the expected behavior. FYI, for an UFSv2 file system of 260Go with currently ~6.5Go used, it took approximatively ~15mn (on recent hardware). Globally, and minus the ~15mn of not very good serviceability (http requests time-out -- or very, very slow to be served -- and interactive shells not very responsive), all seems ok : the snapshot doesn't hang or freeze the system globally anymore, and the backup are made correctly using `dump -L'). So, good news. -- -jpeg.