I attempted to move a mdadm raid 1 array to a different system this evening.
I took the 2 SSDs out of one system and put them in another, then booted that system.
I opened gparted to check what the disks appeared as. They showed up as being blank (unallocated) drives.
I then shut down this system and moved the drives back to the original system, and booted.
sudo mdadm --assemble --scan --verbose
reported that no raid superblocks were found on sdg
or sgh
, which is where I would expect the data to be.
I thought this should be a fairly trivial process, but I'm now not sure what to do.
Any help would be appreciated, it's kind of important I don't loose the data on these drives...
This is the (approximate) output of sudo mdadm --misc --examine /dev/sd[efgh]
sde/sdf report the expected output, starts with Magic a92b4efc
... then prints a bunch of info about this raid 1 array.
sdg/h simply produce mbr magic aa55
and then partition[0]: 1953525167 sectors at 1 (type ee)
I really have no idea what this means but I have a feeling from an issue I was having with another system that there is some conflict between the mdadm raid information and a gpt parition table? Is my guess right, if so what should I do about this? Perhaps assemble the raid in a degraded state and see if the data can be read?
fdisk -l
sde/f
make up md1
, md0
is missing - should be sdg/h
.
Disk /dev/sde: 931.5 GiB, 1000207286272 bytes, 1953529856 sectors
Disk model: WDC WDS100T2G0A-
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md1: 931.4 GiB, 1000072019968 bytes, 1953265664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdf: 931.5 GiB, 1000207286272 bytes, 1953529856 sectors
Disk model: WDC WDS100T2G0A-
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdg: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 76628399-779F-47D5-BF40-91930ECC85C8
Disk /dev/sdh: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 860
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0A316DF5-1431-44D5-8328-16960E7206B5