ioscan on HP-UX 9.1


 
Thread Tools Search this Thread
Operating Systems HP-UX ioscan on HP-UX 9.1
# 1  
Old 04-22-2008
ioscan on HP-UX 9.1

I am trying to work out the logical device name on a HP 9000 system running HP-UX 9.1.

I see that ioscan-fnC disk looks like the command on later versions of HP-UX unfortunately it seems the n option is not available on 9.1. The output from ioscan -fC disk is:-

Class H/W Path Driver H/W Status S/W Status
============================================
disk 14.0 scsi ok(0x202) ok
disk 14.6 scsi ok(0x202) ok


I know what the root disk is from:-
#bdf
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/cEd0s0 868974 375390 406686 48% /


I thought listing the devices may give me a clue, they don't:-
# ls -l /dev/rdsk
total 0
crw-r----- 1 root sys 47 0x0e0000 Jan 31 2000 cEd0s0
crw-r----- 1 root sys 47 0x0e0100 Sep 18 2003 cEd1s0
crw-r----- 1 root sys 47 0x0e0200 Sep 18 2003 cEd2s0
crw-r----- 1 root sys 47 0x0e0300 Sep 18 2003 cEd3s0
crw-r----- 1 root sys 47 0x0e0400 Jun 15 2006 cEd4s0
crw-r----- 1 root sys 47 0x0e0500 Jun 16 2006 cEd5s0
crw-r----- 1 root sys 47 0x0e0600 Jun 15 2006 cEd6s0


My object is to clone the disks but until I can confirm the logical device name I can't be sure. I ran mediainit on cEd6s0 as I am sure that is not the device but it just sat there for a good time (until I got bored waiting for it to finish, about 15 mins) doing not a great deal.
# 2  
Old 04-22-2008
Why are you sure that cEd6s0 is not the device? I would suspect that it is. The paths are 14.0 and 14.6. Card 14 is cE because 14 in hex is E. Then the disk number is either 0 or 6. But just do:
dd if=/dev/rdsk/cEdxs0 bs=1024 of=/dev/null
for each device and while it is running see which disk is being accessed by looking at the lights on the drive. As you hit each drive with this command, the lights should start blinking.
# 3  
Old 04-22-2008
I was just guessing, I think you maybe right and 6 is the disk. I ran diskinfo on it and got:-
# diskinfo /dev/rdsk/cEd6s0
diskinfo: can't DIOC_CAPACITY/dev/rdsk/cEd6s0: No such device or address


But on the other devices just got no such device or address I just need to confirm the DISKTYPE on the disktab file now I think.
# 4  
Old 04-22-2008
Could it be you have a SDS disk array managed by the command sdsadmin?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

ioscan -En how to exclude tapes?

i would like to list all disks, but this command with these options list tapes too. i donīt find out an option which list only the class like ioscan in hp-ux. could anybody help me? thanks a lot. (2 Replies)
Discussion started by: pabloli150
2 Replies

2. HP-UX

ioscan command

Hi all ! I'm a newbie in HP-Unix . In HP-Unix ,'ioscan' command is used to scan I/O system but I don't know what the 'ioscan' command is in Linux/Unix ? I cannot find it in Linux/Unix OS . Thanks (2 Replies)
Discussion started by: nemoflich
2 Replies

3. Solaris

How to solve "ioscan -En" hardware errors

Hi, I found devices errors in #ioscan -En. it is showing that soft errors = 0 and hard errors= 5. what should i do for hard errors=0. Thanks. (4 Replies)
Discussion started by: arjunreddy3
4 Replies

4. Solaris

Solaris equivalent of the ioscan command

What is the Solaris equivalent of the HP-UX "ioscan -funC" command which lists all hardware on the system? (5 Replies)
Discussion started by: etc
5 Replies

5. HP-UX

Question about UNIX ioscan command

Hello there. I have a question regarding the ioscan commnad. When you execute the line ioscan -fnC processor it outputs a list of all processors in the machine. Does this list displays only physical CPUs or does it displays each core? For example, if i have a server with 1 Dual Core... (10 Replies)
Discussion started by: Spilson
10 Replies

6. Solaris

SUN Solaris "ioscan"

Hi, What is the equivelent command for ioscan from HP in SUN, i.e I need to display all hardware devies with path/driver/stats etc. regards, Ahmed (2 Replies)
Discussion started by: Ahmad
2 Replies

7. What is on Your Mind?

IOSCAN Command

I need to know what is the differance between ioscan comand and search command ,in addition I search in your site for more details on ioscan command but I found nothing. (1 Reply)
Discussion started by: Kaswara
1 Replies

8. HP-UX

ioscan

Hi, what is the difference in these two commands/ #ioscan -funC disk #ioscan -knfC disk To me both the commands produce the same information. regards jennifer:( (1 Reply)
Discussion started by: jennifer
1 Replies

9. UNIX for Dummies Questions & Answers

ioscan

Hi, I am looking for a similar 'ioscan' command in solaris 2.7. Is there any ? (5 Replies)
Discussion started by: guest100
5 Replies
Login or Register to Ask a Question