Dependingon the retention period in the tiering policy, files can be found on the object store or the SSD or both locations as follows:
- Before the file is tired to the object store, it is found in the SSD.
- During data tiering, the tiered data is on the SSD (read cache) and the object store.
- Once the entire file data is tiered and the retention period has past, the complete file is found in the object store only.
Use this command to find the file location during the data lifecycle operations.
Command: weka fs tier location
Use the following comand to find files:
weka fs tier location <path>
For multiple paths, use the following command:
weka fs tier location <paths>
To find all files in a single directory, use the following command:
weka fs tier location *
Name | Value | Default |
---|---|---|
path * | A path to get information about. | |
paths | Space-separated list of paths to get information about. |
Examples of a tiered file location during the data lifecycle management
- Before the file named image is tied to the object store, it is found in the SSD (WRITE-CACHE).
[root@kenny-0 weka] 2023-07-13 14:57:11 $ weka fs tier location image PATH FILE TYPE FILE SIZE CAPACITY IN SSD (WRITE-CACHE) CAPACITY IN SSD (REA image regular 102.39 MB 102.39 MB
- 2. The file is tiered and the retention period has not past yet, so the file is found in the SSD (READ- CACHE) and the object store.
[root@kenny-0 weka] 2023-07-13 14:58:14 $ weka fs tier location image PATH FILE TYPE FILE SIZE CAPACITY IN SSD (WRITE-CACHE) CAPACITY IN SSD (REA image regular 102.39 MB 0 B 102.39 MB
- 3. The file is tiered and the retention period past, so the file is found in the object store only.
[root@kenny-0 weka] 2023-07-13 14:59:14 $ weka fs tier location image PATH FILE TYPE FILE SIZE CAPACITY IN SSD (WRITE-CACHE) CAPACITY IN SSD (REA image regular 102.39 MB 0 B 0 B