Sponsored Content
Operating Systems Solaris iostat -e / -E output explanation Post 65244 by scottman on Thursday 3rd of March 2005 08:28:39 PM
Old 03-03-2005
Hammer & Screwdriver iostat -e / -E output explanation

Hi all, hope you are having a nice day, its nice and warm today in Canberra Australia.

iostat -e / -E reports soft and hard errors. Any idea what these are exactly? All I hear are I/O's failing and needing to retry, but no cause as to why they fail.

My SUN guru tells me its our EMC SAN array generating RSCN's or other fibre channle stuff, and the qlogic card then logs back into the fabric, and during that process some I/O has failed. However the iostat errors come up regardless of the EMC san.

I have searched for and read articles, etc, and really found nothing. however one article said the scsi driver doesn't know the disk RPM speed, another saying that SUN array software needs to be turned off.

We have a history with SUNmc causing SAN disk problems by constantly polling the disk for information (which is why we are upgrading it and have turned it off on some servers).

If you have lots of soft errors, are you likely to get a hard error? When you have lots of hard errors (eg, an internal disk is reporting 2400 hard errors with no corresponsing /var/adm/message entries to do with RSCN, scsi, etc) will you end up with track/cylinder errors?

I guess database/application issues will also cause I/O retries just like tcpip.

The number of network output/inpuit/collisions/queues, also do not relate to the iostat -e output.

Many Thanks
take care all
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

iostat output what is that mean

Hi all, i have run iostat -em, and get below result. Can i know what is this output meaning, and how to fix that problem. iostat -em ---- errors --- device s/w h/w trn tot sd7 0 1 0 1 sd8 1 1 0 2 sd9 0 1 0 1 sd10 0 ... (2 Replies)
Discussion started by: foongkt5220
2 Replies

2. AIX

Need explanation of 'who -d' output

Can someone tell me what the output of 'who -d' is ? What's causing the process in the list to be there ? What can be done to get rid of / fix those process ? Are those process simple problems, important or urgent onces ? I am asking because while looking for another 'who' option, I... (2 Replies)
Discussion started by: Browser_ice
2 Replies

3. Shell Programming and Scripting

Formatting output from iostat

So I use Cacti for monitoring IO statistics on my servers, now originally I couldnt monitor Multipath deviced servers as they have alot of /dev/sdxx and /dev/emcpowerxx, I have devised a method of trimming them down to just the actual devices but the issue is the output looks like so. # iostat... (0 Replies)
Discussion started by: RiSk
0 Replies

4. Shell Programming and Scripting

finding greatest value in a column using awk from iostat output in linux

Friends, . On linux i have to run iostat command and in each iteration have to print the greatest value in each column. e.g iostat -dt -kx 2 2 | awk ' !/sd/ &&!/%util/ && !/Time/ && !/Linux/ {print $12}' 4.38 0.00 0.00 0.00 What i would like to print is only the... (3 Replies)
Discussion started by: achak01
3 Replies

5. Shell Programming and Scripting

finding greatest value in a column using awk from iostat output in linux

Friends, Need some help. On linux i have to run iostat command and in each iteration have to print the greatest value in each column. e.g iostat -dt -kx 2 2 | awk ' !/sd/ &&!/%util/ && !/Time/ && !/Linux/ {print $12}' 4.38 0.00 0.00 0.00 WHhat i would like to... (15 Replies)
Discussion started by: achak01
15 Replies

6. Filesystems, Disks and Memory

iostat output vs TPC output (array layer)

Hi Guys, I've been having some arguments with my colleagues about one thing. Always my thought was that as as far as disk performance is concern by looking at the output of the iostat command (AIX) you would be able to identify if you have a hot disk and then by moving some files out that disk... (3 Replies)
Discussion started by: arizah
3 Replies

7. Solaris

Unmatched ssd create huge unuseful iostat output

My scheduled collection of statistics is giving very large output because of an high number of ssd device not associated to any disk The iostat -x command is collecting statistics from them and the output is very large. I.g. if a run iostat -x|tail +3|awk '{print $1}'>f0.txt.$$ iostat... (5 Replies)
Discussion started by: sun-mik
5 Replies

8. Solaris

Asvc_t values in iostat output

Noticed that asvc_t values in iostat command outputs are mostly more than 100 in our previous iostat analysis. Also found the following detail from an alternate site IO Bottleneck - Disk performance issue - UnixArena ---- 1. asvc_t average service time of active transactions, in... (2 Replies)
Discussion started by: saraperu
2 Replies

9. Shell Programming and Scripting

Need help to parse iostat command output

Hi, I got the code below is one of the threads from this forum. lineCount=$(iostat | wc -l) numDevices=$(expr $lineCount - 7); iostat $interval -x -t | awk -v awkCpuFile=$cpuFile -v awkDeviceFile=$deviceFile -v awkNumDevices=$numDevices ' BEGIN { print... (2 Replies)
Discussion started by: gopivallabha
2 Replies
ssd(7D) 							      Devices								   ssd(7D)

NAME
ssd - Fibre Channel Arbitrated Loop disk device driver SYNOPSIS
ssd@port,target:partition DESCRIPTION
The ssd driver supports Fibre Channel disk devices. The specific type of each disk is determined by the SCSI inquiry command and reading the volume label stored on block 0 of the drive. The volume label describes the disk geometry and partitioning; it must be present or the disk cannot be mounted by the system. The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk records. A "raw" interface provides for direct transmission between the disk and the read or write buffer. A single read or write call usu- ally results in one I/O operation; raw I/O is therefore more efficient when many bytes are transmitted. Block file names are found in /dev/dsk; the names of the raw files are found in /dev/rdsk. I/O requests (such as lseek(2)) to the SCSI disk must have an offset that is a multiple of 512 bytes (DEV_BSIZE), or the driver returns an EINVAL error. If the transfer length is not a multiple of 512 bytes, the transfer count is rounded up by the driver. Partition 0 is normally used for the root file system on a disk, with partition 1 as a paging area (for example, swap). Partition 2 is used to back up the entire disk. Partition 2 normally maps the entire disk and may also be used as the mount point for secondary disks in the system. The rest of the disk is normally partition 6. For the primary disk, the user file system is located here. The device has associated error statistics. These must include counters for hard errors, soft errors and transport errors. Other data may be implemented as required. DEVICE STATISTICS SUPPORT
The device maintains I/O statistics for the device and for partitions allocated for that device. For each device/partition, the driver accumulates reads, writes, bytes read, and bytes written. The driver also initiates hi-resolution time stamps at queue entry and exit points to enable monitoring of residence time and cumulative residence-length product for each queue. Not all device drivers make per-partition IO statistics available for reporting. ssd and sd(7D) per-partition statistics are enabled by default but may be disabled in their configuration files. IOCTLS
Refer to dkio(7I). ERRORS
EACCES Permission denied. EBUSY The partition was opened exclusively by another thread. EFAULT The argument was a bad address. EINVAL Invalid argument. EIO An I/O error occurred. ENOTTY The device does not support the requested ioctl function. ENXIO When returned during open(2), this error indicates the device does not exist. EROFS The device is a read-only device. CONFIGURATION
You configure the ssd driver by defining properties in the ssd.conf file. The ssd driver supports the following properties: enable-partition-kstats The default value is 1, which causes partition IO statistics to be maintained. Set this value to zero to prevent the driver from recording partition statistics. This slightly reduces the CPU overhead for IO, mimimizes the amount of sar(1) data collected and makes these statistics unavailable for reporting by iostat(1M) even though the -p/-P option is specified. Regardless of this setting, disk IO statistics are always maintained. In addition to the above properties, some device-specific tunables can be configured in ssd.conf using the 'ssd-config-list' global prop- erty. The value of this property is a list of duplets. The formal syntax is: ssd-config-list = <duplet> [, <duplet> ]* ; where <duplet>:= "<vid+pid>" , "<tunable-list>" and <tunable-list>:= <tunable> [, <tunable> ]*; <tunable> = <name> : <value> The <vid+pid> is the string that is returned by the target device on a SCSI inquiry command. The <tunable-list> contains one or more tunables to apply to all target devices with the specified <vid+pid>. Each <tunable> is a <name> : <value> pair. Supported tunable names are: delay-busy: when busy, nsecs of delay before retry. retries-timeout: retries to perform on an IO timeout. EXAMPLES
The following is an example of a global ssd-config-list property: ssd-config-list = "SUN T4", "delay-busy:600, retries-timeout:6", "SUN StorEdge_3510", "retries-timeout:3"; FILES
ssd.conf Driver configuration file /dev/dsk/cntndnsn block files /dev/rdsk/cntndnsn raw files cn is the controller number on the system. tn 7-bit disk loop identifier, such as switch setting dn SCSI lun n sn partition n (0-7) SEE ALSO
sar(1), format(1M), iostat(1M), ioctl(2), lseek(2), open(2), read(2), write(2), scsi(4)driver.conf(4), cdio(7I), dkio(7I) ANSI Small Computer System Interface-2 (SCSI-2) ANSI X3.272-1996, Fibre Channel Arbitrated Loop (FC-AL) Fibre Channel - Private Loop SCSI Direct Attach (FC-PLDA) DIAGNOSTICS
Error for command '<command name>' Error Level: Fatal Requested Block <n>, Error Block: <m>, Sense Key: <sense key name>, Vendor '<vendor name>': ASC = 0x<a> (<ASC name>), ASCQ = 0x<b>, FRU = 0x<c> The command indicated by <command name> failed. The Requested Block is the block where the transfer started and the Error Block is the block that caused the error. Sense Key, ASC, and ASCQ information is returned by the target in response to a request sense command. Check Condition on REQUEST SENSE A REQUEST SENSE command completed with a check condition. The original command will be retried a number of times. Label says <m> blocks Drive says <n> blocks There is a discrepancy between the label and what the drive returned on the READ CAPACITY command. Not enough sense information The request sense data was less than expected. Request Sense couldn't get sense data The REQUEST SENSE command did not transfer any data. Reservation Conflict The drive was reserved by another initiator. SCSI transport failed: reason 'xxxx' : {retrying|giving up} The host adapter has failed to transport a command to the target for the reason stated. The driver will either retry the command or, ulti- mately, give up. Unhandled Sense Key <n> The REQUEST SENSE data included an invalid sense key. Unit not Ready. Additional sense code 0x<n> The drive is not ready. corrupt label - bad geometry The disk label is corrupted. corrupt label - label checksum failed The disk label is corrupted. corrupt label - wrong magic number The disk label is corrupted. device busy too long The drive returned busy during a number of retries. disk not responding to selection The drive was probably powered down or died. i/o to invalid geometry The geometry of the drive could not be established. incomplete read/write - retrying/giving up There was a residue after the command completed normally. logical unit not ready The drive is not ready. no bp for disk label A bp with consistent memory could not be allocated. no mem for property Free memory pool exhausted. no memory for disk label Free memory pool exhausted. no resources for dumping A packet could not be allocated during dumping. offline Drive went offline; probably powered down. requeue of command fails<n> Driver attempted to retry a command and experienced a transport error. ssdrestart transport failed <n> Driver attempted to retry a command and experienced a transport error. transfer length not modulo <n> Illegal request size. transport rejected <n> Host adapter driver was unable to accept a command. unable to read label Failure to read disk label. unit does not respond to selection Drive went offline; probably powered down. SunOS 5.11 9 Aug 2008 ssd(7D)
All times are GMT -4. The time now is 08:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy