@@ -7,7 +7,7 @@ the "performance tier" as opposed to the "capacity tier." It does that by
77simply reading every byte of every file in the volume. Doing that
88causes all blocks that are currently in the capacity tier to be pulled
99into the performance tier before being returned to the reader. At that point,
10- assuming, the tiering policy is not set to 'all', all the data should remain
10+ assuming the tiering policy is not set to 'all', all the data should remain
1111in the performance tier until ONTAP tiers it back based on the volume's
1212tiering policy.
1313
@@ -41,19 +41,19 @@ any user that has read access to the files in the volume can run it.
4141Otherwise, the script needs to be run as 'root' so it can mount the
4242volume before reading the files.
4343
44- If the 'root' user can't read the files in the volume, then you should use 'root'
45- to mount the volume first and then run the script from a user ID that can read the contents
44+ If the 'root' user can't read the files in the volume, then you should use 'root' user just
45+ to mount the volume and then run the script from a user ID that can read the contents
4646of all the files in the volume.
4747
4848Make sure you have set the tiering policy on the volume set to something
4949other than "all" or "snapshot-only", otherwise the script will be ineffective.
5050
5151# Running The Script
5252There are two main ways to run the script. The first is to just provide
53- the script with a directory to start from. The script will then read
54- every file in that directory and all subdirectories. The second way
55- is to provide the script with the FSx for ONTAP file system data endpoint
56- and the volume name. The script will then attempt to mount the volume
53+ the script with a directory to start from using the -d option . The script will then read
54+ every file in that directory and all its subdirectories. The second way
55+ is to provide the script with the FSx for ONTAP file system data endpoint with the -f option
56+ and the volume name with the -v option . The script will then attempt to mount the volume
5757if it isn't already mounted. If it does mount it, it will mount it read-only
5858and unmount when it is done.
5959
@@ -85,7 +85,7 @@ If you run the script with a '-h' option, you will see the following help messag
8585Usage: warm_performance_tier [-f filesystem_endpoint] [-v volume_name] [-d directory] [-t max_directory_threads] [-x max_read_threads] [-n nfs_type] [-h] [-V]
8686Where:
8787 -f filesystem_endpoint - Is the hostname or IP address of the FSx for ONTAP file system.
88- -v volume_name - Is the ID of the volume.
88+ -v volume_name - Is the name of the volume.
8989 -n nfs_type - Is the NFS version to use. Default is nfs4.
9090 -d directory - Is the root directory to start the process from.
9191 -t max_directory_threads - Is the maximum number of threads to use to process directories. The default is 10.
0 commit comments