From owner-freebsd-jail@FreeBSD.ORG Thu Sep 1 16:56:54 2011 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68961106564A for ; Thu, 1 Sep 2011 16:56:54 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4B38FC0C for ; Thu, 1 Sep 2011 16:56:54 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1QzAYf-000PU4-Pf; Thu, 01 Sep 2011 12:56:10 -0400 Received: from v104.entropy.prv (v104.entropy.prv [192.168.1.104]) by cube.entropy.prv (Postfix) with ESMTP id 845A05229A2D; Thu, 1 Sep 2011 12:56:48 -0400 (EDT) Message-ID: <4E5FB953.5020001@FreeBSD.org> Date: Thu, 01 Sep 2011 12:56:51 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.20) Gecko/20110804 Lightning/1.0b2 Thunderbird/3.1.12 MIME-Version: 1.0 To: Redd Vinylene References: <4E53A532.7080801@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=1C940290 X-SA-Exim-Connect-IP: 68.189.245.235 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: *** X-Spam-Status: No, score=3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: jail@freebsd.org Subject: Re: Old jail dir reappears after reboot - why? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2011 16:56:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/1/11 10:17 AM, Redd Vinylene wrote: > Greetings! > > # df /jail > Filesystem 1K-blocks Used Avail Capacity Mounted on > /jail 1839358428 18 1839358410 0% /jail > > Yes - this directory is on the same filesystem as /jails. And yes - I > did issue a "rm -rf /jail" after "umount /jail". > > fsck showed no signs of filesystem error. > > Thanks! Hi Redd, I'm curious why the Filesystem column in the df output above displays "/jail", the same as the "Mounted on" column. Can you also post your /etc/fstab file contents? It seems like something strange is going on, but I'm not a filesystem expert. Regards, Greg > > On Tue, Aug 23, 2011 at 3:03 PM, Greg Larkin > wrote: > > On 8/23/11 4:48 AM, Redd Vinylene wrote: >> On Fri, Jun 10, 2011 at 1:36 PM, Redd Vinylene > >wrote: > >>> Hi, >>> >>> After rebooting my host server, some old dir I once had my jails in >>> reappears. What might be the cause of that and how do I stop it? >>> >>> More specifically, I once had my jails in /jail, but now I've > moved them >>> all into /jails. rc.conf or fstab does not reference /jail and I > can't >>> find any file on my system that does - so why does this dir keep > reappearing >>> all the time? >>> >>> I have to umount it before I can delete it though. >>> >>> Anybody know? >>> >>> Thanks! > > >> Can somebody help me? > >> Redd > > Hi Redd, > > What is the output of "df /jail"? Is that directory on the same mounted > filesystem as any other directories? > > I assume that you executed "rm -rf /jail" after you moved your jail > directories to /jails? If you've done that, it may not hurt to fsck the > device to make sure there aren't any filesystem problems. > > Regards, > Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5fuVIACgkQ0sRouByUApDhYgCfYFdqbvD6yzHWa/12mrFF+qpJ ZNMAoJna55H5uEbCZnUyo+AHk0Y9S5rP =Mj5V -----END PGP SIGNATURE-----