==> Regarding RE: [autofs] automounter failing with NetApp snapmirror; [EMAIL 
PROTECTED] adds:

raven> On Sat, 17 Jul 2004, Lever, Charles wrote:
>> > > hi all-
>> > > 
>> > > i'm still learning about the Linux automounter, but we have > an
>> issue > > that seems to come up a lot for our customers using Linux,
>> it's > > automounter, and NetApp filers doing volume snapmirror (a >
>> file system > > replication mechanism).
>> > > 
>> > > at the end of a replication event, the destination file system goes
>> > > offline for 3-4 seconds while the new version replaces it.  > the
>> filer > > used to return EACCES during this period, but we've changed it
>> to > > simply ignore all RPC requests for that file system until the new
>> > > version is online, as this seems to be more client-friendly >
>> behavior.
>> > > 
>> > > so now, during that time period, an automounter request to > mount
>> that > > file system will fail with "RPC: timed out" rather than getting
>> > > EACCES. is there any way we can tell the automounter to > wait
>> longer or > > retransmit another few times?
>> > > 

I believe that error is produced by the mount command, itself.  Poking
through the code for mount, it doesn't look like this timeout is
configurable.  Autofs 4 actually checks to see if a host is alive before
attempting a mount, so at least things should work there.  I'm not sure
what the best approach is to solve this problem on 3.1.7.

>> > 
>> > autofs version?  > kernel version?  > patched/not patched?  > if
>> patched which revision?
>> 
>> the specific cases we're seeing right now are with RHEL AS 2.1, updates
>> 2 and 3.  jeff moyer can provide you with the exact patch set used in
>> that distribution.

raven> I expect that's autofs version 3 and the stock version 3 kernel
raven> module.

AS2.1 Update 3 has autofs version 3.1.7-21.  The kernel module likely
matches the code in vanilla 2.4.9, but I don't believe this code to be
suspect.

>> > Have you got any log output?
>> 
>> i thought maybe there was an easy configuration option that could tune
>> the automounter's mount behavior, so i don't have any log output.  but
>> i'll see what we can get.  i assume you mean /var/log/messages; let me
>> know if there is a log specific to the automounter that i should be
>> looking for.

raven> It will log errors to syslog.

raven> I don't track changes to v3.  Hopefully we can get Peters attention?

raven> But check the logs anyway.

raven> Jeff, can you help with versions?

See above.  Chuck, feel free to file a bugzilla at
    http://bugzilla.redhat.com/

and assign it to me.

Thanks!

Jeff

_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to