From owner-freebsd-questions@FreeBSD.ORG Sat Nov 21 16:45:03 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 E36DF106568D for ; Sat, 21 Nov 2009 16:45:03 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 74EFA8FC19 for ; Sat, 21 Nov 2009 16:45:03 +0000 (UTC) Received: by bwz5 with SMTP id 5so4386336bwz.3 for ; Sat, 21 Nov 2009 08:45:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=cePyzgPPjJi4KbVBhyZE5XypETnPy7W+hiOoXruTEXg=; b=GOpnWD3fKKvpBEhns3USnTdCnOxGNspxLG1yJWuKCSmSvw12Uit2GaDA8EB9tom0gm QnqyBEcoVGcJCRKZShaSWUfHSchPYmTv1SY404yfBvjYs9D8IWwDKYVr+7gPeEbA7e6T Af0ETOVJ0u0YxDlf9g8DIxrLEeryBjJvpQbx4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=lgWKVth7t3R/De203+wwloKJoeCsJ1OLV1JdEHpPyLIGvhRhL/vgQIR4zL5aZ9NWWP 4FYwNcdOaTVQqRfB0r1562GAXpp0f/sJyMYHvVnA5uKafmbgkMLbR2cEDlMTKBevwd/3 Z7M89RDUtWEBG92yP//3mIk/1qMfEADP+eMYI= MIME-Version: 1.0 Received: by 10.204.154.209 with SMTP id p17mr2546928bkw.104.1258821902386; Sat, 21 Nov 2009 08:45:02 -0800 (PST) In-Reply-To: <4B075AAA.80205@bah.homeip.net> References: <4B0562A4.5050405@bah.homeip.net> <4B056636.6050309@infracaninophile.co.uk> <4B075AAA.80205@bah.homeip.net> From: Chris Rees Date: Sat, 21 Nov 2009 16:44:42 +0000 Message-ID: To: Bernt Hansson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 16:45:04 -0000 2009/11/21 Bernt Hansson : > Matthew Seaman skrev: >> >> Bernt Hansson wrote: >>> >>> Hello list. >>> >>> I've been testing backups with dump, works well BUT >>> -L does not work. For example >>> >>> dump -0 -a -u -L -f /mnt/dump.home.full /dev/ad0s2d >> >> I believe that you need to tell dump the mount point of the file system = in >> order for it to create a snapshot, rather than the device file for the >> partition. (ie. snapshotting only makes sense on a mounted read-write >> filesystem). >> >> Also, if you're dumping a snapshotted FS to a local file, then bump up t= he >> cachesize to improve performance a lot. =A0Add '-C 32' to your command-l= ine. > > Ok. I've tested this > dump -1 -a -u -L -C 64 -h 0 -f /usr/home/bernt/disk2/dump.backup.home.2 > /usr/home > > The error is > mksnap_ffs: Cannot create /usr/home/.snap/dump_snapshot: Invalid argument > dump: Cannot create /usr/home/.snap/dump_snapshot: No such file or direct= ory > Just for sanity... Are you root? Chris --=20 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list?