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 03:23 PM
ssh with shared mount point devjxh SUN Solaris 4 11-30-2007 04:54 AM
concept of mount point Vikas Sood UNIX for Dummies Questions & Answers 3 06-08-2006 03:31 PM
mount point colesy UNIX for Dummies Questions & Answers 1 01-06-2004 03:03 AM
mount point lost sathiya UNIX for Advanced & Expert Users 7 10-28-2002 02:58 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-09-2001
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?
Forum Sponsor
  #2 (permalink)  
Old 10-24-2001
doeboy's Avatar
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
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.
Google The UNIX and Linux Forums
Closed Thread

« cut | Help!!!! »
Thread Tools
Display Modes




All times are GMT -7. The time now is 12:26 AM.


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

Content Relevant URLs by vBSEO 3.2.0