On 1/30/07, Jeremy Teo <[EMAIL PROTECTED]> wrote:
Hello,
On 1/30/07, Robert Milkowski <[EMAIL PROTECTED]> wrote:
> Hello zfs-discuss,
>
> I had a pool with only two disks in a mirror. I detached one disks
> and have erased later first disk. Now i would really like to quickly
> get data from the second disk available again. Other than detaching
> the second disk nothing else was done to it.
>
> Has anyone written such a tool in-house? I guess only vdev label was
> erased so it should be possible to do it.
My grokking of the code confirms that the vdev labels of a detached
vdev are wiped. The vdev label contains the uber block. Without the
uber block, we can't access the rest of the zpool/zfs data on the
detached vdev.
On a related note: I've been itching to make what you want possible
also (ie detaching a vdev from a mirror and getting a zpool from via
zpool import. I'll see what I can do over the next few weeks. I
presume you would be willing to be a tester? ;)
Regards,
Jeremy
--
Regards,
Jeremy
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss