Ondrej Valousek wrote:
> Hi Ian,
> 
> Can we expect someday autofs in RHEL-5 to have a working negative cache?
> Seems like it still does not work in the last update (5.4):

You'll need to be a bit more specific about what is wrong.

What is your impression of what is actually happening below?

Be aware that the negative caching cannot be done in the 2.6 kernel
module so we will always get lookups coming to the daemon. Also, some
things such as "cd" always cause multiple call backs so we will see
multiple requests although the actual map lookup and mount attempt
should be eliminated. Are you saying that maybe I'm checking too late
during the call back?

> 
> Sep 14 09:14:57 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 132, name test, request pid 16183
> Sep 14 09:14:57 dorado_v1 automount[16281]: attempting to mount entry
> /proj/test
> Sep 14 09:14:57 dorado_v1 automount[16281]: file map not found
> Sep 14 09:14:57 dorado_v1 automount[16281]: lookup_mount: lookup(yp):
> looking up test
> Sep 14 09:14:57 dorado_v1 automount[16281]: ioctl_send_fail: token = 132
> Sep 14 09:14:57 dorado_v1 automount[16281]: failed to mount /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
> Sep 14 09:14:58 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 133, name test, request pid 16183
> Sep 14 09:14:58 dorado_v1 automount[16281]: attempting to mount entry
> /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: file map not found
> Sep 14 09:14:58 dorado_v1 automount[16281]: lookup_mount: lookup(yp):
> looking up test
> Sep 14 09:14:58 dorado_v1 automount[16281]: ioctl_send_fail: token = 133
> Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
> Sep 14 09:14:58 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 134, name test, request pid 16183
> Sep 14 09:14:58 dorado_v1 automount[16281]: failed to mount /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: attempting to mount entry
> /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: file map not found
> Sep 14 09:14:58 dorado_v1 automount[16281]: lookup_mount: lookup(yp):
> looking up test
> Sep 14 09:14:58 dorado_v1 automount[16281]: ioctl_send_fail: token = 134
> Sep 14 09:14:58 dorado_v1 automount[16281]: failed to mount /proj/test
> Sep 14 09:14:58 dorado_v1 automount[16281]: handle_packet: type = 3
> Sep 14 09:14:58 dorado_v1 automount[16281]:
> handle_packet_missing_indirect: token 135, name test, request pid 16183
> 
> Thanks,
> Ondrej
> 
> _______________________________________________
> autofs mailing list
> [email protected]
> http://linux.kernel.org/mailman/listinfo/autofs

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to