Adding a Raid after setup...and it dissapears after reboot

amnz

Active Member
Dec 14, 2012
4
0
41
Barcelona, Spain
www.gesttic.com
Hi,

I'm trying to add a new Raid1 volume to a new installation on a dedicated server at Hetzner.
First we install Proxmox using the two main NvME disks in a Raid1 config with no trouble on it.
After boot, update, etc, we want to create a new Raid1 for the two extra SSD disks.

So we did it:
mdadm --create --verbose /dev/md2 --level=1 --raid-devices=2 /dev/sda /dev/sdb

after that ckeck it is creating the raid with:
cat /proc/mdstat

and format device with:
mkfs.ext4 /dev/md2

also mount device:
mkdir /DataVolume
mount /dev/md2 /DataVolume

We added new raid info at /etc/mdadm/mdadm.com with:
mdadm --examine --scan --config=mdadm.conf >> /etc/mdadm/mdadm.conf

All Ok...but when rebooting. md2 dissapeared... there is no md2 at all

any ideas? Thanks
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!