[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xen/Debian Bookworm: smartmontools/smartd silently stopped working after update


  • To: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Paul Leiber <paul@xxxxxxxxxxxxxxxx>
  • Date: Wed, 31 Jan 2024 08:20:28 +0100
  • Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1706685629; s=strato-dkim-0002; d=strato.com; h=Subject:From:To:Date:Message-ID:Cc:Date:From:Subject:Sender; bh=shtIl0IFB/cN1QkCkh/PeR/oCxMHQN8ZQs94nWeugNA=; b=j5kIiIDHXvJu7lvWSGfquM5elIEQggP0yvGziK9KkOyneI1Zmu6fY8i6/6oyquS3FA Z67oJr6aPS84usCA1hMiBN4O8YvEflJ+fTRm4n6G8iZEq3rX960DKLOjQBWfPLRjnE+i oA37XTy77ujnLK9iOFAP2C9/cRMm1qOWPt9cFSvdNm189RkweosJ3bqy5GVD0YlJRSsp 6wtkeWh6RzxUH4Ilz5LPrygHmxe5Ua1XU0d+K/HOmGpRP0PAqRz/ovRwHGkfnBpuNgb8 AvtfAyECUxdQt6Uzx6RWAHqAIkzQnFsISkAijjzk5CezFftX6KbJI+F9jJd/nkz0FbH6 Wz8g==
  • Arc-seal: i=1; a=rsa-sha256; t=1706685629; cv=none; d=strato.com; s=strato-dkim-0002; b=cHexIOB3kmrufg0ZQa3ZrDZl/7OrEeUQUMKjmgLInKTGH8cbaM+F+T42nug461SjUJ 3SXEWAQfCShqH7BSYQbjOOn+0dDbL/BGn5x03IX3KiwvtT9/FCRESjLdUE61pM+UjuSL KIgiB3kO0we8jBLH3lJc4Fe+8ZK7sFvlzXt0AJO6a+2WUjTezeeSV6kGoA977EJIFqyX 1KXjuAdQjqSJnH9CLg0orWRFXqYlQEVV9Pa1l+A+9wITLQuvmkr2g5yP9CJwwesxRyKt 4S3dlzRVoeCRda1ByG8l50ijNcjD6Zf2A8YnsAb5HZ6gEY7DBJdhT81XH53YXonJL96C ZN3g==
  • Delivery-date: Wed, 31 Jan 2024 07:21:24 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

Hi Xen users,

just a short info, perhaps this is relevant for you as well: I noticed that smartmontools/smartd silently stopped working in my Debian Bookworm setup a couple of months ago, presumably after an update (couldn't pinpoint the specific, right now, I'm on version 7.3-1+b1). Contrary to my expectation, I wouldn't have been notified via e-mail if there had been errors in the SMART logs. The cause is that there is a new check in the smartd.service file "ConditionVirtualization=no", which checks if smartd is running in a vm. If it detects a vm, smart doesn't start. There is a message in the logs if you look for it, but to look for it, you first have to have a reason to do so.

Commenting out the line solves this issue.

There is a discussion on GitHub on this:

https://github.com/smartmontools/smartmontools/issues/62

Best regards,

Paul



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.