Package: mdadm
Version: 4.4-11
Severity: important

I had a md array check trigerred on my nas yesterday. It completed without 
errors.
I restared the system after apt upgrade.

Today I wanted to reboot again as I installed a new kernel. I systemd told
me something was prebenting to reboot. It was again due to an md array check.
cat /proc/mdstat 
Personalities : [raid10] [linear] [raid0] [raid1] [raid6] [raid5] [raid4] 
md0 : active raid10 sda1[6] sdd1[5] sdc1[0] sdf1[4] sde1[7](S)
      5860268032 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
      [=====>...............]  check = 26.4% (1550913536/5860268032) 
finish=331.1min speed=216906K/sec
      
unused devices: <none>

I then tried to find why, and found that it now use systemd via timer instead 
of crontab.

/usr/lib/systemd/system/mdcheck_start.timer is the culprit: I checked the 
systax for once
a moth as before and found that the actual setting was not that:


OnCalendar=Sun *-*-1..7 1:00:00

should be changed to

OnCalendar=Sun *-*-* 1:00:00

See also

https://build.opensuse.org/projects/openSUSE:Step:15-SP2/packages/mdadm.15570/files/1002-OnCalendar-format-fix-of-mdcheck_start-timer.patch?expand=0

-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.44 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]  1.5.91
ii  libc6                  2.42-1
ii  libudev1               258~rc3-1
ii  udev                   258~rc3-1

Versions of packages mdadm recommends:
ii  kmod  34.2-2

Versions of packages mdadm suggests:
ii  postfix [mail-transport-agent]  3.10.4-1

Reply via email to