Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Q:mdadm created RAID10 became /dev/md127 after a reboot

edited May 19, 2017 7:00AM in OCI - General 2 comments

Summary

Q:mdadm created RAID10 became /dev/md127 after a reboot

Content

Hello,

on my compute instance (Linux <hostname>.localdomain 4.1.12-61.1.28.el6uek.x86_64 #2 SMP Thu Feb 23 20:03:53 PST 2017 x86_64 x86_64 x86_64 GNU/Linux) I created a RAID 10 device as follows:

1. For four NVMe drives:

parted /dev/nvme[0-3]n1

mklabel gpt

mkpart primary 0% 1005

2. Created a RAID 10 device

mdadm --create /dev/md0 --level=10 --raid-devices=4 /dev/nvme[0-3]n1p1

3. Added configuration to mdadm.conf:

mdadm –-detail –-scan | sudo tee –a /etc/mdadm.conf >> /dev/null

4. Created a partion on /dev/md0

parted /dev/md0

mklabel gpt

mkpart primary 0% 100%

5. Created a filesystem

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!