On Sun, May 4, 2008 at 11:42 AM, Jeff Bonwick <[EMAIL PROTECTED]> wrote:
> Oh, and here's the source code, for the curious:
>

[snipped]

>
>         label_write(fd, offsetof(vdev_label_t, vl_uberblock),
>             1ULL << UBERBLOCK_SHIFT, ub);
>
>         label_write(fd, offsetof(vdev_label_t, vl_vdev_phys),
>             VDEV_PHYS_SIZE, &vl.vl_vdev_phys);


Jeff,

is it enough to overwrite only one label ? Isn't there four of them ?

>
>         fsync(fd);
>
>         return (0);
>  }
>

-- 
Regards,
 Cyril
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to