Slightly OT, as it isn't directly netapp related, but does anyone know of a way to test if a file exists in Solaris besides a full-fledged stat() or attempting an open? I'm looking through web server stats, and I noticed I'm spending most of my nfs time doing getattrs, which I presume map back to stats that (mostly) test for existance.
It strikes me that a getattr is rather painful in contrast to a lookup, but I have no idea how (or if) if the lesser can be forced.
I've toyed with the idea of increasing actimeo and friends up, but am not sure of all the caveats of doing so (namely, are negative entries cached? I'm thinking along the lines of DNS's NXDOMAIN cachine semantics .. false positives would be OK, but the false negatives would be baaad).
Ideas?
Thanks.
..kg..