From owner-freebsd-questions@FreeBSD.ORG Sun Mar 9 06:41:25 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AD474E29 for ; Sun, 9 Mar 2014 06:41:25 +0000 (UTC) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:212]) by mx1.freebsd.org (Postfix) with ESMTP id 55EBCA92 for ; Sun, 9 Mar 2014 06:41:25 +0000 (UTC) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta14.westchester.pa.mail.comcast.net with comcast id bJhJ1n0010QuhwU5EJhPvj; Sun, 09 Mar 2014 06:41:23 +0000 Received: from [IPv6:2601:a:3e00:192::1196] ([IPv6:2601:a:3e00:192::1196]) by omta02.westchester.pa.mail.comcast.net with comcast id bJh41n00L3NgmWU3NJhPNv; Sun, 09 Mar 2014 06:41:23 +0000 Message-ID: <1394347240.5144.8.camel@muffin.localdomain> Subject: Re: Unlistable, Undeletable File in old-jailed clientmqueue folder From: "John L. Templer" To: freebsd-questions@freebsd.org In-Reply-To: <531B4290.8090903@gmail.com> References: <531B18B1.6030305@dracyrys.com> <531B4290.8090903@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Sun, 09 Mar 2014 01:40:40 -0500 Mime-Version: 1.0 X-Mailer: Evolution 3.4.4-3 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1394347283; bh=CH7bvISOe8jnFBoA3D5RZ9j7xykkXzGH/GJNFyfwYGQ=; h=Received:Received:Message-ID:Subject:From:To:Content-Type:Date: Mime-Version; b=JSSTDV/biO1SqfRZc8qRbNyPzDi78+l0Ro7YO7Oh4wsl30hIYn8D8W0cfExIY0+qy GRSaIujBkNIaQ0ndoN/7Ya7kqaiBJ/DqtV9NdFbXMUYaX7IqX+BpTYVeFVWzvwngFR l/OyqhQGVxWw2GMASjUqi6U4yP0zDEknO0D4fYXJzB3YMufw1o4HWFZ2d+puFmWJwB VxNG2F5y5bb9k2nrZbSikM9T+nw7IE0hI4SZwiuqgf27f2rucmmlBC4Kjq7+ys9DJ4 jaYstsUMioWE4924mD7BVSsbslr9L5KODkwQ+TpRmQCUO0JY5LJjCkTKoWFXOJGQWW AoALQ0lV5TQ7Q== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Mar 2014 06:41:25 -0000 On Sat, 2014-03-08 at 10:17 -0600, Noel wrote: > On 3/8/2014 7:18 AM, Gitsnik wrote: > > Hi all, > > > > Briefly, there are random-named files in a couple of clientmqueue > > directories that I can not delete. These directories were for 32bit > > jails prior to re-installing my base system to amd64, so I know they're > > not locked by any "normal" process. > > You may find > # ls -b > helpful. > > See "man ls" and "man rm" for other possible hints. > > > > -- Noel Jones > > > > > > My apologies for the length, hopefully too many details is a good thing. > > > > 9.1-RELEASE-p10 GENERIC amd64, although I've had this problem the entire > > 9.x branch it is entirely possible it is because I re-installed my root > > partition to go from 9.0-RELEASE x86 to amd64. During the install my > > zpool "raidpack" was left alone, except to import it after the > > installation, it has since been upgraded and is now running the current > > version 28 for my install. "raidpack" pool is a raidz1-0 with 3 x 2TB > > drives, is scrubbed weekly and has so far had no issues bar this. > > > > Previously I was running jails directly from the zpool, post reinstall I > > have started using a fresh directory (prev: /raidpack/jails, cur: > > /raidpack/64bitjails). The difference is simple enough - "jails" was the > > 32bit jails directory. > > > > My question/ problem: > > > > # ls -l > > total 179 > > drwxrwx--- 2 root wheel 3 Oct 3 21:26 clientmqueue > > # cd clientmqueue > > # ls > > qfq8G32oib058119 > > # ls -la > > ls: qfq8G32oib058119: No such file or directory > > total 181 > > drwxrwx--- 2 root wheel 3 Oct 3 21:26 . > > drwxr-xr-x 3 root wheel 3 Mar 8 23:28 .. > > # rm qfq8G32oib058119 > > rm: qfq8G32oib058119: No such file or directory > > # > > > > No matter what I do, I can't seem to delete this file. fstat and getfacl > > both report "No such file or directory". The following information is > > shown for the folder itself: > > > > # getfacl clientmqueue > > # file: clientmqueue > > # owner: root > > # group: wheel > > owner@:--------------:------:deny > > owner@:rwxp---A-W-Co-:------:allow > > group@:--------------:------:deny > > group@:rwxp----------:------:allow > > everyone@:rwxp---A-W-Co-:------:deny > > everyone@:------a-R-c--s:------:allow > > # ls -lTdo clientmqueue > > drwxrwx--- 2 root wheel - 3 Oct 3 21:26:36 2013 clientmqueue > > # > > > > Thanks for reading through, any help is much appreciated. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I dunno, since the "ls" returned the name of a file, and the "ls -la" returned an error about there being no such file, it sounds like there's a directory entry but no corresponding inode. Perhaps an fsck is in order?