Modify

Ticket #4732 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

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:1 Changed 11 months ago by jamor@…

  • Status changed from new to accepted

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:

  1. Download the new RAID.pm fromhttp://git.zentyal.org/zentyal.git/blob/08e46ec07d2d2fdb20b35e4614bd9b2ec5812a7a:/main/core/src/EBox/Report/RAID.pm
  2. Use it to replace /usr/share/perl5/EBox/Report/RAID.pm
  3. Execute 'sudo /etc/init.d/zentyal apache restart'

Regards,

Javier

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.