基本信息
源码名称:ZFS文件系统官方文档.pdf
源码大小:0.48M
文件格式:.pdf
开发语言:C/C++
更新时间:2021-08-23
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
ZFS文件系统官方文档,由sun提供,目前最新的ZFS开发仍然未脱离该范畴。
Table of Contents Introduction...........................................................................................................................5 Chapter One – Virtual Devices (vdevs), Vdev Labels, and Boot Block................................6 Section 1.1: Virtual Devices.............................................................................................6 Section 1.2: Vdev Labels.................................................................................................6 Section 1.2.1: Label Redundancy................................................................................7 Section 1.2.2: Transactional Two Staged Label Update..............................................7 Section 1.3: Vdev Technical Details.................................................................................8 Section 1.3.1: Blank Space...........................................................................................8 Section 1.3.2: Boot Block Header...............................................................................8 Section 1.3.3: Name-Value Pair List...........................................................................8 Section 1.3.4: The Uberblock.....................................................................................12 Section 1.4: Boot Block..................................................................................................14 Chapter Two: Block Pointers and Indirect Blocks...............................................................15 Section 2.1: DVA – Data Virtual Address....................................................................15 Section 2.2 : GRID.......................................................................................................16 Section 2.3: GANG.......................................................................................................16 Section 2.4: Checksum..................................................................................................17 Section 2.5: Compression.............................................................................................18 Section 2.6 : Block Size................................................................................................18 Section 2.7: Endian........................................................................................................19 Section 2.8: Type..........................................................................................................19 Section 2.9: Level.........................................................................................................20 Section 2.10: Fill............................................................................................................20 Section 2.11: Birth Transaction.....................................................................................21 Section 2.12: Padding...................................................................................................21 Chapter Three: Data Management Unit...............................................................................22 Section 3.1 : Objects.......................................................................................................22 Section 3.2: Object Sets..................................................................................................26 Chapter Four – DSL ...........................................................................................................29 Section 4.1 : DSL Infrastructure.....................................................................................29 Section 4.2: DSL Implementation Details.......................................................................31 Section 4.3: Dataset Internals.........................................................................................32 Section 4.4: DSL Directory Internals..............................................................................34 Chapter Five – ZAP..............................................................................................................37 Section 5.1: The Micro Zap............................................................................................38 Section 5.2: The Fat Zap.................................................................................................39 Section 5.2.1: zap_phys_t..........................................................................................39 Section 5.2.2: Pointer Table.......................................................................................41 Section 5.2.3: zap_leaf_phys_t...................................................................................41 Section 5.2.4 : zap_leaf_chunk...................................................................................43 Chapter Six – ZPL................................................................................................................45 Section 6.1: ZPL Filesystem Layout...............................................................................45 Section 6.2: Directories and Directory Traversal............................................................45 Section 6.3: ZFS Access Control Lists............................................................................47 3 Chapter Seven – ZFS Intent Log.......................................................................................51 Section 7.1: ZIL header...................................................................................................51 Section 7.2: ZIL blocks....................................................................................................52 Chapter Eight – ZVOL (ZFS volume).................................................................................55