Raid1 disappears after reboot

  • Hi,


    I am facing the same problem as a few others in this forum:


    I can successfully create a RAID array and everything is well functioning... until I reboot the machine. Then it simply disappears. I can only rebuild it from scratch in the webif for it to run again.


    md0 is an array of 2 x 1tb WD Red
    md1 is supposed to be an array of 2 x 4tb WD Red (brand new hard drives)


    Code
    root@nas:~# cat /proc/mdstat
    Personalities : [raid1] 
    md0 : active raid1 sda[0] sdb[1]
          976631360 blocks super 1.2 [2/2] [UU]
    
    unused devices: <none>


    Code
    root@nas:~# blkid
    /dev/sda: UUID="c6bda34c-cca9-40a7-a8c5-b11324db745d" UUID_SUB="caf2941c-4312-282b-af0a-89b3e7ab7d9f" LABEL="NAS:Raid1" TYPE="linux_raid_member" 
    /dev/sdb: UUID="c6bda34c-cca9-40a7-a8c5-b11324db745d" UUID_SUB="3879271d-e3d8-c722-86ba-dac55f36cb0a" LABEL="NAS:Raid1" TYPE="linux_raid_member" 
    /dev/md0: UUID="ae710988-336b-47c8-ac26-d805dae2adad" TYPE="crypto_LUKS" 
    /dev/sde1: UUID="17c43c4a-06fb-460b-817a-39fd9bfd61ff" TYPE="ext4" 
    /dev/sde2: UUID="7e29c022-b9db-4f30-94c5-66fbe7192ebd" TYPE="swap" 
    /dev/mapper/raid1: UUID="ae1fd8d7-1f7c-49be-a5a6-a9a64e5d7645" TYPE="ext4"




    Code
    root@nas:~# mdadm --detail --scan --verbose
    ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=NAS:Raid1 UUID=c6bda34c:cca940a7:a8c5b113:24db745d
       devices=/dev/sda,/dev/sdb


    I am a bit puzzled, why sdc and sdd do not show up in blkid.


    I hope somebody can help me.

  • After realizing that I was still running v1, I have now upgraded to v2, created the Raid in the Webif again, executed "update-initramfs -u" and rebooted... now the Raid is persistent!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!