Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 23:03:36 -0500
From:      Skylar Thompson <skylar@cs.earlham.edu>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: mksnap_ffs takes 4-5 minutes?
Message-ID:  <20050720040336.GA69292@quark.cs.earlham.edu>
In-Reply-To: <42DD64AB.3000605@centtech.com>
References:  <42DD64AB.3000605@centtech.com>

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

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 19, 2005 at 03:38:03PM -0500, Eric Anderson wrote:
> Last week, I tried making a snapshot of one of my NFS servers'=20
> partitions.   I've done this one other machines before, with smaller=20
> barely used partitions, and it has always been relatively snappy.
>=20
> This time, when I ran mksnap_ffs, the command took nearly 5 minutes, in=
=20
> which time all NFS traffic was suspended, as well as all disk access on=
=20
> the machine.  After reading in the FreeBSD Implementation book=20
> (McKusick), it claims it should be very very fast.
>=20
> Anyone know why it should take so long to do this snapshot?  Is this=20
> expected normal behaviour, or should I expect faster snapshots?
>=20
> Here's some info on the filesystem:
> Filesystem        1K-blocks     Used     Avail Capacity iused    ifree=20
> %iused  Mounted on
> /dev/da1s1d       406234604 91799154 281936682    25% 1300303 51197103=20
>   2%   /scr03
>=20
> /dev/da1s1d on /scr03 (ufs, NFS exported, local, soft-updates)

Does that filesystem have a lot of open files? I believe all busy inodes
have to be copied in the snapshot process.

--=20
-- Skylar Thompson (skylar@cs.earlham.edu)
-- http://www.cs.earlham.edu/~skylar/

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC3c0Ysc4yyULgN4YRAv1pAJ9dpYB9F7MYQJmou8u+YtkLeJEbTwCbBx8x
vZbCjmJh71bPh/iTgFRP4hg=
=nBPW
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



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