From owner-freebsd-questions@FreeBSD.ORG Tue Jan 22 02:50:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6ACB4361 for ; Tue, 22 Jan 2013 02:50:51 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:4]) by mx1.freebsd.org (Postfix) with ESMTP id 06781E2C for ; Tue, 22 Jan 2013 02:50:50 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail04.adl6.internode.on.net with ESMTP; 22 Jan 2013 13:20:47 +1030 Message-ID: <50FDFE37.5090800@ShaneWare.Biz> Date: Tue, 22 Jan 2013 13:19:27 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD-questions Subject: Re: zfs configuration References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 02:50:51 -0000 On 22/01/2013 02:51, dweimer wrote: > On 2013-01-21 09:50, Don Dugger wrote: >> Hi All, >> >> So I use zfs for the root file system. Works well. However now I want to >> move /tmp to ram-disk (memory disk or what ever). When I try to unmount >> /tmp with the zfs command of course it won't because its busy. With ufs I >> would just edit fstab and reboot what do I don with zfs?? >> > > Your best option is to reboot into single user mode, however if that's > not possible, zfs umount -f will force it to unmount. > haven't tried it but zfs set canmount=off zroot/tmp should match editing the fstab