Ticket #4732 (closed defect: fixed)
Raid menu shows 3 devices up 1 free rahter than 4 up
| Reported by: | stefan.saborowski@… | Owned by: | jamor@… |
|---|---|---|---|
| Milestone: | 3.0 | Component: | webserver |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Raid menu shows under status 3 devices up 1 free with an 4 device raid5 up and running
cat /proc/mdstat:
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md127 : active raid5 sdb1[1] sdc1[2] sda1[0] sdd1[4]
4395408384 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
unused devices: <none>
Attachments
Change History
comment:2 Changed 11 months ago by jamor@…
- Status changed from accepted to closed
- Resolution set to fixed
Hello Stefan Saborowski,
thanks for your report I have reworked the mdstat parsing. However I have yet to find a complete guide to mdstat values, for example I believed that always the number of roles corresponded to the index of the status array ([UUUU]) but I see that in your case isnt true.
If you want to try to hotfix your system:
- Download the new RAID.pm fromhttp://git.zentyal.org/zentyal.git/blob/08e46ec07d2d2fdb20b35e4614bd9b2ec5812a7a:/main/core/src/EBox/Report/RAID.pm
- Use it to replace /usr/share/perl5/EBox/Report/RAID.pm
- Execute 'sudo /etc/init.d/zentyal apache restart'
Regards,
Javier