device - > slot


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users device - > slot
# 1  
Old 03-20-2003
device - > slot

Hi all..

I have a Sun Ultra 450 with a lot of drives and scsi controllers installed and i have one bad internal disk.. How can "map" ex /dev/dsk/c3t2d0s0 to a slot in the internal cabinet? Any good ideas?

I dont want to remove the wrong disk Smilie

thanks in advance..
# 2  
Old 03-20-2003
You could very easily take out the wrong drive. When building out an E450 and adding
the extra controllers, the cables go from the (looking from the front of the
system) right to left/rear. It is not murphy-proof in that you could end up putting
the wrong cable in the wrong slot at the back. If that happens, then your controllers
are set up differently.
Quote:
Cables set up correctly Cables connected incorrectly
|------------------| |--------------------|
18 | c5t2 | c5t3 |19 18 | c3t2 | c3t3 |19
16 | c5t0 | c5t1 |17 16 | c3t0 | c3t1 |17
14 | c4t2 | c4t3 |15 14 | c2t2 | c2t3 |15
12 | c4t0 | c4t1 |13 12 | c2t0 | c2t1 |13
10 | c3t2 | c3t3 |11 10 | c5t2 | c5t3 |11
8 | c3t0 | c3t1 | 9 8 | c5t0 | c5t1 | 9
6 | c2t2 | c2t3 | 7 6 | c4t2 | c4t3 | 7
4 | c2t0 | c2t1 | 5 4 | c4t0 | c4t1 | 5
2 | c0t2 | c0t3 | 3 2 | c0t2 | c0t3 | 3
0 | c0t0 | c0t1 | 1 0 | c0t0 | c0t1 | 1
|------------------| |--------------------|
You can easily see how you could get screwed up here. The format command shows disks
but may throw you off since the cables could be wrong.
0. c0t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@1f,4000/scsi@3/sd@0,0
1. c0t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@1f,4000/scsi@3/sd@1,0
2. c0t2d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@1f,4000/scsi@3/sd@2,0
3. c0t3d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@1f,4000/scsi@3/sd@3,0
4. c2t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3/sd@0,0
5. c2t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3/sd@1,0
6. c2t2d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3/sd@2,0
7. c2t3d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3/sd@3,0
8. c3t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3,1/sd@0,0
9. c3t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3,1/sd@1,0
10. c3t2d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3,1/sd@2,0
11. c3t3d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,4000/scsi@3,1/sd@3,0
12. c4t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1/sd@0,0
13. c4t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1/sd@1,0
14. c4t2d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1/sd@2,0
15. c4t3d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1/sd@3,0
16. c5t0d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1,1/sd@0,0
17. c5t1d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1,1/sd@1,0
18. c5t2d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1,1/sd@2,0
19. c5t3d0 <SUN4.2G cyl 3880 alt 2 hd 16 sec 135>
/pci@6,2000/scsi@1,1/sd@3,0
If drive c3t2 (number 10 in this list) was bad, then you should take the
drive out of slot 10. If your cables are crossed, then it would be
slot 18. If you come across an E450 like this, then note the problem
on the server (physically by printing the "incorrect layout" and tape it on
the server) so you will know in the future.

Your best bet - run format and copy the output and print it. Find the
drive you believe is bad (you have the controller number (c3t2),
shutdown and run probe-scsi-all. Then pop out the 'bad' drive
and run it again. If the "/pci@6,4000/scsi@3,1/sd@2,0" doesn't show up (the
name of slot 10 from format command, you got the correct one. If it's still there,
then look for which one was removed. You should be able to see that your
cables must be crossed.
# 3  
Old 03-20-2003
# 4  
Old 03-21-2003
Thanks all for the help! I will check in to it!

/peter
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to register ISR for PCI slot???

:wall::wall::wall:how to register ISR for PCI slot using callback registery (in c programing) i am using fedora 10 os.:wall::wall::wall::wall::wall: (0 Replies)
Discussion started by: powyama
0 Replies

2. Programming

How to register ISR for PCI slot???

how to register callback function in unix?? (0 Replies)
Discussion started by: powyama
0 Replies

3. Filesystems, Disks and Memory

cantidad de slot de memoria

Alguien me puede ayudar, necesito saber cuantos slot de memoria disponibles tiene un RS/6000 AIX (1 Reply)
Discussion started by: ivan.estay
1 Replies

4. Solaris

AGP slot in my server ?

hi all, i have a sunfire v440 server , someone can tell me if this server contains a AGP slots ? thanx (4 Replies)
Discussion started by: lid-j-one
4 Replies

5. Solaris

How to change boot slot X4100?

Hi everyone, I have a problem which looks like very simple. My SunFire X4100 have 2 disk slots: HDD0, HDD1 and 1 hard disk. I installed OS on the hard disk at HDD0 and now i want to boot it at HDD1. When i change BIOS and begin boot at HDD1 it reset after i chose Solaris 10 at OS selecting... (3 Replies)
Discussion started by: tien86
3 Replies

6. UNIX for Advanced & Expert Users

d1000 or minipac with six disk slot

Hi All, Is there anyway two nodes can share D1000 or minipack with 6 disk slots. Right now I have minipacks and I am connecting to Sunblade 100 and Sunbladew 150 separately. I would like to connect two systems to one minipack and able see the all the disks on both systems. I do have D1000... (0 Replies)
Discussion started by: sriny
0 Replies

7. UNIX for Dummies Questions & Answers

bad pci slot?

Hi, im having a problem installing my pci wireless card. Im using knoppix, but my problem is with the mobo i think. im using an older laptop, toshiba satellite 2540 and when i plug in the card i get lights on sometimes. this means its getting power right. so then to install the card into the... (0 Replies)
Discussion started by: jestra
0 Replies

8. Programming

How to check number of first slot on the MO or TAPE device?

Hi, I need to discover is MO or Tape device counting slots begining on 0 or 1. THS (0 Replies)
Discussion started by: HrnjicaMujo
0 Replies
Login or Register to Ask a Question