On Thu, Aug 07, 2008 at 11:34:12AM -0700, Richard Elling wrote:
> Anton B. Rang wrote:
> > First, there are two types of utilities which might be useful in the 
> > situation where a ZFS pool has become corrupted. The first is a file system 
> > checking utility (call it zfsck); the second is a data recovery utility. 
> > The difference between those is that the first tries to bring the pool (or 
> > file system) back to a usable state, while the second simply tries to 
> > recover the files to a new location.
> >   
> Hi Anton,
> How would you describe the difference between the file system
> checking utility and zpool scrub?  Is zpool scrub lacking in its
> verification of the data?

One thing I can think of is that scrub is only available on an imported
pool, and you can only import a writable pool.  It might be nice to
verify that a read-only image is valid.  Or to import/mount a pool on
damaged media for recovery.  

> How would you describe the difference between the data recovery
> utility and ZFS's normal data recovery process?

If the most recent uberblock appears valid, but doesn't have useful
data, I don't think there's any way currently to see what the tree of an
older uberblock looks like.  It would be nice to see if that data
appears valid and try to create a view that would be
readable/recoverable.

-- 
Darren
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to