From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 14:38:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D476C16A4CE for ; Thu, 12 Feb 2004 14:38:23 -0800 (PST) Received: from eden.barryp.org (host-150-32-220-24.midco.net [24.220.32.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id B84B043D1D for ; Thu, 12 Feb 2004 14:38:23 -0800 (PST) (envelope-from bp@barryp.org) Received: from geo.med.und.nodak.edu ([134.129.166.11] helo=barryp.org) by eden.barryp.org with asmtp (TLSv1:AES256-SHA:256) (Exim 4.20) id 1ArPTP-000KNQ-S4; Thu, 12 Feb 2004 16:38:20 -0600 Message-ID: <402C0028.3050409@barryp.org> Date: Thu, 12 Feb 2004 16:37:28 -0600 From: Barry Pederson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Elliot Finley References: <01af01c3f1b7$06fba490$32cba1cd@science1> In-Reply-To: <01af01c3f1b7$06fba490$32cba1cd@science1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on eden.barryp.org X-Spam-Status: No, hits=-4.9 required=4.5 tests=BAYES_00 autolearn=ham version=2.61 cc: freebsd-current@freebsd.org Subject: Re: creating a snapshot with 5.2.1 RC2 doesn't work X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 22:38:24 -0000 Elliot Finley wrote: > RELENG_5_2 as of Feb 11, 8:00PM MST > > When I issue the command: > > dump -0Lauf - / > /nfsmounted/dest/dir/filename > > I get the following output: > > mksnap_ffs: //.snap: No such file or directory > dump: Cannot create //.snap/dump_snapshot: No such file or directory The man page for dump says you need to create the directory by hand if it doesn't already exist: If the .snap directory does not exist in the root of the filesystem being dumped, the dump will fail. This problem can be corrected by creating a .snap directory in the root of the filesystem to be dumped; its owner should be root, its group should be operator, and its mode should be 0770. Barry