Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 07:41:55 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Vince Hoffman <jhary@unsane.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Disappearing directory/mount and Crash on umount since 5.3
Message-ID:  <20041124154155.GC11795@xor.obsecurity.org>
In-Reply-To: <20041124111650.D10319@unsane.co.uk>
References:  <20041124111650.D10319@unsane.co.uk>

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

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

On Wed, Nov 24, 2004 at 11:29:26AM +0000, Vince Hoffman wrote:
> I'm having a reoccuring problem with one of my mounts,
> I have a disk i mount at /usr/scratch which is also exported via samba.
> since upgrading to 5.3 after a little while (sorry no exact timings=20
> yet,) an "ls /usr/scratch" gives "ls: /usr/scratch: Bad file descriptor"
>=20
> root@lobster
> (11:19:06 </usr>) 0 # mount
> /dev/ad0s1a on / (ufs, local)
> devfs on /dev (devfs, local)
> /dev/ad0s1e on /tmp (ufs, local, soft-updates)
> /dev/ad0s1f on /usr (ufs, local, soft-updates)
> /dev/ad0s1d on /var (ufs, local, soft-updates)
> /dev/ad2s1c on /usr/scratch (ufs, local, soft-updates)
> /dev/ad3s1a on /big (ufs, local, soft-updates)
> devfs on /var/named/dev (devfs, local)
> root@lobster
> (11:19:10 </usr>) 0 # ls
> ls: scratch: Bad file descriptor
> .snap/     bin/       home/      libdata/   obj/       share/
> @LongLink  compat/    include/   libexec/   ports/     src/
> X11R6/     games/     lib/       local/     sbin/      sup/
> root@lobster
>=20
> trying to umount /usr/scratch will crash the machine, (will do it once=20
> more this evening and write down the error that pops up.)

Drop to single-user mode and run fsck -f /usr/scratch.  If it finds
errors, repeat until it stops finding them.

Kris

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

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

iD8DBQFBpKvCWry0BWjoQKURAsY0AKDPxcvcp5CX3sFeU09jAkv401KdQQCfYb8K
DtMR5VYvDe2RP+K7R6lz50w=
=WlmG
-----END PGP SIGNATURE-----

--jousvV0MzM2p6OtC--



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