showmount sometimes slow with carp
ml at my.gd
Wed Feb 16 15:50:01 UTC 2011
You're using POLLING on your physical interfaces.
Sometimes they go down and you lose your CARP interface.
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
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:
>>> 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 <one machine real ip>' 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,
More information about the freebsd-fs