Old jail dir reappears after reboot - why?

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


On Thu, Sep 1, 2011 at 6:56 PM, Greg Larkin <glarkin at freebsd.org> wrote:

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

Sure thing man!

# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump
 Pass#
/dev/ad8s1b             none            swap    sw              0       0
/dev/ad8s1a             /               ufs     rw              1       1
#/dev/ad8s1g            /home           ufs     rw              2       2
/dev/ad8s1d             /tmp            ufs     rw              2       2
/dev/ad8s1f             /usr            ufs     rw              2       2
/dev/ad8s1e             /var            ufs     rw              2       2
#/dev/cd0               /cdrom          cd9660  ro,noauto       0       0
#/dev/acd0              /cdrom1         cd9660  ro,noauto       0       0

Hope that helps.


> >
> > On Tue, Aug 23, 2011 at 3:03 PM, Greg Larkin <glarkin at freebsd.org
> > <mailto:glarkin at freebsd.org>> wrote:
> >
> > 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 <mailto: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/
>
> iEYEARECAAYFAk5fuVIACgkQ0sRouByUApDhYgCfYFdqbvD6yzHWa/12mrFF+qpJ
> ZNMAoJna55H5uEbCZnUyo+AHk0Y9S5rP
> =Mj5V
> -----END PGP SIGNATURE-----
>


More information about the freebsd-jail mailing list