On Qui, 2008-11-13 at 16:07 -0500, Miles Nordin wrote: > If you can find a small drive laying around, here is another option > that might work, but you could lose the whole pool due to some > miscalculation or another mistake: > > 1. make a new, small 1-drive zpool on the small drive > > 2. make a 1TB zvol on the small zpool, without reservation (zfs > create -Vs). so the zvol is larger than the pool. > > 3. 'zpool replace' the mostly-empty disk with the sparse zvol. wait > for resilver.
That's an interesting idea.. However, for safety I would suggest that instead of replacing the mostly-empty disk with the sparse zvol, to *attach* the sparse zvol to the mostly-empty disk. If the attach completes successfully, then it should be safe to detach the mostly-empty disk and create a new pool there. Regards, Ricardo _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss