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
* 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
0
Comments
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.
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
Hi Wellington, that's right. I hope you can get it done.
Regards,
Luis.