...
You can configure and specify the free space requirement for all the required partitions.
Disk partitions free space check is performed while deploying cluster, Kyvos Upgrade, Kyvos Patch Deploy & Kyvos Rollback.
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 file upload from KM UI in the file is uploaded, all applicable operations where this disk partition check is involved, the newly applied changes in the file will be considered.
If When the disk partition check fails—meaning the required amount of free space on the partitions, as specified in the diskValidationsMetadata.json file, is unavailable—you can still space check fails due to any of the following reasons, and you still want to continue with the operation. The process will not fail; instead, it will change , you need to configure the value of the key continueOnPartitionFreeSpaceCheckFailures property (in the Kyvos.json file) from continueOnPartitionFreeSpaceCheckFailures from false to true. This key determines whether the operation proceeds even if the partition disk check fails
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,Code Block { "partitions": { "/var": { "freeSpace": "2G", "type": "absolute" }, "/run": { "freeSpace": "96", "type": "percent" } } }
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Note The paths |
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 that you want to update and click the corresponding Upload button.
, 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.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Important We recommend creating a backup of all the files that you are updating, as Kyvos may not preserve these files during the upgrade. |
Click the Choose File button to locate the configuration file from your computer network, and click the Upload button.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Important You must ensure the correctness of file content before upload, as Kyvos Manager will not validate the contents. |
Click the Save button from the top-right of the screen.
. |