Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Sep 2011 15:51:32 -0400
From:      Glen Barber <glen.j.barber@gmail.com>
To:        Redd Vinylene <reddvinylene@gmail.com>
Cc:        jail@freebsd.org
Subject:   Re: Old jail dir reappears after reboot - why?
Message-ID:  <4E5FE244.20700@gmail.com>
In-Reply-To: <CAMkeL%2B7K53GWB6iC92t4agFSWErk=GK8RP4OvYBBKrSn_QuQUw@mail.gmail.com>
References:  <BANLkTik5KXGqT2korm0sKtq_Qy5X6B_neA@mail.gmail.com> <CAMkeL%2B4USF2iai0TpxcJ%2BkkD-XK3p-Sw%2BmZypqJvzxUxd=R_-g@mail.gmail.com> <4E53A532.7080801@FreeBSD.org> <CAMkeL%2B5AyvCaAZUg1y4c7Kqu9n4Aue-nQHdk6qTyF6yMEXo%2BUw@mail.gmail.com> <4E5FB953.5020001@FreeBSD.org> <CAMkeL%2B7WMMUvTaGCgdE3CqjPFRKM=yGGJY9x6%2BzngEGPSkAL6w@mail.gmail.com> <CAL5Kp4eL8G5WEdgTcbf9UB0xkMjHx-724QUVtBjoNk5i_G3bUQ@mail.gmail.com> <CAMkeL%2B6BoA0WR-rCUQu1xCbbJngOYUJm-28z85EFKR8BYsEWQA@mail.gmail.com> <4E5FCFA7.8090003@FreeBSD.org> <CAMkeL%2B7DzqeeP=p%2BeVLa2EN2B5iB5UV5G62tFyRJeEuv6ta9FQ@mail.gmail.com> <4E5FE052.1070905@gmail.com> <CAMkeL%2B7K53GWB6iC92t4agFSWErk=GK8RP4OvYBBKrSn_QuQUw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/1/11 3:45 PM, Redd Vinylene wrote:
> On Thu, Sep 1, 2011 at 9:43 PM, Glen Barber <glen.j.barber@gmail.com> wrote:
> 
>>
>> Did you destroy the 'jail' dataset?  ZFS does not use /etc/fstab.
>>
> No, how do I do that?
> 
> Redd
> 

Do you need the data within /jail anymore?  I sent another followup on
how to set the 'mounted' property to 'no'.

In either case, the following will unmount the dataset:

zfs umount pool/dataset

Or if you're absolutely certain you will not need the data within that
dataset, you could do:

zfs destroy pool/dataset

Of course, replace 'pool' with the zfs pool, and 'dataset' with the name
of the dataset you wish to remove (in this case, 'jail').

zfs(1M) has all (most) of the available commands available.

Regards,

-- 
Glen Barber



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5FE244.20700>