Friday, June 28, 2013

How to find LUN map to disks in Redhat

I have Redhat 5.5 and have large number of Luns attached to it. How can I find which Lun is configured to which disk ? whats the command ?

f you haven't installed the package "lsscsi", please do so and execute an "lsscsi". You get your answers ... 

BTW - you can do a yum install lsscsi to get the package installed.
sscsi - list SCSI devices (or hosts) and their attributes 

You can download it from: 

http://www.torque.net/scsi/lsscsi.html
it is easy to check which partition contain linux 

fdisk -l 

it will show you ext3 partition (ext3 for linux)

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM