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

2007-06-21 Thread Joubert Nel
Joubert Nel wrote: Hi, If I add an entire disk to a new pool by doing zpool create, is this reversible? I.e. if there was data on that disk (e.g. it was the sole disk in a zpool in another system) can I get this back or is zpool create destructive? Short answer: you're

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

2007-06-21 Thread Eric Schrock
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

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

2007-06-21 Thread Richard Elling
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. Remote uses of the disk, especially those