1827808 Members
12436 Online
109969 Solutions
New Discussion

Re: Identify SAN Disks

 
M.Thomas
Frequent Advisor

Identify SAN Disks

Please let me what command would tell me the difference between local and the SAN disks. linux redhat AS 3.

Thanks

THOMAS
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Identify SAN Disks

fdisk -l

The hardware path for local disks are almost always displayed before SAN.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Andrew Cowan
Honored Contributor

Re: Identify SAN Disks

The path names will tell you if the local disks are "IDE", but not if they are SCSI since SAN's use sudo-SCSI drivers.

Take a look at your dmesg output and identifiy the name of your SAN adapter. lspci may also show the name of the card. Next look at "/proc/scsi/adapter-name" and "/proc/scsi/scsi" and this should give further clues.

Some adapter code also adds utilities such as: probe-luns so it's worth looking for any extra RPM's that were loaded.
Patrick Terlisten
Honored Contributor

Re: Identify SAN Disks

Hello,

if you are using a ProLiant with a Smart Array controller, the disks attatched to the Smart Array will use /dev/cciss/c0d0, /dev/cciss/c0d1 ... as device name. Logical drives from a storage in you SAN will use the traditional device names like /dev/sda, /dev/sdb... Take a look at /proc/scsi/scsi or the output of dmesg.

Regards,
Patrick
Best regards,
Patrick
Ganesh Balraman
Regular Advisor

Re: Identify SAN Disks

Dear Sir,

By default scsi internal disk will be /dev/sdb.

And for next available device either san or another scsi channel it will be sdb.

Use fdisk -l will list the availbale disk seen.This coammnd will not do any modification in ur disk , Need not tor worry.
Regds
B.Ganesh
Siert Zijl
Advisor

Re: Identify SAN Disks

If you have a ProLiant server connected to a SAN the '/dev/cciss/*' devices are local storage and /dev/sd* devices are probably SAN disks.

Make sure you install the fibreutils RPM from the HP ProLiant Support Pack. They include a couple of useful utilities to identify SAN disks & devices:

- lssg (display generic san devices)
- lssd (display san disk devices)
- adapter_info (display hba information)

You can also take a look inside the /proc filesystem to get useful information:

Smart Array Controller: /proc/driver/cciss/
SCSI devices: /proc/scsi/scsi
QLA Host Bus Adapter: /proc/scsi/qla2300

Linux system administrator
SJO EGGER
Regular Advisor

Re: Identify SAN Disks

morning

use "lsscsi" to list all SCSI devices or "scsi_info /dev/" to see more info like WWN and LUN WWID.

regards