From owner-freebsd-questions@FreeBSD.ORG Tue May 5 13:42:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E5641065670 for ; Tue, 5 May 2009 13:42:40 +0000 (UTC) (envelope-from andrew@qemg.org) Received: from mailserv.mta.ca (mailserv.mta.ca [138.73.1.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5EEE58FC1F for ; Tue, 5 May 2009 13:42:39 +0000 (UTC) (envelope-from andrew@qemg.org) Received: from [138.73.29.51] (helo=qemg.org) by mailserv.mta.ca with esmtp (Exim 4.61) (envelope-from ) id 1M1Kum-0002Zp-5T; Tue, 05 May 2009 10:42:33 -0300 Date: Tue, 5 May 2009 10:46:22 -0300 (ADT) From: Andrew Wright To: Marc Coyles In-Reply-To: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> Message-ID: References: <00d301c9cd65$62298910$267c9b30$@wakefield.sch.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Dump snapshot issue... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 13:42:40 -0000 On Tue, 5 May 2009, Marc Coyles wrote: > I've got a script that dumps various filesystems to tape for me, but > I've always had an issue whenever I've used the -L option... see below: > > /usr/bin/mt rewind > /sbin/dump 0aLuf /dev/sa0 / > dump: Cannot create //.snap/dump_snapshot: No such file or directory You probably have not created the .snap directory in the root of the filesystem. >From the dump(8) man page: If the .snap directory does not exist in the root of the file system being dumped, a warning will be issued and the dump will revert to the standard behavior. This problem can be corrected by creating a .snap directory in the root of the file system to be dumped; its owner should be ``root'', its group should be ``operator'', and its mode should be ``0770''. A.