From owner-freebsd-stable@FreeBSD.ORG Tue Feb 28 08:53:16 2006 Return-Path: X-Original-To: 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 D32D616A420 for ; Tue, 28 Feb 2006 08:53:16 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: from office.suresupport.com (office.suresupport.com [213.145.98.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 8589A43D76 for ; Tue, 28 Feb 2006 08:53:15 +0000 (GMT) (envelope-from nike_d@cytexbg.com) Received: (qmail 29589 invoked by uid 1026); 28 Feb 2006 08:56:43 -0000 Received: from 213.145.98.14 by office.suresupport.com (envelope-from , uid 1004) with qmail-scanner-1.23 (f-prot: 4.4.2/3.14.11. Clear:RC:1(213.145.98.14):. Processed in 0.195034 secs); 28 Feb 2006 08:56:43 -0000 Received: from unknown (HELO 14.98.145.213.in-addr.arpa) (213.145.98.14) by office.suresupport.com with SMTP; 28 Feb 2006 08:56:43 -0000 From: Niki Denev To: stable@freebsd.org Date: Tue, 28 Feb 2006 10:55:34 +0200 User-Agent: KMail/1.9.1 References: <200602281040.36507.nike_d@cytexbg.com> <20060228174550.AB66.1YEN@sh.rim.or.jp> In-Reply-To: <20060228174550.AB66.1YEN@sh.rim.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602281055.34762.nike_d@cytexbg.com> Cc: NAKAMURA Takeshi <1yen@sh.rim.or.jp> Subject: Re: filesystem snapshot timestamp not correct? 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: Tue, 28 Feb 2006 08:53:16 -0000 On Tuesday 28 February 2006 10:48, you wrote: > Hi > > On Tue, 28 Feb 2006 10:40:36 +0200, > > Niki Denev wrote: > > Any ideas? Probably i'm doing something wrong, but can't see it yet... > > Tri it. > > DIR=/.snap > nice sh -c "cd $DIR ; rm -rf `date -v-7d +'snapshot-%d-%m-%y'`" > ----+----1----+----2----+----3----+----4----+----5----+----6----+ > NAKAMURA Takeshi <1yen@sh.rim.or.jp> > I have poor english. Thanks, this will work... but i was under the impression that the snapshots will have meaningful timestamps too. At least this is what is mentioned in /usr/src/sys/ufs/ffs/README.snapshot : 2) Run dump on the snapshot. You will get a dump that is consistent with the filesystem as of the timestamp of the snapshot. Regards, Niki