Solved

How to find the process details of a disk (in solaris)

Posted on 2008-10-13
5
892 Views
Last Modified: 2013-12-27
Hello Experts,

We are having an issue like this. When we do 'iostat -x' on a solaris box, we see a particular metadevice is showing High Read cycle and %b column is more than 90% always.

root@maty1 # iostat -x 2
                  extended device statistics
device       r/s    w/s   kr/s   kw/s wait actv  svc_t  %w  %b
ssd19      555.0    8.5 4667.8   68.0  0.0  2.5    4.4    0      97.

This particular metadevice 'ssd19' is a part of metaset of a shared disk storage between a two node cluster. Since it is a part of metaset, there is no specific mount point available for this metadevice so that we can identify the process which is causing the high read cycles. So we tried to find out the actual disks which constitute the creation of this metadevice 'ssd19' and finally we found those.

Now my question is.....I have 4 disks which are part of a metaset, having this information how can I find the processes which are accessing it and which are causing high read cycles?  
(Please note that I have no mount point details).

Please get me a solution asap.

Thanks in advance !


 



0
Comment
Question by:amandowara
  • 2
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
peter991 earned 400 total points
ID: 22709926
iosnoop is a freeware program that uses DTrace to monitor disk events live. The default output prints
straightforward details such as PID, block address and size

More to read here:
http://www.brendangregg.com/Perf/paper_diskubyp1.pdf
0
 

Author Comment

by:amandowara
ID: 22710916
Hi Peter, will this tool works for Solaris 9 ?
0
 
LVL 6

Expert Comment

by:peter991
ID: 22711052
Hi!
Made a search on sunsolve and sunfreeware with no results :-/
0
 
LVL 22

Assisted Solution

by:blu
blu earned 100 total points
ID: 22712590
Unfortunately, dtrace is not available for Solaris 9.

Your best bet in this regard is to use a facility called "TNF".  See evelopers.sun.com/solaris/articles/tnf.html and
developers.sun.com/solaris/developer/support/driver/notes/iotracing.pdf  for info.
0
 

Author Closing Comment

by:amandowara
ID: 31505789
Hi Peter, thanks for the excellent document.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Filesystems reporting faster growth than actual file growth... 7 58
aix unix tar error 3 66
ESX 6.5 storage not recognized after tagging as SSD 18 82
awk sed 8 42
Solid State Drive Performance Tips: Solid state storage technology is now a standard.  After testing and using several different brands and revisions of SSD's over the years I have put together a collection of tips,tools and suggestions that I ha…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question