SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000455ClearOSsystem-base - Base Systempublic2012-03-05 04:552013-02-01 15:03
Reporterdevferret 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version5.2-SP1 
Target VersionFixed in Version 
Summary0000455: /etc/cron.daily/99-raid-check never checks arrays with active I/O
DescriptionThe RAID scrubbing script doesn't check "active" arrays, ie. any array with pending I/O. This is completely wrong, arrays need to be scrubbed regardless of whether they have active I/O.

From my interpretation of the comments in the original script, the author appears to have had some confusion between an array being "active" (ie. having pending I/O) and having some sync action in progress. Then, based on this mistake, there's additional logic to delay the start of the sync for the case where there's more than one array on a set of physical disks... completely unnecessary.
Additional InformationThe problem is also reported at https://bugzilla.redhat.com/show_bug.cgi?id=679843 [^]

The problem is present in CentOS 5.7 (mdadm-2.6.9-3.el5.x86_64.rpm)
This problem is fixed in CentOS 6.2 (mdadm-3.2.2-9.el6.x86_64.rpm)

Please consider patching this for ClearOS 5.2... because of the way the polling/email notification works, it is easy to be under the impression that all arrays are being scrubbed, when in fact some arrays on a disk are not.
TagsNo tags attached.
Attached Filespatch file icon 99-raid-check.patch [^] (1,631 bytes) 2012-03-05 04:55 [Show Content]

- Relationships

-  Notes
(0000417)
devferret (reporter)
2012-03-05 04:58

The attached patch is for the ClearOS 5 version of /etc/cron.daily/99-raid-check.

I've had it running since December.
(0000665)
user2
2013-02-01 15:03

Not enough resources to fork upstream for version 5... sorry. Fixed in version 6.

- Issue History
Date Modified Username Field Change
2012-03-05 04:55 devferret New Issue
2012-03-05 04:55 devferret File Added: 99-raid-check.patch
2012-03-05 04:58 devferret Note Added: 0000417
2012-03-05 05:54 user2 Status new => confirmed
2013-02-01 15:03 user2 Note Added: 0000665
2013-02-01 15:03 user2 Status confirmed => resolved
2013-02-01 15:03 user2 Resolution open => suspended
2013-02-01 15:03 user2 Assigned To => user2
2013-02-01 15:03 user2 Status resolved => closed
2013-02-01 15:03 user2 Assigned To user2 =>
2018-03-30 11:36 user2 Category clearos-base - Base System => system-base - Base System

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7