smartctl and Hyper-V

This document (7007967) is provided subject to the disclaimer at the end of this document.

Environment


SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 10 Service Pack 3
Microsoft Hyper-V

Situation

When using smartctl on systems running SLES10 SP3 or SLES11 GA with the Linux Integration Services V2.1 or SLES11 SP1 as a guest on Microsoft Hyper-V with the already included Hyper-V storage drivers the following message can be found in /var/log/messages:

STORVSC_DRV: CHS (65535, 16, 255)
storvsc: Current: sense key: Illegal Request
    Additional sense: Invalid command operation code

Resolution

smartctl was designed and written with real hardware in mind. It uses facilities built into the storage drivers to determine the state of the hard drive. Many drivers for virtualized hardware among them the Hyper-V storage drivers don't provide the facilities to allow smartctl to get information from that hard drive, because the information would be random or static and  therefore of no use. This is the reason why smartcl should not be used in a virtualized environment like Hyper-V.

Additional Information


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7007967
  • Creation Date: 22-Feb-2011
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center