Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2006 04:05:32 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Eugene <genie@geniechka.ru>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Dump/snapshot problems
Message-ID:  <20060311090532.GA43378@xor.obsecurity.org>
In-Reply-To: <004c01c644e8$c05c8c70$1b12c055@genie>
References:  <004c01c644e8$c05c8c70$1b12c055@genie>

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

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

On Sat, Mar 11, 2006 at 11:49:26AM +0300, Eugene wrote:
> Hi people,
>=20
> Sometimes I have strange problems with dump -- or, rather, with snapshot =
it
> makes.
> System is FreeBSD 5.3, default kernel configuration
>=20
> Two types of problems:
> 1) System hangs or at least not accessible over the network and has to be
> physically reset. Last message on console
> Collecting pv entries -- suggest increasing PMAP_SHPGPERPRO?
> maxproc limit exceeded by id(0), please see tuning(7) and login.conf(5)
>=20
> Question: what exactly should I tune?

The value of PMAP_SHPGPERPROC in your kernel config, and the maxproc
limit as described in those two manpages.

> 2) Dump process dies with message
> mksnap_ffs: Cannot create //.snap/dump_snapshot: Resource temporarily
> unavailable
> dump: Cannot create //.snap/dump_snapshot: No such file or directory
>=20
> dmesg message
> fsync: giving up on dirty: 0xc57b5d68: tag devfs, type VCHR, usecount 602=
63,
> writecount 0, refcount 960, flags (VV_OBJBUF), lock type devfs: EXCL
> (count 1) by thread 0xc610f7d0 (pid 87575)
> dev ad4s1a
>=20
> What is wrong?  What is '0xc57b5d68' (number is repeating)?

You can ignore the fsync message, it's a side-effect of the snapshot
operation not succeeding.  Just retry the dump.

Kris


--xHFwDpU9dbj6ez1V
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFEEpLcWry0BWjoQKURAij0AKDUC1sX92Gg3ikvCff9Hd46nuuRBwCgld08
9hb/qo+AP1vthTkXj7c2u5A=
=f3S3
-----END PGP SIGNATURE-----

--xHFwDpU9dbj6ez1V--



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