> Carson Gaspar wrote:
> 
> Does anyone who understands the internals better than care to take a
> stab at what happens if:
> 
> - ZFS writes data to /dev/foo
> - /dev/foo looses power and the data from the above write, not yet
> flushed to rust (say a field tech pulls the wrong drive...)
> - /dev/foo powers back on (field tech quickly goes whoops and plugs it
> back in)

I can't answer as an "internals" guy, but I can say this:  I accidentally
knocked the power off my external drive, which contains a pool.  I quickly
reconnected it.  A few days later I noticed the machine was essentially
nonresponsive, and had to power cycle it.

It is possible that something else happened in the meantime, to put the
machine into a bad state, but at least it's highly suspect that this
happened after I kicked the power.

I never tested this scientifically.

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

Reply via email to