[OpenAFS] Solaris 10u6: ZFS cache?

Derrick Brashear shadow@gmail.com
Wed, 5 Nov 2008 12:47:05 -0500


Look at the code in src/afs/DARWIN ifdef'd AFS_CACHE_VNODE_PATH

You basically need the same thing for Solaris (which means, mostly,
that you need a kernel callable open-by-path, and then to call it)

On Wed, Nov 5, 2008 at 12:29 PM, Douglas E. Engert <deengert@anl.gov> wrote:
>
>
> Derrick Brashear wrote:
>>
>> On Sat, Nov 1, 2008 at 3:04 PM, Brandon S. Allbery KF8NH
>> <allbery@ece.cmu.edu> wrote:
>>>
>>> On 2008 Nov 1, at 14:56, Vincent Fox wrote:
>>>>
>>>> Solaris 10 u6 is now out, supporting ZFS root disks.
>>>>
>>>> So is there any way to use a ZFS filesystem for client cache?
>>>> I tried Solaris 10 version 1.4.7 both the namei binary and the
>>>> inode binary and both panic the system.
>>>
>>> ZFS can't be used directly, but you can allocate a "legacy" filesystem
>>> device from a ZFS pool, newfs it as UFS, and and point the cache at that.
>>
>> The same trick used to support "new" linux and macos caches (open by
>> path) could be extended to support solaris, also.
>
> We have a few test machines setup with root on ZFS. Do you have a patch
> to test or can you talk more about the trick? If so I am willing to give
> it a shot.
>
>
>>
>> shouldn't even be that much work.
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
>>
>
> --
>
>  Douglas E. Engert  <DEEngert@anl.gov>
>  Argonne National Laboratory
>  9700 South Cass Avenue
>  Argonne, Illinois  60439
>  (630) 252-5444
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>



-- 
Derrick