How to add or replace a new disk but with different mode which defined in the existing DriveGroups
This document (000019748) is provided subject to the disclaimer at the end of this document.
drive_group_SSD: target: 'cephosd0[1-5].suse.lab' data_devices: model: 'DISK_MODEL_STRING-1' ...
Now a disk failure occurs, and the new replacement disk model is "DISK_MODEL_STRING-2".
The following settings are not feasible
drive_group_SSD_NEW: target: 'cephosd0[1-5].suse.lab' data_devices: model: 'DISK_MODEL_STRING-1','DISK_MODEL_STRING-2' ...
Please replace 'model' and 'target' partial example for real environment）
drive_group_SSD: target: 'cephosd0[1-5].suse.lab' data_devices: model: 'DISK_MODEL_STRING-1' ... drive_group_SSD_NEW: target: 'cephosd0[1-5].suse.lab' data_devices: model: 'DISK_MODEL_STRING-2' ...
To print out a detailed report of what will happen in the next DeepSea stage 3 invocation.
# salt-run disks.report
Only one specification can be set for each device type(model/vendor) per drivegroup.
This is not a bug, and it is working as designed.
They are defined in a single file : /srv/salt/ceph/configuration/files/drive_groups.yml
For more information:
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000019748
- Creation Date: 22-Oct-2020
- Modified Date:27-Oct-2020
- SUSE Enterprise Storage
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org