OpenMediaVault RAID 5 Missing and Rebuilding

OpenMediaVault RAID 5 Missing

OpenMediaVault RAID 5 Missing and Rebuilding

1. Phenomenon description

The system fails to start normally as:

  1. Entering the password will enter rescue mode

  2. Press Ctrl + D to enter normal mode

  3. After entering the password to enter the rescue mode, enter the journaljl -xb in the terminal to view the system log. You can see that it is due to a disk error /dev/sdc. Requires manual repair.

  4. Press Ctrl + D to enter the normal mode, enter the host IP address to view in the browser, enter the Storage -> RAID Management option, you can see that the status changes from the normal clean to clean degrade, the devices From the normal /dev/sdb /dev/sdc /dev/sdd to /dev/sdb/dev/sdd, it can be seen that RAID 5 is lost due to the /dev/sdc error.

  5. Enter the Storage -> File Systems option,/dev/md0, no auto mount

II. Solution

  1. First, restart the system, enter the password to enter the rescue mode, and enter the following command in the terminal:

    fsck -y /dev/sdc

    Among them, sdc is replaced with your wrong disk, or you don’t know what went wrong, you can also use the following command:

    fsck -y /dev/sdb /dev/sdc /dev/sdd

    Just enter all your RAID devices

  2. After the disk is repaired, let’s rebuild RAID 5. At this time, the web-side RAID management that comes with OpenMediaVault is not feasible. You need to use a terminal command to operate.

  3. Add the missing device:

    mdadm /dev/md0 --add /dev/sdc
  4. Stop RAID

    mdadm --stop /dev/md0
  5. Reassemble RAID 5

    mdadm --assemble /dev/md0 /dev/sd[bcd] --verbose --force

    Then you can see the system is rebuilding RAID 5

    OpenMediaVault RAID 5 Missing

0 0 vote
Article Rating
赞(0) 打赏
未经允许不得转载:iemblog » OpenMediaVault RAID 5 Missing and Rebuilding
Notify of
Inline Feedbacks
View all comments





Would love your thoughts, please comment.x