From owner-freebsd-current@FreeBSD.ORG Wed Apr 21 15:45:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64B4616A4CE for ; Wed, 21 Apr 2004 15:45:10 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CFE843D1F for ; Wed, 21 Apr 2004 15:45:10 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i3LMj5q7038553; Wed, 21 Apr 2004 17:45:05 -0500 (CDT) (envelope-from dan) Date: Wed, 21 Apr 2004 17:45:05 -0500 From: Dan Nelson To: Michael Johnson Message-ID: <20040421224504.GA20446@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: current@freebsd.org Subject: Re: what files are these? and how do I remove them? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Apr 2004 22:45:10 -0000 In the last episode (Apr 21), Michael Johnson said: > Hi, > First off I'm using vinum raid-0 on this filesystem and I'm running > gentoo:/usr/src/bin root$ uname -a > FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #41: Tue Apr 13 > 22:30:51 EDT 2004 > > I can't delete two files and they do not show up with 'ls' > > gentoo:/usr/src/bin root$ ls -al > ls: stty: Bad file descriptor > ls: sync: Bad file descriptor > total 4 > drwxr-xr-x 4 root wheel 512 Apr 21 18:07 . > drwxr-xr-x 26 root wheel 1024 Apr 21 18:03 .. You may need to unmount the filesystem, use fsdb to clear those two inodes, then run fsck to fix everything else up. Then restore those files from tape (or another system), since soemthing will eventually complain about them being missing. -- Dan Nelson dnelson@allantgroup.com