From owner-freebsd-net@FreeBSD.ORG Wed Feb 16 16:21:25 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABFC21065672 for ; Wed, 16 Feb 2011 16:21:25 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4409B8FC08 for ; Wed, 16 Feb 2011 16:21:24 +0000 (UTC) Received: by bwz12 with SMTP id 12so1608489bwz.13 for ; Wed, 16 Feb 2011 08:21:24 -0800 (PST) Received: by 10.204.66.130 with SMTP id n2mr619336bki.175.1297871399545; Wed, 16 Feb 2011 07:49:59 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id f20sm233859bkf.4.2011.02.16.07.49.58 (version=SSLv3 cipher=OTHER); Wed, 16 Feb 2011 07:49:59 -0800 (PST) Message-ID: <4D5BF225.4060500@my.gd> Date: Wed, 16 Feb 2011 16:49:57 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-fs@freebsd.org, canevet@embl.fr References: <1297858944.3097.20.camel@pc286.embl.fr> <1297870150.3097.30.camel@pc286.embl.fr> <1297871119.3097.36.camel@pc286.embl.fr> In-Reply-To: <1297871119.3097.36.camel@pc286.embl.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: showmount sometimes slow with carp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2011 16:21:25 -0000 You're using POLLING on your physical interfaces. Sometimes they go down and you lose your CARP interface. OR For whatever reason you lose your CARP interface. Get the output from `dmesg` , see if you get logs saying your carp interface went down then back up, there are high chances it did. Post your dmesg Post your ifconfig Post your rc.conf Cheers ;) On 2/16/11 4:45 PM, Mickaël Canévet wrote: >> Every now and then I have a long delay with the vip that I don't have >> with the real IP or an alias... >> >> On Wed, 2011-02-16 at 13:22 +0100, Mickaël Canévet wrote: >>> Hi, >>> >>> I installed a redundant NAS with FreeBSD 8.2RC3 + Hast + ZFS + Carp. >>> >>> Each machine has its own IP address, and share a virtual IP with carp. >>> >>> When I launch 'showmount -e ' from a linux client >>> or a freebsd client, I got my answer immediately (about 5ms). But when I >>> try with carp virtual IP or FQDN, it sometimes takes around 20 seconds, >>> or even 1 minute, but not everytime. >>> >>> It is really annoying because automount, at least the linux version, >>> seams to use showmount to get server exports. So it sometimes does not >>> work through the carp virtual IP. >>> >>> Can anybody help me ? >>> >>> Thanks a lot, >>> >>> Mickaël >> >