After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 580475 - "RAID array running in degraded mode" notification
"RAID array running in degraded mode" notification
Status: RESOLVED FIXED
Product: gnome-disk-utility
Classification: Core
Component: notifications
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-disk-utility-maint
gnome-disk-utility-maint
Depends on:
Blocks:
 
 
Reported: 2009-04-27 16:15 UTC by Tomas Bzatek
Modified: 2012-12-22 12:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Naive implementation (2.36 KB, patch)
2010-09-22 09:57 UTC, Josselin Mouette
none Details | Review

Description Tomas Bzatek 2009-04-27 16:15:28 UTC
Similar to the uninitialized disk notification in bug 580126, we should notify user when his RAID{1,5,6...} arrays are running in degraded mode (due to some HW error). Implementation is easy (checking gdu_device_linux_md_is_degraded() bit), let's talk about the UI here.

ATA SMART warning or degraded MD RAID warning, I think we can use common warning icon and only distinguish the warning in the popup menu. So that we would have

   "[Presentable_Icon] <Presentable_Name> - Disk is failing"
   "[Presentable_Icon] <Presentable_Name> - Array is degraded"

as originally proposed in http://bugzilla.gnome.org/show_bug.cgi?id=575572#c10

Libnotify bubble alert is common in the current code, we should consider splitting it up and present user what's going on:
  "One or more hard disks report health problems." vs.
  "Your RAID array is running in degraded mode. There is a chance of data loss
when a drive fails."
Comment 1 Josselin Mouette 2010-09-22 09:57:40 UTC
Created attachment 170823 [details] [review]
Naive implementation

Here is a very simple patch by Julien Blache that abuses the current SMART notification code to display RAID failures as well.
Comment 2 David Zeuthen (not reading bugmail) 2012-12-21 16:06:07 UTC
Fixed, see

 http://git.gnome.org/browse/gnome-disk-utility/commit/?id=613ab998e12277f2fd7dd68792ce276a73ada130

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Josselin Mouette 2012-12-22 12:00:29 UTC
Awesome, thanks !