Hello Cyril,

Sunday, May 4, 2008, 11:34:28 AM, you wrote:

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

CP> [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);


CP> Jeff,

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


If checksum is ok IIRC the last one (most recent timestamp) is going
to be used.




-- 
Best regards,
 Robert Milkowski                           mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

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

Reply via email to