Old jail dir reappears after reboot - why?

Redd Vinylene reddvinylene at gmail.com
Thu Sep 1 14:17:07 UTC 2011


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 at 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 at 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-----
>


More information about the freebsd-jail mailing list