From owner-freebsd-stable@FreeBSD.ORG Sat Nov 4 14:45:00 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C6B516A666 for ; Sat, 4 Nov 2006 14:45:00 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB69743DAB for ; Sat, 4 Nov 2006 14:44:49 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so534906uge for ; Sat, 04 Nov 2006 06:44:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=b8aXfi0qBvus/L/pnGBKiJpEXFN81Nv+MggVfTxYkISElGDi5HPv25Tp+ex4XTaBXVvU2STnuGo0+NJxbN3sgxUJnjEwlWHS0763gtdE7Z/wXCbsJmp6+SkeHlTf+j2oMSCXq9eW+WtgmffE9yEl1WyWhRZRGYN7dEv9naICCps= Received: by 10.66.243.2 with SMTP id q2mr4442640ugh.1162651488744; Sat, 04 Nov 2006 06:44:48 -0800 (PST) Received: from roadrunner.q.local ( [85.180.171.182]) by mx.google.com with ESMTP id o30sm2458114ugd.2006.11.04.06.44.48; Sat, 04 Nov 2006 06:44:48 -0800 (PST) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.8/8.13.8) with ESMTP id kA4EikrG064796; Sat, 4 Nov 2006 15:44:46 +0100 (CET) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.8/8.13.8/Submit) id kA3MPLEg005818; Fri, 3 Nov 2006 23:25:21 +0100 (CET) (envelope-from uspoerlein@gmail.com) Date: Fri, 3 Nov 2006 23:25:21 +0100 From: Ulrich Spoerlein To: Anatoliy Dmytriyev Message-ID: <20061103222521.GA1519@roadrunner.q.local> Mail-Followup-To: Anatoliy Dmytriyev , freebsd-stable@freebsd.org References: <4549A379.8090003@plab.ku.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4549A379.8090003@plab.ku.dk> Cc: freebsd-stable@freebsd.org Subject: Re: problems with shutdown after dump on a large partition X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2006 14:45:00 -0000 Anatoliy Dmytriyev wrote: > I got problems with shutdown after dump with ???-L??? (with spashots) on a large partition: > > We have large partition with 872G on ???df ???H??? report. Exactly before shutdown the > ???dump ???Lau??? was finished without any problems. After dump finished I run command > ???shutdown ???h now??? and in the result shutdown was incorrect because disk sync was > terminated by timeout and fsck was run on the next boot. I'm not entirely shure, but this looks like the snapshot generated by "dump -L" was not yet cleaned up. You should wait a couple of minutes (depending on the snapshot size and I/O turnover) before shutting down the system or umounting the partition. I don't know of a way to decide if the snapshot has been fully cleaned up. Ulrich Spoerlein -- A: Yes. >Q: Are you sure? > >A: Because it reverses the logical flow of conversation. > >>Q: Why is top posting frowned upon?