A way to recover deleted files (just contents) from USF2

Barry Pederson bp at barryp.org
Tue Apr 20 11:08:00 PDT 2004


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


More information about the freebsd-current mailing list