Hi all,
A few days ago I got a new HDD and wanted to create a RAID1 from my original OMV setup that only included 1 drive (4TB WD Blue). To do so, I based myself on the following thread: Create RAID 1 with existing Data Disk
All went pretty smoothly,
=> except for one thing: 2 lines in the System Files don't seem to be in order.
- the 1st one appeared once I wiped out the original disk before including it in the RAID : as a result, "N/A" and "Missing" status.
- the 2nd one: "linux_raid_member" and "N/A" which points to the original HDD since it's in the RAID
Here is the content of "fdisk -l" command:
Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 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 identifier: 0x00099074
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 239855615 119926784 83 Linux
/dev/sda2 239857662 250068991 5105665 5 Extended
/dev/sda5 239857664 250068991 5105664 82 Linux swap / Solaris
WARNING:
GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn
't support GPT. Use GNU Parted.
Disk /dev/sdb: 4000.8 GB, 4000787030016 bytes
256 heads, 63 sectors/track, 484501 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING:
GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn
't support GPT. Use GNU Parted.
Disk /dev/sdc: 4000.8 GB, 4000787030016 bytes
256 heads, 63 sectors/track, 484501 cylinders, total 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/md0: 4000.7 GB, 4000651542528 bytes
2 heads, 4 sectors/track, 976721568 cylinders, total 7813772544 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Alles anzeigen
As a result I get there's an issue in the partition table, but I don't know how to fix it.
Many thanks in advance for your help!
Edit : more results from the following commands
- cat /proc/mdstat command:
$ sudo cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdc1[2] sdb1[1]
3906886272 blocks super 1.2 [2/2] [UU]
unused devices: <none>
- blkid command:
$ sudo blkid
/dev/sda1: UUID="a9e79f7b-2764-4388-a69a-b9c9de5de7e4" TYPE="ext4"
/dev/sda5: UUID="34f08ca6-0e01-4e06-ad33-b5dbcd3402ff" TYPE="swap"
/dev/sdb1:
UUID="b01f8082-be76-9175-127b-400da1aff51b"
UUID_SUB="f3d835c8-a2c1-3ce3-b031-be6fc00f3366" LABEL="ServeurMaison:0"
TYPE="linux_raid_member"
/dev/md0: UUID="89460968-4bc6-4ce1-9958-5621dbb13270" TYPE="ext4"
/dev/sdc1: LABEL="rd1" UUID="5e8305ea-1f49-41ec-9600-906a0394c686" TYPE="ext4"
- mdadm --detail --scan --verbose command: