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 file system on a traditional volume Describe how data is structure within a WAFL file system in a flexible on a 32-bit aggregate Describe how data is structure within a WAFL file system in a flexible on a 64-bit aggregate
WAFL Structure
WAFL
WAFL
Is the file system in Data ONTAP Stores metadata in files and uses a buffer tree structure Allows it to write metadata files and blocks anywhere on disk
Write Anywhere File Layout
More flexible than traditional file systems because metadata not at fixed locations on disk
One exception is the root inode
WAFL Structure
WAFL is structured into volumes
Aggregate
vol1
vol1
2009 NetApp. All rights reserved.
WAFL Structure
Every volume has a root inode
The starting point of the inode tree
root inode
volinfo block 1 volinfo block 2
Aggregate
vol1
fsinfo block 0
...
vol1
Snapshot definitions
Aggregate
vol1
vol1
2009 NetApp. All rights reserved.
Level 0
For files that are < 65 B, the data is stored within the inode file
root inode
Small file inode ...
20
Inode file
Aggregate
vol1
4-KB Block
vol1
2009 NetApp. All rights reserved.
0
0 1
...
20
...
Inode file
15
4 Bytes
vol1
Direct Data Block Direct Data Block Direct Data Block
vol1
2009 NetApp. All rights reserved.
4-KB Block
Traditional Volume
0
0
...
20
...
Inode file
7
2x4 bytes
32-bit Aggregate
vol1
NOTE: 2 x 4 bytes because of separation of physical and virtual VBN
2009 NetApp. All rights reserved.
vol1
4-KB Block
Physical Virtual Block Number (PvBN) and Virtual Volume Block Number (vVBN)
0
0
...
20
...
3
Inode file
2x8 bytes
64-bit Aggregate
vol1
Direct Data Block Direct Data Block
vol1
2009 NetApp. All rights reserved.
4-KB Block
0
0 1
...
20
...
Inode file
15
vol1
...
1023
1023
vol1
2009 NetApp. All rights reserved.
0
0
...
20
...
Inode file
7
32-bit Aggregate
vol1
...
511
511
vol1
2009 NetApp. All rights reserved.
0
0
...
20
...
3
Inode file
Up to 4 indirect blocks ...
64-bit Aggregate
vol1
...
255
255
vol1
2009 NetApp. All rights reserved.
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
2009 NetApp. All rights reserved.
Module Summary
In this module, you should have learned to: Describe how data is structure within a WAFL file system on a traditional volume Describe how data is structure within a WAFL file system in a flexible on a 32-bit aggregate Describe how data is structure within a WAFL file system in a flexible on a 64-bit aggregate