Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2011 23:09:05 +0200
From:      Romain Garbage <romain.garbage@gmail.com>
To:        Redd Vinylene <reddvinylene@gmail.com>
Cc:        jail@freebsd.org
Subject:   Re: Old jail dir reappears after reboot - why?
Message-ID:  <CAL5Kp4f7gQjQFneAA1LpBSNXR4Y0H19VyuD%2BEo0fazv6H_Owgg@mail.gmail.com>
In-Reply-To: <CAMkeL%2B5hPEG6k-e=wdY=Jw4pt9Tcx4KUrMRdMQoffSwufzWgDQ@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> <4E5FE244.20700@gmail.com> <CAMkeL%2B5hPEG6k-e=wdY=Jw4pt9Tcx4KUrMRdMQoffSwufzWgDQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/9/1 Redd Vinylene <reddvinylene@gmail.com>:
> On Thu, Sep 1, 2011 at 9:51 PM, Glen Barber <glen.j.barber@gmail.com> wro=
te:
>
>>
>> Do you need the data within /jail anymore? =C2=A0I 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.
>>
>>
> Sounds great man! No, I do not need the data in /jail. I must have delete=
d
> that directory a 100 times already.
>
> Exactly what is my zfs pool though? Got to be extremely careful it does n=
ot
> also delete my /jails dir - where my life's work currently resides :-)

Zfs is a file system but it also contains a volume manager. The pool
is kind of the logical volume in which you have your logical
filesystems (called datasets in zfs)

Could you provide the output of the `zpool status` command?

Actually, the command to destroy your pool would be `zpool destroy
jail`, as the zfs command applies to datasets.

> Thanks for all your help guys. Glad we've finally come to what seems like=
 a
> closure!
>
> Redd
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAL5Kp4f7gQjQFneAA1LpBSNXR4Y0H19VyuD%2BEo0fazv6H_Owgg>