Mirror RAID clean, degraded

  • Hi,


    I have an issue with my Mirror RAID in my OMV. Yesterday I've turned off my NAS for cleaning (unmount components and mount same components) and after switch on again my Raid showed "clean, degraded"


    Here you have the diagnostics information.


    Can anybody help me to make it working again without loosing data? Many thanks.


    Regards

    Code
    root@HomeServer:/# blkid
    /dev/sda1: UUID="cf057b4b-196a-4511-a1ae-45915e651744" TYPE="ext4" PARTUUID="e7fde74e-01"
    /dev/sda3: UUID="2becb76c-39af-43a5-b063-cc748f2d8c74" TYPE="ext4" PARTUUID="e7fde74e-03"
    /dev/sda5: UUID="4ec3d4e7-2f6e-4b9a-af46-a5375533a86f" TYPE="swap" PARTUUID="e7fde74e-05"
    /dev/sdc: UUID="55ac50b0-8102-38a7-a271-0cd53a47d01a" UUID_SUB="393688b4-4bc9-3a04-a08d-a8a08cc5dc69" LABEL="Disc1" TYPE="linux_raid_member"
    /dev/sdb: UUID="55ac50b0-8102-38a7-a271-0cd53a47d01a" UUID_SUB="c84c50dc-15df-e8b8-2674-663a4ad3a417" LABEL="Disc1" TYPE="linux_raid_member"
    /dev/md0: UUID="fd18ffbc-1f40-4140-b3be-c1ce934b45b6" TYPE="ext4"
    /dev/sde: UUID="bceb274f-3cd4-e33b-dbed-b70b859b4f3d" UUID_SUB="4ac6a8ff-9032-89f2-ed3f-b79765ffffe0" LABEL="Raid4TB1" TYPE="linux_raid_member"
    /dev/md1: UUID="225ca463-d0e3-4ec6-9f6d-b0479d1ed760" TYPE="ext4"
    /dev/sdf: UUID="bceb274f-3cd4-e33b-dbed-b70b859b4f3d" UUID_SUB="819e5033-ee4c-a3b8-ed1e-c2352e6feec2" LABEL="Raid4TB1" TYPE="linux_raid_member"


    Code
    root@HomeServer:/# mdadm --detail --scan --verbose
    ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=Disc1 UUID=55ac50b0:810238a7:a2710cd5:3a47d01a
    devices=/dev/sdb,/dev/sdc
    ARRAY /dev/md1 level=raid1 num-devices=2 metadata=1.2 name=Raid4TB1 UUID=bceb274f:3cd4e33b:dbedb70b:859b4f3d
    devices=/dev/sde
  • Hi all,


    Many thanks for your help. This is solving me the issue every time I have it. I don't know why, every time I switch off the OMV, the RAID is degraded and I need to add again the missing drive to the array.


    Does'nt matter if I switch off the system from the OMV GUI, when I start it back, is showing me RAID clean, degraded.


    Anyone has happened the same?


    I have two raids in my OMV system, but this is only happening to the same RAID. The other one is working ok.

  • Hi All again,


    just happened yesterday what I was saying and now I cannot re-add the missing disk to the raid.


    Please see below the messages:


    Code
    root@HomeServer:/# blkid
    /dev/sda1: UUID="cf057b4b-196a-4511-a1ae-45915e651744" TYPE="ext4" PARTUUID="e7f de74e-01"
    /dev/sda3: UUID="2becb76c-39af-43a5-b063-cc748f2d8c74" TYPE="ext4" PARTUUID="e7f de74e-03"
    /dev/sda5: UUID="4ec3d4e7-2f6e-4b9a-af46-a5375533a86f" TYPE="swap" PARTUUID="e7f de74e-05"
    /dev/sdc: UUID="55ac50b0-8102-38a7-a271-0cd53a47d01a" UUID_SUB="393688b4-4bc9-3a 04-a08d-a8a08cc5dc69" LABEL="Disc1" TYPE="linux_raid_member"
    /dev/sdb: UUID="55ac50b0-8102-38a7-a271-0cd53a47d01a" UUID_SUB="c84c50dc-15df-e8 b8-2674-663a4ad3a417" LABEL="Disc1" TYPE="linux_raid_member"
    /dev/sde: UUID="bceb274f-3cd4-e33b-dbed-b70b859b4f3d" UUID_SUB="4ac6a8ff-9032-89 f2-ed3f-b79765ffffe0" LABEL="Raid4TB1" TYPE="linux_raid_member"
    /dev/md0: UUID="fd18ffbc-1f40-4140-b3be-c1ce934b45b6" TYPE="ext4"
    /dev/sdd: UUID="bceb274f-3cd4-e33b-dbed-b70b859b4f3d" UUID_SUB="819e5033-ee4c-a3 b8-ed1e-c2352e6feec2" LABEL="Raid4TB1" TYPE="linux_raid_member"
    /dev/md1: UUID="225ca463-d0e3-4ec6-9f6d-b0479d1ed760" TYPE="ext4"



    Code
    root@HomeServer:/# mdadm --detail --scan --verbose
    ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2 name=Disc1 UUID=55ac50b0:810238a7:a2710cd5:3a47d01a
    devices=/dev/sdb,/dev/sdc
    ARRAY /dev/md1 level=raid1 num-devices=2 metadata=1.2 name=Raid4TB1 UUID=bceb274f:3cd4e33b:dbedb70b:859b4f3d
    devices=/dev/sdd,/dev/sde


    And when I try to re-add the disk /dev/sdd


    Code
    root@HomeServer:/# mdadm --add /dev/md1 /dev/sdd
    mdadm: Cannot open /dev/sdd: Device or resource busy


    Can anyone help me and avoid this happen again? Everytime I turn off /restart the OMV this happen to me.


    Many thanks.


    Regards,

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!