Monday, January 16, 2012

How you identify if a disk is from a SAN or internal disk?


How you identify if a disk is from a SAN or internal disk?

1. lspv displays all diskd:

[root@tcs02app]/>lspv
hdisk0          00f616f50a0e1011                    rootvg          active
hdisk1          00f616f57108a11b                    tcs             active
hdisk2          00f616f56f7fb2d2                    sanvg           active
hdisk3          none                                None


2. Now run:lsdev -Cc disk

[root@tcs02app]/>lsdev -Cc disk
hdisk0 Available 01-00-00 SAS Disk Drive
hdisk1 Available 01-00-00 SAS Disk Drive
hdisk2 Available 00-00-02 IBM MPIO DS5000 Array Disk
hdisk3 Available 00-00-02 MPIO FC 2145

Disks having property "MPIO" are from SAN.

No comments:

Post a Comment