On Thu, Jun 21, 2007 at 11:03:39AM -0700, Joubert Nel wrote:
> 
> When I ran "zpool create", the pool got created without a warning. 

zpool(1M) will diallow creation of the disk if it contains data in
active use (mounted fs, zfs pool, dump device, swap, etc).  It will warn
if it contains a recognized filesystem (zfs, ufs, etc) that is not
currently mounted, but allow you to override it with '-f'.  What was
previously on the disk?

> What is strange, and maybe I'm naive here, is that there was no
> "formatting" of this physical disk so I'm optimistic that the data is
> still recoverable from it, even though the new pool shadows it.
> 
> Or is this way off mark?

You are guaranteed to have lost all data within the vdev label portions
of the disk (see on-disk specification from opensolaris.org).  How much
else you lost depends on how long the device was active in the pool and
how much data was written to it.

- Eric

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to