Am 24.05.2020 um 19:19 schrieb Patrick O'Callaghan:
On Sun, 2020-05-24 at 18:37 +0200, Roberto Ragusa wrote:
> On 2020-05-24 13:37, Patrick O'Callaghan wrote:
>
>> sdd 8:48 0 931.5G 0 disk
>> └─md127 9:127 0 931.4G 0 raid1
>> └─md127p1 259:0 0 931.4G 0 part
>> sde 8:64 0 931.5G 0 disk
>> └─md127 9:127 0 931.4G 0 raid1
>> └─md127p1 259:0 0 931.4G 0 part
>>
>> # mdadm --detail /dev/md127p1
>> /dev/md127p1:
>> Version : 1.2
>> Creation Time : Wed May 20 16:34:58 2020
>> Raid Level : raid1
>> Array Size : 976628736 (931.39 GiB 1000.07 GB)
>> Used Dev Size : 976630464 (931.39 GiB 1000.07 GB)
>> Raid Devices : 2
>> Total Devices : 2
>> Persistence : Superblock is persistent
> There is something strange here.
> You have created md127 as a RAID1 of sdd and sde.
> Then you have md127p1, so have you partitioned your RAID?
> And then you are asking details for md127p1 (which could be your filesystem),
> while your RAID is instead md127.
IIRC I created the RAID1 array (which took hours), then formatted the
resulting /dev/md127 (using gparted) as a single ext4 partition.
> This is an unusual configuration.
> Generally you partition the disks: sdd1 sde1, then create a RAID of of them: md127,
> then you format and mount md127.
That's called partitioned RAID. Makes it easier if you need to replace
an array member.
So clearly the other way around.
> You may have messed up something: maybe you have formatted both md127 and md127p1?
I don't think so, but I guess it's possible. What I can't understand is
why everything appeared to be working before I rebooted.
Perfectly valid as a RAID setup. I am just not sure the anaconda
installer supports it. Last time I tried it (admitted with CentOS 7) I
couldn't do it that way.
I'm OK with doing it again if need be, but I don't find all
this in any
way obvious.
poc
Alexander