The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
LOM device bubba112557 SUN Solaris 2 09-12-2005 11:39 PM
System RAM identification slot-wise diliphere UNIX for Advanced & Expert Users 0 08-23-2005 05:45 AM
cd rom device rkap UNIX for Dummies Questions & Answers 1 06-23-2005 10:22 AM
bad pci slot? jestra UNIX for Dummies Questions & Answers 0 03-09-2005 09:22 AM
How to check number of first slot on the MO or TAPE device? HrnjicaMujo High Level Programming 0 02-11-2002 05:03 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-20-2003
s93366's Avatar
Registered User
 

Join Date: Apr 2002
Location: sweden
Posts: 152
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

thanks in advance..
Forum Sponsor
  #2 (permalink)  
Old 03-20-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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.
  #4 (permalink)  
Old 03-20-2003
s93366's Avatar
Registered User
 

Join Date: Apr 2002
Location: sweden
Posts: 152
Thanks all for the help! I will check in to it!

/peter
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:01 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0