How to identify which device from ssd29?


 
Thread Tools Search this Thread
Operating Systems Solaris How to identify which device from ssd29?
# 8  
Old 05-14-2008
And then:

Code:
ls -l /dev/dsk | fgrep "/scsi_vhci/ssd@g60060e80047f150000007f1500000325"

# 9  
Old 05-14-2008
Quote:
Originally Posted by Annihilannic
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.
Tornado
# 10  
Old 05-14-2008
Quote:
Originally Posted by Tornado
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.
# 11  
Old 05-14-2008
Quote:
Originally Posted by Annihilannic
Sure... I just find it quicker on systems with very large numbers of attached disks, where format can take some time to run.
True......
Tornado
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

3. Shell Programming and Scripting

How to identify a network device before trying to connect to it?

Hello all, Here is the explanation of my problem: I have a cronjob that connects to a NAS to do backups from my laptop to this NAS device. The script that I wrote does check if there is a host (the NAS) responding on 192.168.1.10 and tries to connect to it with the following command: mount -v... (3 Replies)
Discussion started by: freddie50
3 Replies

4. Solaris

Migrating non DID device in a metaset to DID device

One of my team colleague mistakenly added non DID device to a metaset in a cluster node and inturn it is again added to concat . In that metaset all devices are DID devices except only one . is it possible to convert this non DID device in metaset to DID device without recreating the whole... (0 Replies)
Discussion started by: sekarsamy
0 Replies

5. AIX

How to find all device on p570 when need do device firmware upgrade?

I need upgrade firmware for the device of p570, when I go to IBM FIX download website, there are a lot of device of p570 listed. How can I know what device I have on my p570? (4 Replies)
Discussion started by: rainbow_bean
4 Replies
Login or Register to Ask a Question