How to get Device id information on solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris How to get Device id information on solaris 8
# 1  
Old 02-07-2008
How to get Device id information on solaris 8

Hi friends

am writing a script to get the device id of i/o devices on solaris. The command
iostat -iE works well on Solaris 5.9 and 5.10 but fails on solaris 5.8 as there is no 'i' switch with iostat command on this os
Can anyone suggest me an alternate way to find device id information on Solaris 5.8
# 2  
Old 02-07-2008
please post an exampel of the output you need...
# 3  
Old 02-07-2008
When i type iostat -iE on my solaris 9 or 10 i get

bash-3.00# iostat -iE
sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401
Device Id: id1,sd@XXXXXXXXX_
Size: 36.42GB <36418595328 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0


while if i give the same command on solaris 7 or 8, i get :

# iostat -niE
iostat: illegal option -- i
Usage: iostat [-cCdDeEImMnpPrstxz] [-l n] [T d|u] [disk ...] [interval [count]]
-c: report percentage of time system has spent
in user/system/wait/idle mode
-C: report disk statistics by controller
-d: display disk Kb/sec, transfers/sec, avg.
service time in milliseconds
-D: display disk reads/sec, writes/sec,
percentage disk utilization
-e: report device error summary statistics
-E: report extended device error statistics
-I: report the counts in each interval,
instead of rates, where applicable
-l n: Limit the number of disks to n
-m: Display mount points (most useful with -p)
-M: Display data throughput in MB/sec instead of Kb/sec
-n: convert device names to cXdYtZ format
-p: report per-partition disk statistics
-P: report per-partition disk statistics only,
no per-device disk statistics
-r: Display data in comma separated format
-s: Suppress state change messages
-T d|u Display a timestamp in date (d) or unix time_t (u)
-t: display chars read/written to terminals
-x: display extended disk statistics
-z: Suppress entries with all zero values

so can anyone tell me how to capture device id info on solaris 8 and below
# 4  
Old 02-07-2008
try commands like:
# prtconf -pv
or
# format
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

Solaris Cluster Device Problem

I build up two node cluster (node1, node2) in virtualbox. For these two nodes I add 5 shared disk. (Also each node have own OS disk). 1 shared disk for vtoc 2 shared disk for NFS resource group 2 shared disk for WEB resource group When I finished my work; two nodes was ok and shared disk... (4 Replies)
Discussion started by: sonofsunra
4 Replies

2. Solaris

Solaris 11 - a retired device

I have installed Solaris 11 Express on my machine. When I boot the system I see a "one or more devices have been retired" message. All connected hard discs should be alright (all zpools are online according to the status messages). What exactly does that message mean and how do I find out which... (7 Replies)
Discussion started by: RychnD
7 Replies

3. Solaris

iscsi device on solaris 10 (x64)

Hello! I have several disks discovered using iscsi protocol. There disks are represented in OS like c2txd0 . logs: Is it possible to change drive path, for example, from c2t6d0 to c2t7d0? It's important for me because I have to install oracle RAC on RAW devices. NIck (0 Replies)
Discussion started by: skelet
0 Replies

4. Solaris

san device information

All, when I do a df -h on a solaris 10 servers I see these san storage filesystems. cx-fibpool/pyp_u2 588G 151M 345G 1% /pyp/u2 cx-fibpool/pyp_u3 588G 151M 345G 1% /pyp/u3 cx-fibpool/pyp_u4 588G 166G 345G 33% /pyp/u4 cx-fibpool/pyp_u5 ... (7 Replies)
Discussion started by: p4cldba
7 Replies
Login or Register to Ask a Question