The output you're seeing from the sudo mdadm --examine /dev/md125 command indicates two important issues:
No Identity Information:
code
mdadm: ARRAY line /dev/md/var_lib_qligent has no identity information.
This message suggests that the array /dev/md/var_lib_qligent lacks identity information. Identity information typically includes the UUID or name that uniquely identifies the array. This can happen if the array was created without specifying a UUID or if the metadata is corrupted.
No MD Superblock Detected:
code
mdadm: No md superblock detected on /dev/md125
This message indicates that /dev/md125 does not contain an MD (Multi-Device) superblock. The MD superblock is essential as it contains metadata about the RAID array, such as its layout, member disks, and configuration. Without a superblock, mdadm cannot recognise /dev/md125 as a valid RAID array.
Troubleshooting Steps
Here are some steps to troubleshoot and potentially resolve these issues:
Check if the Array is Active:
Ensure that the array is actually assembled and active. You can check the status of all MD devices with:
bash
cat /proc/mdstat
If /dev/md125 does not appear in the output, it means the array is not currently active.
List all Arrays:
Use the following command to list all the arrays known to mdadm:
bash
sudo mdadm --detail --scan
This will show you all the arrays and their configurations. Check if /dev/md125 or /dev/md/var_lib_qligent is listed. If it is not listed it may not have been assembled properly.
Assemble the Array:
If the array is not active you will need to assemble it. You can try assembling it manually. First identify the disks that are supposed to be part of /dev/md125. You can list all disks and their partitions using:
bash
lsblk
Once you have identified the disks, you can attempt to assemble the array. For example if the disks are /dev/sda1 and /dev/sdb1 you would use:
Replace /dev/sda1 and /dev/sdb1 with your actual devices. If these devices do not have a superblock then it is likely the array was never properly created, or the superblock has been destroyed.
Re-create the Array (Last Resort):
If the superblock is irrecoverably lost and you have backups of your data you may need to re-create the array. Warning: This will destroy any data on the disks.
Adjust the --level and --raid-devices options according to your original array configuration. Only do this if you have backups, as this will erase all data on /dev/sda1 and /dev/sdb1.
Check mdadm.conf:
Ensure that your /etc/mdadm/mdadm.conf file is correctly configured and includes an entry for /dev/md125. If it is missing you can add it manually or run
to update the config file with the current arrays.
If you are unsure about any of these steps, especially re-creating the array, it is highly recommended to consult with a system administrator or a RAID recovery specialist to avoid data loss.