Bare Metal Orchestrator facilitates the conversion of storage drives from RAID mode to NON-RAID mode and NON-RAID mode to RAID mode for the media types SSD, HDD and NVMe. With this, you can utilize more storage space in the server. RAID volumes can be used for OS installation and NON-RAID volumes can be used for other storage requirements to achieve optimal storage usage.
-
Series 9 Family storage controllers support both RAID to NON-RAID and NON-RAID to RAID conversion.
-
Series 10 Family and Series 11 Family storage controllers support only RAID to NON-RAID conversion.
By default RAID0 volume will be created for the physical disk that is converted to NON-RAID.
Note: To convert the disk from NON-RAID to RAID, you must delete the RAID0 volume.
- Establish a CLI session on the Bare Metal Orchestrator VM and log in. For high availability configurations, establish a CLI session using the virtual IP (VIP) of the Load Balancers for the Bare Metal Orchestrator cluster.
- Edit the <server-id>.yaml file with Vim or a similar editor.
For example:
vim dell_server.yaml
- Configure the
raidConversion
attributes. For attribute definitions, see RAID conversion attribute definitions . RAID to NON-RAID conversion
spec:
# Add fields here
bmcEndPoint: https://<BMC-IP>
userName: xxxx
password: <REPLACE_THIS>
raid:
#Mandatory for Raid Conversion
raidConversion:
convertTo: RaidToNonRaid
#Mandatory when 'convertTo' is not "None"
storageDrives:
- 0
- 1
- 2
- N
NON-RAID to RAID conversion
spec:
# Add fields here
bmcEndPoint: https://<BMC-IP>
userName: XXXX
password: <REPLACE_THIS>
raid: raid:
#Mandatory for Raid Conversion
raidConversion:
#Mandatory for Raid Conversion
ConvertTo: NonRaidToRaid
#Mandatory when 'convertFrom' is not "None"
storageDrives:
- 0
- 1
- 2
- N
- Save the file and quit the editor.
- Create the server instance. Run the following command.
bmo create server -f <new-server-id>.yaml
For example:
bmo create server -f dell_server_new.yaml
The server creation will be successful without any errors if the conversion operation is successful.
The server creation fails if the conversion fails and an error message indicating the same is added in the logs. The information regarding the drives that are successfully converted or failed to convert are added in the server status in the following format.
Status:
RaidConversionDetails:
SuccessfulDrives [] string
FailedDrives [] string