> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Steven Stallion
> 
> I had a question regarding how the ZIL interacts with zpool import:
> 
> Given that the intent log is replayed in the event of a system failure,
> does the replay behavior differ if -f is passed to zpool import? For
> example, if I have a system which fails prior to completing a series of
> writes and I reboot using a failsafe (i.e. install disc), will the log
> be
> replayed after a zpool import -f ?

If your log devices are present, and you zpool import (even without the -f),
then the log devices will be replayed.  Regardless of which version of zpool
you have.

If your log device is not present, and you zpool import ...
If you have zpool version <19, you simply cannot import. 
If you have zpool >=19, the system will prompt you:  Warning, log device not
present. If you import -f, you will lose any unplayed events on the missing
log device, but the pool will import.

FYI, in solaris 10, you cannot have zpool version 19 yet.
In opensolaris 2009.06, zpool version 19 is not available unless you upgrade
to a developer build.
In the latest developer build, zpool version is >=19 by default.

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

Reply via email to