Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206138 > unrolled thread

systemd mdadm spamming my syslog

Started byJoe Pfeiffer <pfeiffer@cs.nmsu.edu>
First post2019-03-10 22:50 +0100
Last post2019-03-11 19:00 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  systemd mdadm spamming my syslog Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2019-03-10 22:50 +0100
    Re: systemd mdadm spamming my syslog Bob Weber <bobrweber@gmail.com> - 2019-03-11 17:50 +0100
      Re: systemd mdadm spamming my syslog Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2019-03-11 19:00 +0100

#206138 — systemd mdadm spamming my syslog

FromJoe Pfeiffer <pfeiffer@cs.nmsu.edu>
Date2019-03-10 22:50 +0100
Subjectsystemd mdadm spamming my syslog
Message-ID<xAeut-7LU-1@gated-at.bofh.it>
Since a recent update, my /var/log/syslog is getting spammed with huge
numbers of messages of the form

Mar 10 14:02:25 snowball systemd-udevd[18681]: Process '/sbin/mdadm --incremental --export /dev/sda3 --offroot /dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 /dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e /dev/disk/by-path/pci-0000:00:11.0-ata-1-part3 /dev/disk/by-id/wwn-0x5000c50086c86ae8-part3' failed with exit code 1.

When I run the command by hand, I get

root@snowball:~# /sbin/mdadm --incremental --export /dev/sda3 --offroot /dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 /dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e /dev/disk/by-path/pci-0000:00:11.0-ata-1-part3 /dev/disk/by-id/wwn-0x5000c50086c86ae8-part3
mdadm: cannot reopen /dev/sda3: Device or resource busy.

Which at least gives me a small clue, but really not much of one.

I'm not even really clear on whther this is a systemd or mdadm bug.

So, some questions:

1) what is this command trying to do?  I do understand a little about mdadm,
and am running a RAID 1 array on this machine.  But this is using an
option (--offroot) that doesn't even appear in the man page, and I've
got no idea what it's trying to accomplish.

2) how can I make it stop?

[toc] | [next] | [standalone]


#206156

FromBob Weber <bobrweber@gmail.com>
Date2019-03-11 17:50 +0100
Message-ID<xAwhH-29J-1@gated-at.bofh.it>
In reply to#206138

[Multipart message — attachments visible in raw view] — view raw

On 3/10/19 5:20 PM, Joe Pfeiffer wrote:
> Since a recent update, my /var/log/syslog is getting spammed with huge
> numbers of messages of the form
>
> Mar 10 14:02:25 snowball systemd-udevd[18681]: Process '/sbin/mdadm --incremental --export /dev/sda3 --offroot /dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 /dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e /dev/disk/by-path/pci-0000:00:11.0-ata-1-part3 /dev/disk/by-id/wwn-0x5000c50086c86ae8-part3' failed with exit code 1.
>
> When I run the command by hand, I get
>
> root@snowball:~# /sbin/mdadm --incremental --export /dev/sda3 --offroot /dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 /dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e /dev/disk/by-path/pci-0000:00:11.0-ata-1-part3 /dev/disk/by-id/wwn-0x5000c50086c86ae8-part3
> mdadm: cannot reopen /dev/sda3: Device or resource busy.
>
> Which at least gives me a small clue, but really not much of one.
>
> I'm not even really clear on whther this is a systemd or mdadm bug.
>
> So, some questions:
>
> 1) what is this command trying to do?  I do understand a little about mdadm,
> and am running a RAID 1 array on this machine.  But this is using an
> option (--offroot) that doesn't even appear in the man page, and I've
> got no idea what it's trying to accomplish.
>
> 2) how can I make it stop?
>
I also have these kind of messages for my 3 raid1 arrays.  The messages started 
after an update to testing done on 2/26/18 and have continued up to 3/11/18 
(today).   I looked at the terminal logs and I was running udev (240-6) 
(installed 2/22) and mdadm (4.1-1) (installed 2/6).  My udev is now at 241-1 and 
mdadm is still at 4.1-1.

Since the arrays are started correctly as shown by "cat /proc/mdstat" I haven't 
paid much attention to these messages. They only occur at boot.

My system is running testing and I do an upgrade just about every day.

-- 


*...Bob*

[toc] | [prev] | [next] | [standalone]


#206160

FromJoe Pfeiffer <pfeiffer@cs.nmsu.edu>
Date2019-03-11 19:00 +0100
Message-ID<xAxnr-2NR-3@gated-at.bofh.it>
In reply to#206156
Bob Weber <bobrweber@gmail.com> writes:

> On 3/10/19 5:20 PM, Joe Pfeiffer wrote:
>
>  Since a recent update, my /var/log/syslog is getting spammed with huge
> numbers of messages of the form
>
> Mar 10 14:02:25 snowball systemd-udevd[18681]: Process '/sbin/mdadm --incremental --export /dev/sda3 --offroot /dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 /dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e /dev/disk/by-path/pci-0000:00:11.0-ata-1-part3 /dev/disk/by-id/wwn-0x5000c50086c86ae8-part3' failed with exit code 1.
>
> When I run the command by hand, I get
>
> root@snowball:~# /sbin/mdadm --incremental --export /dev/sda3 --offroot /dev/disk/by-id/ata-ST3000DM001-1ER166_Z501MTQ3-part3 /dev/disk/by-partuuid/ad6f31ee-1866-400c-84f8-2c54da6abd2e /dev/disk/by-path/pci-0000:00:11.0-ata-1-part3 /dev/disk/by-id/wwn-0x5000c50086c86ae8-part3
> mdadm: cannot reopen /dev/sda3: Device or resource busy.
>
> Which at least gives me a small clue, but really not much of one.
>
> I'm not even really clear on whther this is a systemd or mdadm bug.
>
> So, some questions:
>
> 1) what is this command trying to do?  I do understand a little about mdadm,
> and am running a RAID 1 array on this machine.  But this is using an
> option (--offroot) that doesn't even appear in the man page, and I've
> got no idea what it's trying to accomplish.
>
> 2) how can I make it stop?
>
> I also have these kind of messages for my 3 raid1 arrays.  The messages started after an update to testing done on 2/26/18 and have continued up to 3/11/18
> (today).   I looked at the terminal logs and I was running udev (240-6) (installed 2/22) and mdadm (4.1-1) (installed 2/6).  My udev is now at 241-1 and mdadm is still
> at 4.1-1.

I'm seeing it at those versions, also.

> Since the arrays are started correctly as shown by "cat /proc/mdstat" I haven't paid much attention to these messages.  They only occur at boot.

The arrays are started correctly, but I'm getting bursts of these
messages every five minutes so it's annoying.

> My system is running testing and I do an upgrade just about every day.

Same here.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web