Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2011 16:29:10 +0100
From:      =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= <canevet@embl.fr>
To:        freebsd-fs@freebsd.org
Subject:   Re: showmount sometimes slow with carp
Message-ID:  <1297870150.3097.30.camel@pc286.embl.fr>
In-Reply-To: <1297858944.3097.20.camel@pc286.embl.fr>
References:  <1297858944.3097.20.camel@pc286.embl.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-RsWQwdMtceoboNcgqBCz
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi again,

I also have a problem when I mount an exported filesystem through the
carp VIP.

When I do that:

mount <real IP or alias>:/data/user /mnt
while true; do time df -H /mnt > /dev/null; sleep 5; done 2>&1 | grep
^real

real	0m0.004s
real	0m0.004s
real	0m0.004s
real	0m0.004s
real	0m0.004s
...

But when I do that:

mount <carp vip>:/data/user /mnt
while true; do time df -H /mnt > /dev/null; sleep 5; done 2>&1 | grep
^real
real    0m0.005s
real    0m0.207s
real    0m0.206s
real    0m52.150s
real    0m0.004s
real    0m0.004s
real    0m0.002s
real    0m0.204s
real    0m0.206s
real    0m0.614s
real    0m0.004s
real    0m0.207s
real    0m0.205s
real    0m0.206s
real    0m0.206s
real    0m0.613s
real    0m0.003s

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=C3=ABl Can=C3=A9vet wrote:
> Hi,
>=20
> I installed a redundant NAS with FreeBSD 8.2RC3 + Hast + ZFS + Carp.
>=20
> Each machine has its own IP address, and share a virtual IP with carp.
>=20
> 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.
>=20
> 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.
>=20
> Can anybody help me ?
>=20
> Thanks a lot,
>=20
> Micka=C3=ABl


--=-RsWQwdMtceoboNcgqBCz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk1b7UYACgkQZjBmN5Hi/Yay+gCgo/Xy3P2Ta9frlkjVeXxoqvzg
j6sAn3tJwxru3dg32b6EOd15UbPnrV+m
=ke8t
-----END PGP SIGNATURE-----

--=-RsWQwdMtceoboNcgqBCz--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1297870150.3097.30.camel>