SUMMARY: Identifying disks
2007-12-25 5:53:00
answers I got.
After working all night long my mind was not working straight so obviously I
did not remember iostat with -n option and without witch does give drives
both way. But I had tests fro last night so running iostat with option -n
did not help much so another suggestion was to ls -l /dev/sd0* which would
give sym links to disks. Also iostat -E and iostat -En do help since they
give you drive serial numbers and then you can either write a little script
or just take a look and find disks you are looking for...
Once again thanks to many people who did reply so quickly...
Chris
-----Original Message-----
From: codeprof-bounces at codeprof.com
[mailto:codeprof-bounces at codeprof.com] On Behalf Of Wianecki,
Christopher
Sent: Wednesday, March 01, 2006 12:12 PM
To: 'codeprof at codeprof.com'
Subject: Identifying disks
Hello everyone, I was wondering how can I identify disks
When I do iostat I get disks
sd0 0.0 0.0 0.0 0.0 0.0 0.0 76.6 0 0 0 0 0
0
sd63 1.7 1.7 37.5 33.4 0.0 0.0 10.3 0 0 1 0 0
1
sd64 2.1 1.7 37.9 33.5 0.0 0.0 8.6 0 0 1 0 0
1
sd91 0.0 0.0 0.0 0.0 0.0 0.0 121.9 0 0 0 0 0
0
sd92 0.0 0.0 0.0 0.0 0.0 0.0 92.0 0 0 0 0 0
0
How can I identify which disk is which?
Since all of them I can see as:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci at 1f,700000/scsi at 2/sd at 0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci at 1f,700000/scsi at 2/sd at 1,0
Etc, so I do have paths and everything else but I need somehow connect them
together and I do not remember how to do that.
Thank you so very much.
Chris
www.sothebys.com
**********************************************************************
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=39616
www.sothebys.com
**********************************************************************
Comments
Got something to say?
You must be logged in to post a comment.

