This example illustrates how to monitor disk space on a volume when taking Snapshot copies.
Assume that you start with a new volume, and the LUN requires three GB of disk space, and fractional overwrite reserve is set to 100 percent. The recommended volume size is approximately 2*3 GB plus the rate of change of data. Assuming the amount of change is small, the rate of change is minimal, so using two 72-GB disks still provides more than enough space.
The following sample output is displayed. There is a snap reserve of 20 percent on the volume, even though the volume will be used for LUNs, because snap reserve is set to 20 percent by default.
Filesystem kbytes used avail reserved Mounted on /vol/volspace 50119928 1440 50118488 0 /vol/volspace/ /vol/volspace/.snapshot 12529980 0 12529980 0 /vol/volspace/.snapshot
The following sample output is displayed. Approximately six GB of space is taken from available space and is displayed as used space for the LUN:
Filesystem kbytes used avail reserved Mounted on /vol/volspace/ 62649908 6300536 56169372 0 /vol/volspace/ /vol/volspace/.snapshot 0 0 0 0 /vol/volspace/.snapshot
The following sample output is displayed. The first Snapshot copy reserves enough space to overwrite every block of data in the active file system, so you see 12 GB of used space, the 6-GB LUN (which has 1 GB of data written to it), and one Snapshot copy. Notice that 6 GB appears in the reserved column to ensure write operations to the LUN do not fail. If you disable space reservation, this space is returned to available space.
Filesystem kbytes used avail reserved Mounted on /vol/volspace/ 62649908 12601072 49808836 6300536 /vol/volspace/ /vol/volspace/.snapshot 0 180 0 0 /vol/volspace/.snapshot
The following sample output is displayed. The amount of data stored in the active file system does not change. You just overwrote 1 GB of old data with 1 GB of new data. However, the Snapshot copy requires the old data to be retained. Before the write operation, there was only 1 GB of data, and after the write operation, there was 1 GB of new data and 1 GB of data in a Snapshot copy. Notice that the used space increases for the Snapshot copy by 1 GB, and the available space for the volume decreases by 1 GB.
Filesystem kbytes used avail reserved Mounted on /vol/volspace/ 62649908 12601072 47758748 0 /vol/volspace/ /vol/volspace/.snapshot 0 1050088 0 0 /vol/volspace/.snapshot
The following sample output is displayed. Because the first Snapshot copy reserved enough space to overwrite every block, only 44 blocks are used to account for the second Snapshot copy.
Filesystem kbytes used avail reserved Mounted on /vol/volspace/ 62649908 12601072 47758748 6300536 /vol/volspace/ /vol/volspace/.snapshot 0 1050136 0 0 /vol/volspace/.snapshot
The following sample output is displayed. The second write operation requires the amount of space actually used if it overwrites data in a Snapshot copy.
Filesystem kbytes used avail reserved Mounted on /vol/volspace/ 62649908 12601072 4608427 6300536 /vol/volspace/ /vol/volspace/.snapshot 0 3150371 0 0 /vol/volspace/ .snapshot
Copyright © 1994-2008, NetApp, Inc. All rights
reserved.
Part No. 210-04297_A0
Last updated: Friday December 12 2008


