The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-20-2003
s93366's Avatar
s93366 s93366 is offline
Registered User
  
 

Join Date: Apr 2002
Location: Sweden / Stockholm
Posts: 168
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..
  #2 (permalink)  
Old 03-20-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
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-21-2003
s93366's Avatar
s93366 s93366 is offline
Registered User
  
 

Join Date: Apr 2002
Location: Sweden / Stockholm
Posts: 168
Thanks all for the help! I will check in to it!

/peter
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:16 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0