[OpenAFS] AFS cache in ZFS?

Tim Spriggs tims@arizona.edu
Thu, 07 Feb 2008 10:56:12 -0700


Derrick Brashear wrote:
> On Feb 7, 2008 12:16 PM, Brian Sebby <sebby@anl.gov> wrote:
>   
>> Just wondering, has anyone used ZFS for the AFS cache backend?
>>     
>
> You can't.
>
> We could fix that by doing what we do for the disk cache on Leopard for Solaris.
>
> No one has yet. I don't know what the kernel API for opening files by
> path (vnode_open equivalent) looks like but that's basically all you
> need.
>   
However, you can create a zvol and put a UFS filesystem on the zvol. 
Then the cache can go onto the UFS filesystem (which resides on a 
zpool). This type of solution is more attractive to some than others.

Thanks,
-Tim