Re: [zfs-discuss] zil behavior
On Oct 27, 2010, at 8:08 PM, Kei Saito wrote: > Hi! > > i'm interested in zil's behavior. Start here: http://blogs.sun.com/perrin/entry/the_lumberjack > > it's my understanding that zil is used only when > synchronous(o_sync,o_dsync & directio) write io request. > then zil have written contents that system call is used by zil replay > when used by crashed. > is this correct? > It seems a large amount of io for system call. > I think maybe the real data is being written in zil. Yes, real data is written in the ZIL. -- richard -- USENIX LISA '10 Conference, November 7-12, San Jose, CA ZFS and performance consulting http://www.RichardElling.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zil behavior
___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] zil behavior
___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] zil behavior
Hi! i'm interested in zil's behavior. it's my understanding that zil is used only when synchronous(o_sync,o_dsync & directio) write io request. then zil have written contents that system call is used by zil replay when used by crashed. is this correct? It seems a large amount of io for system call. I think maybe the real data is being written in zil. Thanks a lot! -- kei ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] ZIL behavior on import
> 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
Re: [zfs-discuss] ZIL behavior on import
On 05/05/2010 20:45, Steven Stallion wrote: All, 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 ? yes -- Robert Milkowski http://milek.blogspot.com ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] ZIL behavior on import
All, 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 ? Regards, Steve ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss