Professional Documents
Culture Documents
Module Objectives
By the end of this module, you should be able to: Describe how data is structure within a WAFL (Write Anywhere File Layout) file system on a traditional volume Explain how data is structure within a WAFL file system in a flexible volume on a 32-bit aggregate Describe how data is structure within a WAFL file system in a flexible volume on a 64-bit aggregate
WAFL Structure
WAFL Structure
The WAFL file system is structured into volumes:
Aggregate vol1
vol1
2011 NetApp, Inc. All rights reserved. 6
Aggregate vol1
fsinfo block 0
...
vol1
Snapshot definitions
8
20 21 Inode file
Aggregate vol1
vol1
2011 NetApp, Inc. All rights reserved. 9
Level 0
For files that are less than 65 bytes, the data is stored within the inode file.
Root inode 0
... Small file inode
20
Inode file
Aggregate vol1
4-KB block
vol1
2011 NetApp, Inc. All rights reserved. 10
0
0 1
...
20 ...
Inode file
15
4 bytes
vol1
Direct Data Block Direct Data Block Direct Data Block
vol1
2011 NetApp, Inc. All rights reserved.
4-KB block
11
Traditional Volume
12
20 ...
Inode file
7
2x4 bytes*
*NOTE: 2 x 4 bytes, because the physical and virtual VBNs are separate
2011 NetApp, Inc. All rights reserved.
vol1
4-KB block
13
Aggregate Disk vol1 PvBN 456 block number vol2 PvBN 123 block number Disk
Physical Virtual Block Number (PvBN) Virtual Volume Block Number (vVBN)
14
20 ...
3
Inode file
2x8 bytes
vol1
2011 NetApp, Inc. All rights reserved.
4-KB block
15
20 ...
Inode file
15
Up to 16 indirect blocks
vol1
...
1023
...
1023
vol1
2011 NetApp, Inc. All rights reserved. 16
20 ...
Inode file
7
Up to 8 indirect blocks
...
511
...
511
vol1
2011 NetApp, Inc. All rights reserved. 17
20 ...
3
Inode file
Up to 4 indirect blocks
...
255
...
255
vol1
2011 NetApp, Inc. All rights reserved. 18
Directories
Each directory inode points to at least one 4-KB block that holds the metadata for the block.
Root inode Inode file
Directory inode
4-KB block
Entries Chunks
Aggregate vol1
An array of entries containing 128 rows of 12 bytes An array of 160 sixteenbyte name chunks
vol1
2011 NetApp, Inc. All rights reserved. 19
Module Summary
Now that you have completed this module, you should be able to: Describe how data is structure within a WAFL file system on a traditional volume Explain how data is structure within a WAFL file system in a flexible volume on a 32-bit aggregate Describe how data is structure within a WAFL file system in a flexible volume on a 64-bit aggregate
20