Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 16:37:28 -0600
From:      Barry Pederson <bp@barryp.org>
To:        Elliot Finley <lists@efinley.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: creating a snapshot with 5.2.1 RC2 doesn't work
Message-ID:  <402C0028.3050409@barryp.org>
In-Reply-To: <01af01c3f1b7$06fba490$32cba1cd@science1>
References:  <01af01c3f1b7$06fba490$32cba1cd@science1>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?402C0028.3050409>