md: data-check of RAID array md3

This really made me nervous but notice the mdstat says "check".  This is because in Ubuntu there is a scheduled mdadm cronscript that runs everyday on Sunday at 00:57 that checks your entire array.  This is a good way because it prevents gradual but unnoticed data corruption which I never thought of.

As long as the check completes properly you have peace of mind knowing that your data integretiy is assured and that your hard drives are functioning properly (I'd say it's smarter than relying on SMART).

 

[462600.807836] md: data-check of RAID array md3
[462600.807842] md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
[462600.807847] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for data-check.
[462600.807856] md: using 128k window, over a total of 943730240 blocks.


Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md3 : active raid1 sda1[1] sdb1[0]
      943730240 blocks [2/2] [UU]
      [========>............]  check = 40.7% (384365440/943730240) finish=113.5min speed=82086K/sec
     
unused devices: <none>



ls /etc/cron.d
anacron  mdadm  php5  sysstat


cat mdadm
#
# cron.d/mdadm -- schedules periodic redundancy checks of MD devices
#
# Copyright © martin f. krafft <madduck@madduck.net>
# distributed under the terms of the Artistic Licence 2.0
#

# By default, run at 00:57 on every Sunday, but do nothing unless the day of
# the month is less than or equal to 7. Thus, only run on the first Sunday of
# each month. crontab(5) sucks, unfortunately, in this regard; therefore this
# hack (see #380425).
57 0 * * 0 root [ -x /usr/share/mdadm/checkarray ] && [ $(date +\%d) -le 7 ] && /usr/share/mdadm/checkarray --cron --all --quiet
 


Tags:

md, raid, array, mdstat, quot, ubuntu, mdadm, cronscript, prevents, gradual, unnoticed, corruption, completes, integretiy, assured, functioning, relying, _guaranteed_, kb, disk, maximum, idle, io, bandwidth, personalities, linear, multipath, active, sda, sdb, uu, min, unused, devices, ls, etc, cron, anacron, php, sysstat, schedules, periodic, redundancy, copyright, krafft, madduck, distributed, artistic, licence, default, thus, crontab, regard, hack, usr, checkarray,

Latest Articles

  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)
  • CDN Cloudflare how to set and preserve the real IP of the client without modifying application code on Apache
  • CentOS 7 fix Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 -
  • Ubuntu Debian How To Install Recommended Packages Automatically