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
Subscribe
Notify of
guest
0 COMMENTS
Inline Feedbacks
View all comments
免责声明:本站大部分下载资源收集于网络,只做学习和交流使用,版权归原作者所有,请在下载后24小时之内自觉删除,若作商业用途,请购买正版,由于未及时购买和付费发生的侵权行为,与本站无关。本站发布的内容若侵犯到您的权益,请联系站长删除,我们将及时处理!

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

0
Would love your thoughts, please comment.x
()
x