Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2011 15:59:00 +0200
From:      "icema" <icemaca@gmail.com>
To:        <freebsd-questions@freebsd.org>
Subject:   zfs newbie question
Message-ID:  <1D75DCBBE6B04871AFD1EDD455CBA7B6@Win64>

next in thread | raw e-mail | index | archive | help
hi,
i have a new fbsd-8.2 install (dual boot with win7, just desktop general =
use) on entirely ufs disk, and am not=20
sure how to mount a zfs  formatted disk from a previous install, without =
loosing what is on there. (freebsd-zfs).

in short, the zfs disk was from a previous freebsd install, same =
version, just needed to wipe/reinstall, which was also
entirely ufs. To try out zfs i used a full separate disk, partiitoned =
and setup as freebsd-zfs through gpt, then created=20
the pool specifying it. i.e  =20

zpool create foo /dev/ad10.

atm i dont have a pool at all and dont know if i use that command, if it =
will simple create one and mount ad10,=20
retaining the data on it or whether that will just reinitialise, wiping =
the data in the process.

to avoid surprises, i have been looking around to see if u can create an =
empty pool (without specifying disk space or w/e),
then try the =E2=80=98add=E2=80=99 command instead, to add it there, but =
i dont see that thats possible so far; and i dont have spare space=20
to use in creating a new pool.

so, is it entirely safe to use zpool create foo /dev/ad10 to mount it =
and retain data, or is there some way to create an empty pool?

thanks in advance 



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