-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-45747 Allow 4KN-capable SR type to be used
The 'lvm' and 'ext' SR types will not work with 4K native disks - or indeed any where the logical block size is not 512 bytes - but if a suitable alternative SR type is available then this can be used instead. * The feature flag file "large-block-capable-sr-type" may now be used to specify the name of an SR type that can be used for local storage on disks where the logical block size can be something other than 512 bytes. * The installer detects logical block size at points in the process this is necessary. * For interactive installs, there are now separate screens for selecting which disks to use for local SR storage and determining what SR type to use, so that the options for the latter can depend on the former. * Tweak the disk-probing logic so that it is easy for a new SR type to name volume groups such that the installer can detect them. For non-interactive installs: * Sanity checking to prevent 'lvm' or 'ext' being used on conjunction with disks where they won't work. * Allow the use of an available 4KN-capable SR type even if the disk block size does not make this necessary. * If the answer file doesn't specify an SR type, try to default to one that will work, given the block size. Signed-off-by: Robin Newton <[email protected]>
- Loading branch information
Showing
9 changed files
with
162 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters