From owner-freebsd-current@FreeBSD.ORG Tue Apr 20 11:08:00 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 666A016A4CE for ; Tue, 20 Apr 2004 11:08:00 -0700 (PDT) Received: from eden.barryp.org (host-150-32-220-24.midco.net [24.220.32.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFAA243D45 for ; Tue, 20 Apr 2004 11:07:59 -0700 (PDT) (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 1BFzf2-0009eq-QB for current@freebsd.org; Tue, 20 Apr 2004 13:07:56 -0500 Message-ID: <408566C6.3010700@barryp.org> Date: Tue, 20 Apr 2004 13:07:02 -0500 From: Barry Pederson User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <4084F85B.5070909@delit.net> <20040420102632.GA36668@e-Gitt.NET> <20040420121423.GA1154@frontfree.net> <20040420125025.GA30066@energistic.com> <20040420130803.GC62962@atrbg11.informatik.tu-muenchen.de> <20040420150916.GA1535@frontfree.net> In-Reply-To: <20040420150916.GA1535@frontfree.net> 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 Subject: Re: A way to recover deleted files (just contents) from USF2 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: Tue, 20 Apr 2004 18:08:00 -0000 Xin LI wrote: > A possible solution might be have a cron script that periodically > takes snapshot of the file system (for example, one per one hour). Is the snapshot feature in UFS2 stable enough to handle some thing like that? At one point there seemed to be weird hangs going on, when you tried things like doing a CVSUP or CVS update when a snapshot was on the disk. One message from Scott Long back on 2/17/2004 said: ----- There are fundamental issues with FFS snapshots and our buffer/cache that are well beyond the scope of fixing for 5.2.1. If someone has an idea of how to fix them for 5.3, all the better. ----- I had it hang once on my home machine running 5.2-Release, so I've been a bit leery of the whole thing - even though it's a very cool feature. Barry