From owner-freebsd-jail@FreeBSD.ORG Thu Sep 1 19:59:48 2011 Return-Path: Delivered-To: jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B681B1065675; Thu, 1 Sep 2011 19:59:48 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 515CF8FC0C; Thu, 1 Sep 2011 19:59:48 +0000 (UTC) Received: by vxh11 with SMTP id 11so2121360vxh.13 for ; Thu, 01 Sep 2011 12:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=vP2LfuPPaX6mGnUmQWQ9YiqD0bfyueDi1H2fqhAzDMM=; b=b5bUYTlzsciFSS7AUBtGRYUQMgNmrgYMcg8aZ32Clw3H3xANfPyGE+oCqRGqj4gOoo 7qI2R7BPRyGRVjtutGSZtwg1q/E+nkXCZK2WUmh97DoCjFKUIUDPDduNetajP0i7Cspr PaXrDqV4FXAiWalRHGgtcVqKOQwjygW8CDMKY= Received: by 10.52.27.72 with SMTP id r8mr253544vdg.140.1314906694920; Thu, 01 Sep 2011 12:51:34 -0700 (PDT) Received: from schism.local (75-146-225-65-Philadelphia.hfc.comcastbusiness.net [75.146.225.65]) by mx.google.com with ESMTPS id da15sm75133vdb.26.2011.09.01.12.51.33 (version=SSLv3 cipher=OTHER); Thu, 01 Sep 2011 12:51:33 -0700 (PDT) Message-ID: <4E5FE244.20700@gmail.com> Date: Thu, 01 Sep 2011 15:51:32 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: Redd Vinylene References: <4E53A532.7080801@FreeBSD.org> <4E5FB953.5020001@FreeBSD.org> <4E5FCFA7.8090003@FreeBSD.org> <4E5FE052.1070905@gmail.com> In-Reply-To: X-Enigmail-Version: 1.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: jail@freebsd.org Subject: Re: Old jail dir reappears after reboot - why? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2011 19:59:48 -0000 On 9/1/11 3:45 PM, Redd Vinylene wrote: > On Thu, Sep 1, 2011 at 9:43 PM, Glen Barber 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