RAID1 degraded, drive is accessible but appears as removed

  • Hello together,
    I have a RIAD 1 set up which ran fine for a few month. Then suddenly I receiced a notification the state of the array is degraded. Here the output as far as I guess it is needed


    The OVM is installed on a USB stick, the raid 1 has 2 disks

    Code
    root@openmediavault:~# blkid
    /dev/sda: UUID="048b0b5e-91bc-492d-09ca-49e6cb4bd491" UUID_SUB="1e4153ae-28a7-dfbc-8db0-44e28153bd97" LABEL="openmediavault:RAID1" TYPE="linux_raid_member"
    /dev/md127: LABEL="FS1" UUID="cd495a14-bd07-4478-a512-87b540a6fbda" TYPE="ext4"
    /dev/sdb: UUID="048b0b5e-91bc-492d-09ca-49e6cb4bd491" UUID_SUB="fcbbf020-e39c-322b-cc97-bac6d351f1af" LABEL="openmediavault:RAID1" TYPE="linux_raid_member"
    /dev/sdc1: UUID="0aad0df6-e507-4772-b0f1-05a5ca989740" TYPE="ext4" PARTUUID="ae49762b-01"
    /dev/sdc5: UUID="c7973780-fbfc-4890-a9ff-ead879d91e16" TYPE="swap" PARTUUID="ae49762b-05"





    Code
    root@openmediavault:~# cat /proc/mdstat
    Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]md127 : active raid1 sda[0]      1953383488 blocks super 1.2 [2/1] [U_]      bitmap: 6/15 pages [24KB], 65536KB chunk
    
    
    unused devices: <none>


    Tells me there is a raid 1 consists of one disk



    mounted devices

    The array is mounted and accessible


    Details of array

    There should be two drives, while one is removed


    First drive...

    ...is active and second drive....


    ... is also active



    Code
    root@openmediavault:~# mdadm --detail --scan --verbose
    ARRAY /dev/md/openmediavault:RAID1 level=raid1 num-devices=2 metadata=1.2 name=openmediavault:RAID1 UUID=048b0b5e:91bc492d:09ca49e6:cb4bd491
       devices=/dev/sda


    mdadm.conf:


    My question now: how can I restore the array? The SMART parameters of both disks look good. I can access both disk and see the same content. Both drives appear in UEFI and are seen by fdisk, I assume there was possibly an issue with the cabel/power of the disks. But again, I do not have any experience with a faulty OVM and don't want to mess anything up.


    When I check the GUI it only "sees" one drive in the RAID Management, eventhough two disks are attached. But I cannot add the missing drive using the GUI


    Your input is appreciated :)

    Einmal editiert, zuletzt von JoeAB () aus folgendem Grund: added mdadm.conf and mdadm --detail --scan --verbose

  • problem solved. The disk was not part of the array for whatever reason. The error was reported a few hours after running an update.


    I re-added the device with

    Code
    root@openmediavault:~# mdadm --manage /dev/md127 -a /dev/sdb
    mdadm: re-added /dev/sdb

    now I see it is rebuilding


Jetzt mitmachen!

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