From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 06:40:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57AD41065677 for ; Tue, 2 Dec 2008 06:40:27 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id C610C8FC0A for ; Tue, 2 Dec 2008 06:40:26 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by ewy14 with SMTP id 14so83225ewy.19 for ; Mon, 01 Dec 2008 22:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zWx8DpMxuQ8pKxePlms6uiAJM9i4GSF/9z5eWG8eWj4=; b=rXDB4AsFJruV5TMxNPIYbZM0er2wunO4HOU9oE6Gcm3x59xJnXOeNPyDrskAubpAln 1pS7ueL/fGEl8kYKTGOHIrOfBQmQwKar52t7h1wWWzfQYKXfbq22tJpHMAbPd0Vv5uvJ OCTBjkSPj1/GkC+kiy4dX/bRb2+v6z3zdT2ew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=x3A7csjHX6tRpAWX3j5xW2xfFM9N7bYaq5li3Ac6bIpD6Hyp3zaog0lmjV4Kf0G2U2 MfyZh8SyL+S6I7i65QQ8m+i/D93KDrx0VrK8ZDYb2z0+pj2LgdsG+a5DPbfEbbpRX+01 l/GZreYjg9WlmPQ5QewyfEX2bpEcdVVjdQOPE= Received: by 10.210.129.19 with SMTP id b19mr9608403ebd.40.1228200025350; Mon, 01 Dec 2008 22:40:25 -0800 (PST) Received: by 10.210.117.7 with HTTP; Mon, 1 Dec 2008 22:40:25 -0800 (PST) Message-ID: <139b44430812012240r7f978643o86c3a80b51b22582@mail.gmail.com> Date: Tue, 2 Dec 2008 08:40:25 +0200 From: "Valentin Bud" To: "Reinis Ivanovs" In-Reply-To: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Reversing a ZFS mistake X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 06:40:27 -0000 On Tue, Dec 2, 2008 at 2:36 AM, Reinis Ivanovs wrote: > Hello, > > It seems I've made a mistake using ZFS, and now my /usr/local/ is > empty. I wanted to create a snapshot of a directory inside of it, so I > ran "zfs create tank/usr/local" and "zfs create tank/usr/local/www" as Maybe it's just a typo but "zfs create" actually creates a file system (data set), doesn't do a snapshot of a certain directory. > I had seen in the guides I'd been using. That worked, but the > filesystems created were empty. As I found out later, doing what I did > on Solaris would have created the filesystems but not mounted them, > but on FreeBSD they were mounted automatically, and the previous > contents hidden. The question now is, how do I get my files back? The > system is crippled without /usr/local/ and I can't unmount or destroy > it, because it says that the device is busy. Any help would be > appreciated. > > R. > > -- > http://untu.ms/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >