发明名称 Method and system for metadata-based resilvering
摘要 A method for resilvering a storage pool includes determining whether any of a first plurality of blocks in the storage pool, comprising metadata, require resilvering, determining whether any of a second plurality of blocks in the storage pool, comprising data, require resilvering, resilvering all of the first plurality of blocks that require resilvering, and resilvering all of the second plurality of blocks that require resilvering, wherein all of the first plurality of blocks that require resilvering are resilvered prior to resilvering any of the second plurality of blocks.
申请公布号 US8938594(B2) 申请公布日期 2015.01.20
申请号 US200611407719 申请日期 2006.04.19
申请人 Oracle America, Inc. 发明人 Moore William H.;Bonwick Jeffrey S.;Ahrens Matthew A.
分类号 G06F12/00;G06F13/28;G06F13/00;G06F11/20 主分类号 G06F12/00
代理机构 Osha Liang LLP 代理人 Osha Liang LLP
主权项 1. A method for resilvering a storage pool, comprising: determining whether any of a first plurality of blocks in the storage pool, comprising metadata, require resilvering, wherein resilvering comprises synchronizing unsynchronized data on mirrored disks in the storage pool; determining whether any of a second plurality of blocks in the storage pool, comprising data, require resilvering; resilvering all of the first plurality of blocks that require resilvering; and resilvering all of the second plurality of blocks that require resilvering, wherein all of the first plurality of blocks that require resilvering are resilvered prior to resilvering any of the second plurality of blocks, wherein the first plurality of blocks comprises: a root block;a third plurality of blocks comprising global file system metadata, wherein the root block references a block in the third plurality of blocks and wherein the global file system metadata comprises metadata for a plurality of file systems; anda fourth plurality of blocks comprising file system metadata, wherein a block in the third plurality of blocks references a block in the fourth plurality of blocks, wherein the file system metadata is associated with one of the plurality of file systems, and wherein unsynchronized global file system metadata in the third plurality of blocks is resilvered prior to unsynchronized file system metadata in the fourth plurality of blocks, and wherein the second plurality of blocks comprises: a plurality of file root blocks, each file root block of the plurality of file root blocks being for a single file in the one of the plurality of file systems, wherein each file root block is referenced by a block in the fourth plurality of blocks,a fifth plurality of blocks comprising file metadata for the corresponding single file, wherein each of the fifth plurality of blocks is referenced by one of the plurality of file root blocks, anda sixth plurality of blocks comprising data for the corresponding single file, wherein a block in the fifth plurality of blocks references a block in the sixth plurality of blocks, and wherein unsynchronized file metadata in the fifth plurality of blocks is resilvered prior to unsynchronized file system data in the sixth plurality of blocks.
地址 Redwood Shores CA US