Book Image

Troubleshooting vSphere Storage

By : Mike Preston
Book Image

Troubleshooting vSphere Storage

By: Mike Preston

Overview of this book

Virtualization has created a new role within IT departments everywhere; the vSphere administrator. vSphere administrators have long been managing more than just the hypervisor, they have quickly had to adapt to become a ‘jack of all trades' in organizations. More and more tier 1 workloads are being virtualized, making the infrastructure underneath them all that more important. Due to this, along with the holistic nature of vSphere, administrators are forced to have the know-how on what to do when problems occur.This practical, easy-to-understand guide will give the vSphere administrator the knowledge and skill set they need in order to identify, troubleshoot, and solve issues that relate to storage visibility, storage performance, and storage capacity in a vSphere environment.This book will first give you the fundamental background knowledge of storage and virtualization. From there, you will explore the tools and techniques that you can use to troubleshoot common storage issues in today's data centers. You will learn the steps to take when storage seems slow, or there is limited availability of storage. The book will go over the most common storage transport such as Fibre Channel, iSCSI, and NFS, and explain what to do when you can't see your storage, where to look when your storage is experiencing performance issues, and how to react when you reach capacity. You will also learn about the tools that ESXi contains to help you with this, and how to identify key issues within the many vSphere logfiles.
Table of Contents (16 chapters)
Troubleshooting vSphere Storage
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Index

Interpreting software iSCSI error codes


The following table provides us with the information we need to decipher a software iSCSI error code in the vSphere logfiles. If the code is displayed as decimal, we can simply use the decimal column. If the code is displayed as an 8-digit hex code, in order to read it properly, we need to split it into two 4-digit hex numbers and use the Hex Code column. For example, I.E. 00050201 becomes 0005 and 0201.

Hex Code

Decimal Code

Source

Description

0000

0

Initiator

No Error

0001

1

Initiator

Generic Error

0002

2

Initiator

Object Not Found

0003

3

Initiator

Out of Memory

0004

4

Initiator

Transport Failure: This is a common error and indicates a network problem preventing the initiator from reaching the target

0005

5

Initiator

Login Failure: Check for a target-related code to determine if the login failed due to something on the array side

0006

6

Initiator

Database Failure

0007

7

Initiator

Invalid Operation

0008

8

Initiator

Transport Timeout: Cannot connect to the target before the timeout value expired and occurs due to array or network congestion

0009

9

Initiator

Internal Initiator Engine Fault

000a

10

Initiator

Logout Failure

000b

11

Initiator

PDU send/receive timeout: Initiator established a socket/link to the target and sent the Login Request PDU, but has not received an answer from the target within the specified time and the Initiator aborted the login

000c

12

Initiator

Transport not found

000d

13

Initiator

Access error

000e

14

Initiator

Transport capabilities error: This should never be seen in a production environment with any supported iSCSI HBA/Driver

000f

15

Initiator

Object exists

0010

16

Initiator

Invalid request

0011

17

Initiator

iSNS server is unavailable

0012

18

Initiator

vmkiscsid daemon communications error

0000

NA

Target

No Error

0101

NA

Target

Target temporarily moved: The requested target has moved to a new IP address, but the change is not permanent

0102

NA

Target

Target permanently moved: The requested target has moved to a new IP address and the change is permanent

0200

NA

Target

Miscellaneous initiator failure

0201

NA

Target

Authentication failure

0202

NA

Target

Authorization failure: The initiator is denied access to attempt to login

0203

NA

Target

Not Found: The requested target does not exist at this address

0204

NA

Target

Target removed

0205

NA

Target

Unsupported version

0206

NA

Target

Too many connections: The array can no longer service incoming sessions as it is at capacity

0207

NA

Target

Missing parameter

0208

NA

Target

Cannot include in session

0209

NA

Target

Session type not supported

020a

NA

Target

Requested session does not exist

020b

NA

Target

Invalid request type during login

0300

NA

Target

Target error (hardware or software)

0301

NA

Target

Service unavailable

0302

NA

Target

Out of resources

Note

For more information on iSCSI software initiator error codes, read the VMware KB Article 2012171 located at http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2012171.