Verifying free disk space for partition
You can configure the free space requirement for all the required partitions. Disk partitions free space check is performed in cluster operations, such as cluster deployment, Kyvos upgrade, patch deployment, and rollback.
Note
This is applicable to all cloud deployments (AWS, Azure, and GCP).
Points to know
You can configure and specify the free space requirement for all the required partitions.
The diskValidationsMetadata.json file contains the disk partition details specifying which partitions need to be checked. If any manual configuration is required, the file is located at kyvosmanagerdata/server/userpreferences/.
The configuration is hot deployable, which means after the file is uploaded, all applicable operations where this disk partition check is involved, the newly applied changes in the file will be considered.
When the disk space check fails due to any of the following reasons, and you still want to continue with the operation, you need to configure the value of the continueOnPartitionFreeSpaceCheckFailures property (in the Kyvos.json file) from false to true.
1 Disk space validation file missing
2 Partition space is insufficient for any partitions mentioned in the file.
3 Any error in per node free disk space calculation after Step-1 and Step-2 are satisfied.
For example,{ "partitions": { "/var": { "freeSpace": "2G", "type": "absolute" }, "/run": { "freeSpace": "96", "type": "percent" } } }
Note
The paths /var
and /run
refer to directories within the Mounted on
locations.
Adding, deleting or modifying partition free space information
To upload the diskValidationsMetadata.json configuration file, perform the following steps.
On the navigation pane, click Utilities > Manage Configuration Files.
On the Manage Configuration Files page, click to expand Kyvos Manager > Kyvos Manager folder.
In the Kyvos Manager folder, click the kyvosmanagerdata/server/userpreferences/ folder.
Click the Download link to download the diskValidationsMetadata.json file.
In the downloaded file, make the required changes.
Before uploading the file, ensure that the following:
The file should be a valid JSON file.
The file must have the same key name. For example, "freeSpace" and "type"
After confirming the recommended changes (mentioned in step-6), click the Choose File button to locate the configuration file from your computer network, and click the Upload button.
Click the Save button from the top-right of the screen.
Important
We recommend creating a backup of all the files that you are updating, as Kyvos may not preserve these files during the upgrade.
You must ensure the correctness of file content before upload, as Kyvos Manager will not validate the contents.
Copyright Kyvos, Inc. All rights reserved.