Hi Mick,

On Tue, Dec 29, 2020 at 03:32:07PM +0000, mick crane wrote:
> On 2020-12-29 13:10, Andy Smith wrote:
> >The default metadata format (v1.2) for mdadm is at the beginning of
> >the device. If you've put a filesystem directly on the md device
> >then the presence of the metadata will prevent it being recognised
> >as a simple filesystem. What you can do is force mdadm to import it
> >as a degraded RAID-1.
> <..>
> I've puzzled about this. Are you supposed to have 3 disks ?
> One for the OS and the other 2 for the raid1 ?

It's unclear to me how what you have quoted relates to your
subsequent question. Can you elaborate on what the location of mdadm
metadata has to do with whether one puts the operating system on a
RAID-1 device or not?

I expect that most people using RAID put their OS into the RAID as
well. I certainly do. I don't understand your mental separation of
"OS" and "RAID-1" or why it might mandate 3 devices. It is perfectly
straightforward to put a single partition¹ on each of two devices,
RAID-1 them together and use it as root filesystem and that's it.

Probably we are just misunderstanding each other and there is a
question here that I haven't understood.

Cheers,
Andy

¹ You can just use the devices as well, no partitions, but sometimes
  weird things can happen with BIOSes that think this is an invalid
  configuration, so I wouldn't recommend it for devices you will
  boot from.

Reply via email to