I noticed in the autofs kernel source AUTOFS_MAX_SYMLINKS
is defined as 256. Would it be safe to increase this number,
to say, around 1024 or 2048?
The (long winded)reason is...
Our network is set up with two automount points,
one for actual filesystems and the other for home directories.
We'd been using amd for some time, but is has lately been quite
a headache on the linux boxes, so I switched to autofs.
The map entries themselves are still amd style, and automount
seemed to be choking on them, or maybe I just wasn't setting it up right.
Anyhow, I resolved the problem with program maps that
hesiod retrieve the map entries, parse them out, test
conditionals, expand a few things, and spit out the right options
and mount point for the automounter. I wrote a quick module for
fstype link and tweaked parse_sun very slightly so multipath entries work.
This was with autofs 3.1.3 on 2.2.12 kernels.
Things generally run much better under this arrangement than with
amd. But on a server or two, some processes will occasionally try to open
tons of home directories( /u/user) which resolve into /fs/drive/dir/user,
and autofs rapidly runs out of symlinks under /u . Hence the
AUTOFS_MAX_SYMLINKS question.
-Matt Richmond
[EMAIL PROTECTED]
---
"We will not cater the group to postings of cut rate porn just
for the sake of glove content."
-from charter for alt.binaries.multimedia.gloves