Welcome to the Linux Foundation Forum!

Issues with Chapter 24 (RAID) Software RAID Configuration

Options

Hi there,

I'm following along with the example in Software RAID Configuration in Chapter 24, but something weird is going on...

I created my disk as instructed, and it worked and md0 was created etc etc, but upon rebooting, RAID works... but is showing up as /dev/md127 instead of /dev/md0. Minor issue but really annoying...

wings@lfcs-ubuntu-srv:~$ sudo cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid1 sdc1[1] sdb1[0]
      8382400 blocks super 1.2 [2/2] [UU]
        resync=PENDING

Comments

  • wings 2
    wings 2 Posts: 12
    Options

    I figured it out. Once you add the array to /etc/mdadm/mdadm.conf (on Ubuntu), you must run "update-initramfs -u" as instructed by that file. Then it comes up as md0 instead. Solved!

  • luisviveropena
    Options

    Pretty well! I'm glad you solved it.

    Regards,
    Luis.

Categories

Upcoming Training