On Mon, Apr 23, 2007 at 08:49:35AM -0700, Ivan Wang wrote:
> 
> Now this is scary, looking from the descriptions, it is possible that
> we might lose data in zfs, and/or resulted in a corrupted zpool that
> panics the kernel, if during the write operation, zfs loses connection
> to underlying hardwares? (for example a power failure?)

No, you will not lose data.  There is a chance we will panic if you fail
a write in an unreplicated pool, but you will not lose data as a result.

> But I've rarely seen that since we got UFS w/ logging in Solaris 7 or
> something. Even with UFS, there is always fsck allowing us to bring
> system back to a consistent state for recovering from previous backup. 
> 
> Is ZFS really supposed to be more reliable than UFS w/ logging, for
> example, in single disk, root file system scenario?

Yes.  The failure to cope with a failed write in an unreplicated pool
affects the availability of the system (because we panic), but not the
underlying reliability of the filesystem.

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to