On Jun 23, 2008, at 2:34 AM, Darren J Moffat wrote:

> Is data cached or not in the following case:
>
> $ zfs create -o primarycache=all tank/foo
> $ zfs snapshot tank/foo at s1
> $ zfs clone tank/foo at s1 tank/bar
> $ zfs set primarycache=none tank/bar
> # zpool export tank && zpool import tank
>
> Now read from tank/bar the data which is shared with tank/foo, does  
> that get cached ? I'm assuming not because of the primarycache  
> option for tank/bar.  But if we read it via tank/foo it would be  
> cached, right ?

That's correct.

eric

Reply via email to