Welcome to the Linux Foundation Forum!

Raid - error mdadm

Hello friends I wonder if any of you can help me with a small error that I am having to try to create a mirror raid drive.
* Instaldo mdadm package (Yes)

When you enter the fdisk -l command
I have:

Device Boot Start End Blocks Id System
/ Dev / sda1 * 2048 37,750,783 18,874,368 83 Linux
/ Dev / sda2 37,752,830 41,940,991 2,094,081 5 Extended
/ Dev / sda3 75694080 79790079 2048000 83 Linux
/ Dev / sda4 79790080 83886079 2048000 83 Linux
/ Dev / sda5 37,752,832 41,940,991 2,094,080 82 Linux swap / Solaris

to enter the camando: mdadm --create --verbose / dev / md0 --level = mirror --raid-devices = 2 / dev / sda1
 
I get this error down.
 
You have not given enough devices (real or missing) to create this array

Can someone help me?
What am I doing wrong?

Thank you very much in advance!

Wellington

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 1,276
    edited August 2016

    Hi Wellington,

    That one is easy: you want to create a mirror and you need to specify at leat two devices. One is /dev/sda1 (per your command), and what is the second?

    Regards,

    Luis.

  • edited August 2016

    Hi luisviveropena.

    So in this case I will try to put the disk sda3, adding / dev / sda3 the way to creating the raid disk.

    Thank you for help luisviveropena helped me a lot.

    Wellington

  • Posts: 1,276
    edited August 2016

    Hi Wellington, that's right. I hope you can get it done.

    Regards,

    Luis.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training