Yes, I think that would be useful.  Something like 'zpool revive'
or 'zpool undead'.  It would not be completely general-purpose --
in a pool with multiple mirror devices, it could only work if
all replicas were detached in the same txg -- but for the simple
case of a single top-level mirror vdev, or a clean 'zpool split',
it's actually pretty straightforward.

Jeff

On Tue, May 06, 2008 at 11:16:25AM +0100, Darren J Moffat wrote:
> Great tool, any chance we can have it integrated into zpool(1M) so that 
> it can find and "fixup" on import detached vdevs as new pools ?
> 
> I'd think it would be reasonable to extend the meaning of
> 'zpool import -D' to list detached vdevs as well as destroyed pools.
> 
> --
> Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to