Re: ZFS pool corrupted on upgrade of -current (probably sata renaming)

From: Henri Hennebert <hlh_at_restart.be>
Date: Thu, 16 Jul 2009 10:28:40 +0200
Peter Schuller wrote:
>> Yep.  It's as simple as:
>>
>>   * label all the drives using glabel, while they're still attached to the
>> pool
>>   * use "zpool replace pool ad4 label/disk01" to replace 1 drive
>>   * wait for it to resilver
>>   * use "zpool replace pool ad6 label/disk02" to replace the next drive
>>   * repeat the resilver and replace until all the devices are replaced
> 
> While I can see this working "most of the time" - is there any reason
> to believe it is guaranteed to? glabel keeps meta data at the end of
> the device; is it guaranteed that ZFS is not using that part of the
> device actively? (For example by having a policy to reserve some
> amount at the end.)
> 
Indeed, I find this paper really interesting:

http://opensolaris.org/os/community/zfs/docs/ondiskformat0822.pdf

Henri
Received on Thu Jul 16 2009 - 06:28:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:52 UTC