Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2008 08:40:25 +0200
From:      "Valentin Bud" <valentin.bud@gmail.com>
To:        "Reinis Ivanovs" <dabas@untu.ms>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reversing a ZFS mistake
Message-ID:  <139b44430812012240r7f978643o86c3a80b51b22582@mail.gmail.com>
In-Reply-To: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com>
References:  <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 2, 2008 at 2:36 AM, Reinis Ivanovs <dabas@untu.ms> 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"
>



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