The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mount point options Sunguy222 UNIX for Advanced & Expert Users 1 04-24-2008 07:23 PM
ssh with shared mount point devjxh SUN Solaris 4 11-30-2007 08:54 AM
concept of mount point Vikas Sood UNIX for Dummies Questions & Answers 3 06-08-2006 07:31 PM
mount point colesy UNIX for Dummies Questions & Answers 1 01-06-2004 07:03 AM
mount point lost sathiya UNIX for Advanced & Expert Users 7 10-28-2002 06:58 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-09-2001
marist89 marist89 is offline
Registered User
  
 

Join Date: Oct 2001
Location: Greenwich, CT
Posts: 19
Question sdX to mount point mapping

OS: Solaris

When I look at my I/O distribution on a server using iostat, the devices report as sdX where x is a number like 0, 32, 128, etc. While I can guess which device maps to which mount point, is there any way I can definitely determine which sdX points to which mount point?
  #2 (permalink)  
Old 10-24-2001
doeboy's Avatar
doeboy doeboy is offline
Registered User
  
 

Join Date: Oct 2001
Location: Here
Posts: 137
In sdX, the X means the device's instance id.

On simple once controller systems, you can pretty much call the instance ID the SCSI target ID I think.

For example, sd6 is usually the CDROM drive which is commonly found on ID6.

That was a simple way if you don't have a lot of controllers.

Otherwise, you can use "sysdef -d" or "prtconf -v". It will give you a heirarchical breakdown of what drivers are attached to what devices, etc. And you can make deteminations of which controllers and which targets they are that way.

It's ugly, I know, but it's the only way I can think of doing what you want. I've had to do this on some E6500 machines before, and let me tell you it was not pretty.
  #3 (permalink)  
Old 10-24-2001
doeboy's Avatar
doeboy doeboy is offline
Registered User
  
 

Join Date: Oct 2001
Location: Here
Posts: 137
Oops... forgot to mention that once you determine what controller and target the drives are, you can use the df command or look at the /etc/vfstab file to see what is mounted where.

If you are using Veritas Volume Manager or Solstice DiskSuite, then you would use those utilities to find out what file system a particular disk belongs to.
Closed Thread

Bookmarks

« cut | Help!!!! »
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 01:50 AM.


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