Project

General

Profile

Actions

Bug #6147

closed

S.M.A.R.T. actions need to be blacklisted/disabled on HyperV.

Added by Jim Pingle over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
Operating System
Target version:
Start date:
04/14/2016
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3
Affected Architecture:
All

Description

When attempting to use S.M.A.R.T. on HyperV, either from the widget or Diag > S.M.A.R.T. Status, the VM will crash. It appears as though HyperV is disconnecting/removing the disk, as the VM will either show filesystem errors in the GUI or crash/panic in a way that suggests the disk disappeared.

S.M.A.R.T. has no meaning/function in such an environment, but people can still trigger it unintentionally by adding random widgets or maybe restoring a config with the widget from a system that was previously on bare metal.

Not really a bug in pfSense since it's HyperV that's overreacting, but if that is something we can detect it would make for a better user experience.

Actions #1

Updated by Chris Buechler over 8 years ago

  • Tracker changed from Todo to Bug
  • Category changed from Web Interface to Operating System
  • Status changed from New to Feedback
  • Assignee set to Chris Buechler
  • Priority changed from Low to Normal
  • Affected Architecture All added

What triggers the kernel panic is:

smartctl -H /dev/$dev

Since it's a bug in the OS, I'll re-classify as a bug. It's not a sensible thing to try to use with Hyper-V, but if you restore a config that happened to have it on the dashboard, or just click the widget's name in the add screen, you end up with a system where you can't log into the web GUI without causing that kernel panic to be hit.

I added Hyper-V to system_identify_specific_platform, and changed SMART's page and widget to do nothing when Hyper-V.

Actions #2

Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved
  • Affected Version set to 2.3

fixed

Actions

Also available in: Atom PDF