Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Increase logging level for storage (1005160)

Last Updated: 3/20/2024Categories: Total Views: 7345Language:
JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

By default you may not get SCSI sense codes and similar information in the log files.

Purpose

This article provides steps to increase logging for storage level components of an ESX host.

Resolution

When trying to troubleshoot storage issues like, SAN, iSCSI, etc. it may be necessary to increase the logging levels for these components on the ESX host. An increase to logging causes the system to write more detailed information in the logs which may be helpful in diagnosing or troubleshooting.

Warning: When increasing logging, the log file sizes increase at a more rapid rate. Ensure that you have adequate disk space to accommodate the extra messages that are logged.

ESX 3.5

To enable the logging of SCSI command errors, aborts, and multi-pathing (at the VMkernel level):

Connect to the ESX host with the VMware Infrastructure Client or VirtualCenter.

Click the ESX host.

Click the Configuration tab.

Click Advanced. This creates a new window.

Click SCSI to expand the SCSI options tree.

Change scsi.PrintCmdErrors to 1 .

Change scsi.LogAborts to 1.

Change scsi.LogMultiPath to 1.

This procedure does not require a reboot.

To increase Service Console SCSI logging levels, a dd a boot parameter to COS. In /boot/grub/grub.conf, add scsi_logging_level=6 to the kernel line either immediately before or after the root= entry.

For example:

title VMware ESX Server
#vmware:autogenerated esx
root (hd0,0)
uppermem 277504
kernel --no-mem-option /vmlinuz-2.4.21-47.0.1.ELvmnix ro root=UUID=51beafbf-b273-4195-9a2c-04dd3b7d7786 scsi_logging_level=6 mem=272M
initrd /initrd-2.4.21-47.0.1.ELvmnix.i

Modifying grub.conf requires a reboot to take affect.

ESX/ESXi 4.x

In ESX/ESXi 4.x there are 4 logging settings:

Setting

Default value (1=enabled)

Description

Scsi.LogCmdErrors

1

Log SCSI Device command errors

Scsi.LogMPCmdErrors

1

Log SCSI Multi-path plugin command errors

Scsi.MaxReserveBacktrace

0

Log a backtrace if caller exceeds SCSI_MAX_RESERVE_TIME or SCSI_MAX_RESERVE_TOTALTIME (debug only)

Scsi.ReserveBacktrace

0

Log a backtrace for all Reserve/Release pairs (debug only)

Scsi.LogCmdErrors and Scsi.LogMPCmdErrors are enabled by default. Scsi.MaxReserveBacktrace and Scsi.ReserveBacktrace are for debug purposes only. Unlike in ESX 3.x, you do not need to modify these settings to increase storage logging.

To view the settings:

Connect to the ESX host with the vSphere Client or vCenter Server.

Click the ESX host.

Click the Configuration tab.

Click Advanced. This creates a new window.

Click SCSI to expand the SCSI options tree.

Related Information

For related information, see Enabling and disabling verbose logging on Qlogic and Emulex Host Bus Adapters (1005576). ストレージ関連ログのログレベル変更方法

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
JapaneseEnglish

Attachments

Additional Resources

KB
•
ESX/ESXi 4.1 ホストの NFS データストアに存在するスナップショットの削除中に仮想マシンが一時的にフリーズする (1031106)

KB
•
VMFS 再署名によって複数の VMware ESXi 4.x/5.x ホストと ESX 4.x ホストの間のスラッシングが起こる (1026710)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 6.0

VMware vSphere ESXi 5.5

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESXi 3.5.x Installable

VMware ESXi 3.5.x Embedded

VMware ESX Server 3.5.x

VMware ESX 4.1.x

VMware ESX 4.0.x

view all

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant