# Smart Drive Check

**URL:** <https://forum.virtualmin.com/t/smart-drive-check/112155>\
**Category:** Virtualmin\
**Created:** [September 8, 2021, 12:42am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155 "2021-09-08T00:42:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyrus](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/cyrus/32/12_2.png) [@cyrus](https://forum.virtualmin.com/u/cyrus)\
**Post date:** [September 8, 2021, 12:42am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/1 "2021-09-08T00:42:32Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| | |
| **OS type and version:** | Ubuntu Linux 20.04.3 |
| **Webmin version:** | 1.981 |
| **Virtualmin version:** | 6.16 Pro |
| **Related products version:** | Smart Drive Check |

* * *

[@staff](https://forum.virtualmin.com/groups/staff)

For some time now I have noticed that my Smart Drive Check does not display the drive after a kernel update and a reboot, but displays as ‘other’ instead of ‘sda’ or ‘sdb’.

I have to visit the module and change the drive location from ‘other’ to ‘sda’ and ‘sdb’, and save. Is this an expected function?

I have screenshots but didn’t know how to attach them here.

Thanks.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 8, 2021, 1:19am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/2 "2021-09-08T01:19:41Z")

</div>

I’m not sure I understand what you mean. Can you post a screenshot?

Is your system a bare hardware system (i.e. not a virtual machine?). VMs don’t usually expose SMART data (and the disks are usually virtualized, anyway).

---

<div class="post-metadata">

**Author:** ![cyrus](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/cyrus/32/12_2.png) [@cyrus](https://forum.virtualmin.com/u/cyrus)\
**Post date:** [September 8, 2021, 1:49am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/3 "2021-09-08T01:49:35Z")

</div>

![](https://cdn.forum.virtualmin.com/uploads/default/original/2X/b/bb2abd3dda61e6792ac01592ff5fecff14419d7a.png)

 ![](https://cdn.forum.virtualmin.com/uploads/default/original/2X/2/22d7e1649bd40c72ac318a16f57fcb9dbdc6ae49.png)

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 8, 2021, 3:18am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/4 "2021-09-08T03:18:41Z")

</div>

Ah, that seems like a bug. What do you see in the SMART module (Webmin-\>Hardware-\>SMART Drive Status)?

---

<div class="post-metadata">

**Author:** ![cyrus](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/cyrus/32/12_2.png) [@cyrus](https://forum.virtualmin.com/u/cyrus)\
**Post date:** [September 8, 2021, 3:28am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/5 "2021-09-08T03:28:59Z")

</div>

![](https://cdn.forum.virtualmin.com/uploads/default/original/2X/6/62e2a8fdeade76fcf0966d99f68caf6e28c42ec3.png)

This is after I have changed the SMART Drive Check monitor from ‘other’ to ‘sda’

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 8, 2021, 3:49am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/6 "2021-09-08T03:49:56Z")

</div>

Yeah, looks like a bug.

I’m trying to figure out what is triggering the problem. If you browse back to the Status monitors page now, without doing any updates or rebooting, does is still point at the right driver and show “OK”, or is it just not saving at all?

---

<div class="post-metadata">

**Author:** ![cyrus](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/cyrus/32/12_2.png) [@cyrus](https://forum.virtualmin.com/u/cyrus)\
**Post date:** [September 8, 2021, 4:10am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/7 "2021-09-08T04:10:00Z")

</div>

Yes, it saves and SMART Drive in the Status monitors page indicates it’s OK by showing a tick instead of a dash.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 8, 2021, 4:15am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/8 "2021-09-08T04:15:56Z")

</div>

Huh, I think we need to narrow down a cause. Does just a reboot (with no updates) make it stop working, or does it only happen on a kernel update+reboot?

I can’t figure out how either could do it, but knowing specifically what’s doing it will maybe help reproduce it (but only maybe…I’ve never seen this, but then again I’m mostly running on VMs now which don’t have SMART).

---

<div class="post-metadata">

**Author:** ![cyrus](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/cyrus/32/12_2.png) [@cyrus](https://forum.virtualmin.com/u/cyrus)\
**Post date:** [September 8, 2021, 4:39am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/9 "2021-09-08T04:39:27Z")

</div>

Always after a kernel update and reboot. It has just become a standard procedure for me to change the dropdown menu from ‘other’ to ‘sda’ and ‘sdb’ and ‘save’ in the SMART drive monitor page. Once activated again, it doesn’t change till another kernel update and reboot.

From the ‘Bootup and Shutdown’ page I have just rebooted the system (with no kernel update) just to see if this only happens after a reboot.

In this instance ‘sda’ showed active with a tick but my second drive ‘sdb’ displayed a dash and the drive to check in the monitor page showed ‘other’ that I would have to change and choose ‘sdb’ fromthe dropdown.

The SMART drive status under ‘Hardware’ for ‘sdb’ is showing that SMART is enabled.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [September 8, 2021, 5:19am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/10 "2021-09-08T05:19:15Z")

</div>

> [@cyrus](#):
>
> In this instance ‘sda’ showed active with a tick but my second drive ‘sdb’ displayed a dash and the drive to check in the monitor page showed ‘other’ that I would have to change and choose ‘sdb’ fromthe dropdown.

So, not just on a kernel upgrade?

I really can’t figure out how a reboot or a kernel upgrade could change it. The monitor config is just a simple text file. Kernel shouldn’t have anything to do with it, and nothing happens during a reboot that would alter it either; it only gets looked at when the monitor scheduled job runs, and when you browse to it in the UI (and neither of those are write operations).

So…I’m completely stumped.

---

<div class="post-metadata">

**Author:** ![cyrus](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/cyrus/32/12_2.png) [@cyrus](https://forum.virtualmin.com/u/cyrus)\
**Post date:** [September 8, 2021, 5:33am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/11 "2021-09-08T05:33:34Z")

</div>

Not really a problem. I’ll just keep an eye on the monitor to check if it’s active for my two drives after I do reboot.

Thanks anyway 😄

---

<div class="post-metadata">

**Author:** ![Jamie](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/jamie/32/8589_2.png) [@Jamie](https://forum.virtualmin.com/u/Jamie)\
**Post date:** [September 9, 2021, 12:30am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/12 "2021-09-09T00:30:32Z")

</div>

The only way I can see this happening is if a kernel upgrade and reboot caused the device to be renamed from say /dev/xvda to /dev/sda . But I’d only expect that to happen a single time, and be fixable by re-saving the SMART monitor with the correct drive selected.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [November 8, 2021, 12:30am UTC](https://forum.virtualmin.com/t/smart-drive-check/112155/13 "2021-11-08T00:30:54Z")

</div>

Closed on November 8, 2021, 12:30am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
