Skip to content

Commit

Permalink
Fix incorrect value of default setting StorageMinimalAvailablePercent…
Browse files Browse the repository at this point in the history
…age.

Fix definition of settings.

Signed-off-by: James Munson <james.munson@suse.com>
  • Loading branch information
james-munson committed Dec 15, 2023
1 parent 20a10ef commit 2adbcd4
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions content/docs/1.4.0/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.4.1/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.4.2/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.4.3/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.4.4/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.4.5/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.5.0/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `100` (%). That means we can schedule a total of 150 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.5.1/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `100` (%). That means we can schedule a total of 150 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.5.2/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `100` (%). That means we can schedule a total of 150 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.5.3/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `100` (%). That means we can schedule a total of 150 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/1.5.4/volumes-and-nodes/multidisk.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Once those two conditions are met, you should be allowed to remove the disk.
## Configuration
There are two global settings affect the scheduling of the volume.

- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `100` (%). That means we can schedule a total of 150 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. Because normally people won't use that large amount of data in the volume, and we store the volumes as sparse files.
- `StorageMinimalAvailablePercentage` defines when a disk cannot be scheduled with more volumes. The default value is `10` (%). The bigger value between `MaximumStorage * StorageMinimalAvailablePercentage / 100` and `MaximumStorage - ReservedStorage` will be used to determine if a disk is running low and cannot be scheduled with more volumes.
- `StorageOverProvisioningPercentage` defines the upper bound of `ScheduledStorage / (MaximumStorage - ReservedStorage)`. The default value is `200` (%). That means we can schedule a total of 300 GiB Longhorn volumes on a 200 GiB disk with 50G reserved for the root file system. That's because typically a workload won't completely fill a volume, and Longhorn stores the volume contents as sparse files.
- `StorageMinimalAvailablePercentage` defines the lower bound of `AvailableStorage / MaximumStorage`. The default value is `25` (%). If a volume's specified size would reduce the available storage below that threshold, it cannot be scheduled on that disk.

Notice that currently there is no guarantee that the space volumes use won't exceed the `StorageMinimalAvailablePercentage`, because:
1. Longhorn volumes can be bigger than the specified size, due to fact that the snapshot contains the old state of the volume.
Expand Down
Loading

0 comments on commit 2adbcd4

Please sign in to comment.