SCALE smartd (smart | S.M.A.R.T.) not starting on Virtual Machine's
Description
Problem/Justification
None
Impact
None
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:

Bug Clerk June 10, 2021 at 8:49 PM

Lee Southworth June 4, 2021 at 9:12 PM
Done, thanks Bonnie.

Bonnie Follweiler June 4, 2021 at 8:41 PM
Thank you for the report, @Lee Southworth .
Can you please attach a debug file to this ticket? To generate a debug file on TrueNAS CORE, log in to the TrueNAS web interface, go to System > Advanced, then click Save Debug and wait for the file to download to your local system. In TrueNAS SCALE, this option is in System Settings > Advanced.
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee

Reporter

Labels
Impact
Medium
Components
Fix versions
Affects versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created June 4, 2021 at 6:16 PM
Updated July 6, 2022 at 8:57 PM
Resolved June 11, 2021 at 3:59 PM
When truenas Scale is installed as a guest Virtual Machine, 'smartd' is not starting.
This has been discussed on: https://www.truenas.com/community/threads/truenas-scale-in-a-vm-w-smartd-smart-test-results-not-showing.91432/
Service: /lib/systemd/system/smartmontools.service
[Unit]
Description=Self Monitoring and Reporting Technology (SMART) Daemon
Documentation=man:smartd(8) man:smartd.conf(5)
ConditionVirtualization=no
[Service]
Type=notify
EnvironmentFile=-/etc/default/smartmontools
ExecStart=/usr/sbin/smartd -n $smartd_opts
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Alias=smartd.service
This is due to "ConditionVirtualization=no", which does not allow service to run when it detects a virtual enviroment.
Thanks,