Re: [zfs-discuss] Re: Re: Undo/reverse zpool create

2007-06-22 Thread michael schuster
Joubert Nel wrote: What I meant is that when I do "zpool create" on a disk, the entire contents of the disk doesn't seem to be overwritten/destroyed. I.e. I suspect that if I didn't copy any data to this disk, a large portion of what was on it is potentially recoverable. If so, is there a tool

Re: [zfs-discuss] Re: Re: Undo/reverse zpool create

2007-06-22 Thread Darren Dunham
> What I meant is that when I do "zpool create" on a disk, the entire > contents of the disk doesn't seem to be overwritten/destroyed. I.e. I > suspect that if I didn't copy any data to this disk, a large portion > of what was on it is potentially recoverable. Presumably a scavenger program could

Re: [zfs-discuss] Re: Re: Undo/reverse zpool create

2007-06-22 Thread Eric Schrock
On Thu, Jun 21, 2007 at 07:34:13PM -0700, Joubert Nel wrote: > > OK, so if I didn't copy any data to this disk, presumably a large > portion of what was on the disk previously is theoretically > recoverable. There is really one file in particular that I'd like to > recover (it is a cpio backup). >

[zfs-discuss] Re: Re: Undo/reverse zpool create

2007-06-22 Thread Joubert Nel
> 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

[zfs-discuss] Re: Re: Undo/reverse zpool create

2007-06-22 Thread Joubert Nel
Richard, > Joubert Nel wrote: > >> If the device was actually in use on another > system, I > >> would expect that libdiskmgmt would have warned > you about > >> this when you ran "zpool create". > > AFAIK, libdiskmgmt is not multi-node aware. It does > know about local > uses of the disk. Remo