Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2011 16:17:05 +0200
From:      Redd Vinylene <reddvinylene@gmail.com>
To:        glarkin@freebsd.org
Cc:        jail@freebsd.org
Subject:   Re: Old jail dir reappears after reboot - why?
Message-ID:  <CAMkeL%2B5AyvCaAZUg1y4c7Kqu9n4Aue-nQHdk6qTyF6yMEXo%2BUw@mail.gmail.com>
In-Reply-To: <4E53A532.7080801@FreeBSD.org>
References:  <BANLkTik5KXGqT2korm0sKtq_Qy5X6B_neA@mail.gmail.com> <CAMkeL%2B4USF2iai0TpxcJ%2BkkD-XK3p-Sw%2BmZypqJvzxUxd=R_-g@mail.gmail.com> <4E53A532.7080801@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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!

On Tue, Aug 23, 2011 at 3:03 PM, Greg Larkin <glarkin@freebsd.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 8/23/11 4:48 AM, Redd Vinylene wrote:
> > On Fri, Jun 10, 2011 at 1:36 PM, Redd Vinylene <reddvinylene@gmail.com
> >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/
>
> iEYEARECAAYFAk5TpTIACgkQ0sRouByUApBdLwCfSTowJ2soh+hskt+urzQMTieT
> IMUAmwdHM6z5fdbiUYUaJ2snPJnERCTz
> =fbYu
> -----END PGP SIGNATURE-----
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMkeL%2B5AyvCaAZUg1y4c7Kqu9n4Aue-nQHdk6qTyF6yMEXo%2BUw>