> Apologies in advance for the newbie internals question, but could
> someone please give me a pointer to how ZFS snapshots cause future
> modifications to files to be written to different disk blocks?  I'm
> looking at OpenSolaris NV bld 66.

"snapshots" don't really cause that.  ZFS never overwrites data, so all
writes are to "different" disk blocks.  Data in a file is never
overwritten directly.  

Once this is true, then the creation of snapshots is easier, but the two
are separate.

> How do snapshots interact with open files or files with pages in the
> OpenSolaris page cache?

I don't believe they do.  Are you thinking of something in particular?

> My general understanding is that ZFS always writes to new locations
> (which makes snapshot simple), but does that apply to data pages too?

All data and metadata (except for the uberblock dance).

> Does that mean that paging out dirty mmap pages go to new places and
> require metadata updates as well?

Yes.
-- 
Darren Dunham                                           [EMAIL PROTECTED]
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to