The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to identify the calling script? crematoriumm Shell Programming and Scripting 6 02-28-2008 09:37 AM
identify this mobo blowFish@ubuntu What's on Your Mind? 0 07-17-2007 10:06 PM
identify function xinfinity Shell Programming and Scripting 7 04-04-2006 03:18 PM
identify hardware patrickb Filesystems, Disks and Memory 0 02-21-2006 06:29 AM
HPUX : identify NFS mountpoint jim mcnamara UNIX for Advanced & Expert Users 5 11-16-2005 01:46 PM

Reply
 
LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 519
And then:

Code:
ls -l /dev/dsk | fgrep "/scsi_vhci/ssd@g60060e80047f150000007f1500000325"
Reply With Quote
Forum Sponsor
  #9 (permalink)  
Old 05-13-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 240
Quote:
Originally Posted by Annihilannic View Post
And then:

Code:
ls -l /dev/dsk | fgrep "/scsi_vhci/ssd@g60060e80047f150000007f1500000325"
You don't need to do that as you already know which disk it is from the format command..

In my example it is /dev/dsk/c5t60060E80047F150000007F1500000325d0

If SVM was used then you would need to go one step further.
Code:
# metastat -p
d30 -m d31 d32 1
d31 1 1 c1t0d0s3
d32 1 1 c1t1d0s3
d10 -m d11 d12 1
d11 1 1 c1t0d0s0
d12 1 1 c1t1d0s0
d20 -m d21 d22 1
d21 1 1 c1t0d0s1
d22 1 1 c1t1d0s1
d50 -m d51 d52 1
d51 1 1 c1t0d0s5
d52 1 1 c1t1d0s5
d215 -p d210 -o 7808 -b 144703488
d210 -m d211 1
d211 1 2 /dev/dsk/c5t60060E80047F150000007F1500000321d0s0 /dev/dsk/c5t60060E80047F150000007F1500000322d0s0 -i 128b
d204 -p d200 -o 104865440 -b 39845888
d200 1 2 /dev/dsk/c5t60060E80047F150000007F1500000325d0s0 /dev/dsk/c5t60060E80047F150000007F1500000326d0s0 -i 32b
d202 -p d200 -o 20979264 -b 41943040
d201 -p d200 -o 7712 -b 20971520  -o 62922336 -b 20971520
#
So in my example there are soft partitions sitting on this SAN disk
Thay are d201 d202 and d204 which are mounted as:
Code:
/dev/md/dsk/d201        20G    15G   4.4G    78%    /export/install
/dev/md/dsk/d202        20G   4.7G    15G    24%    /export/patches
/dev/md/dsk/d204        19G   3.6G    15G    20%    /var/www
So ssd4 is split into 3 softpartitions mounted as above.
Reply With Quote
  #10 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 519
Quote:
Originally Posted by Tornado View Post
You don't need to do that as you already know which disk it is from the format command..
Sure... I just find it quicker on systems with very large numbers of attached disks, where format can take some time to run.
Reply With Quote
  #11 (permalink)  
Old 05-13-2008
Tornado's Avatar
Registered User
 

Join Date: Nov 2006
Location: Melbourne
Posts: 240
Quote:
Originally Posted by Annihilannic View Post
Sure... I just find it quicker on systems with very large numbers of attached disks, where format can take some time to run.
True......
Reply With Quote
Google UNIX.COM
Reply

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:18 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