Display physical disk, Megaraid device information, mdadm software RAID configuration

lsscsi      can show both physical SAS drives and flash devices.  There are 12 SAS devices and
lsscsi -v | grep MARVEL

[8:0:0:0]    disk    ATA      MARVELL SD88SA02 D20Y  /dev/sdn
[8:0:1:0]    disk    ATA      MARVELL SD88SA02 D20Y  /dev/sdo
….
[11:0:3:0]   disk    ATA      MARVELL SD88SA02 D20Y  /dev/sdac

lsscsi -v | grep LSI             show 12 physical devices

/opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary –aALL  (you should see 12 disks)


                Connector          : Port 0 - 3<Internal><Encl Pos 0 >: Slot 0
                Vendor Id          : HITACHI
                Product Id         : HQWERASDFA.0T
                State              : Online
                Disk Type          : SAS,Hard Disk Device
                Capacity           : 2.727 TB
                Power State        : Active

Each Exadata Storage Server has 12 physical SAS disks and 4 96GB PCIe Sun Flash Accelerator flash cards.  Each card partition into 4 x 24 GB partitions.

On Compute Node, there are 4 x 300 GB SAS – 1 hot spare (slot 3) and 3 active (slot 0,1,2)
/opt/MegaRAID/MegaCli/MegaCli64 -ShowSummary –aALL


[root@r22dwdbs06h-adm MegaCli]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               VGExaDb
  PV Size               834.89 GB / not usable 3.84 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              213731
  Free PE               153827
  Allocated PE          59904
  PV UUID               TMKLyW-2e2u-2BFq-xf4l-jdne-Vnb7-LOmcHd
  
[root@r22dwdbs06h-adm MegaCli]# lvdisplay
  --- Logical volume ---
  LV Name                /dev/VGExaDb/LVDbSys1
  VG Name                VGExaDb
  --- Logical volume ---
  LV Name                /dev/VGExaDb/LVDbSys2
  VG Name                VGExaDb
 
  --- Logical volume ---
  LV Name                /dev/VGExaDb/LVDbSwap1
  VG Name                VGExaDb

  --- Logical volume ---
  LV Name                /dev/VGExaDb/LVDbOra1
  VG Name                VGExaDb
 
  --- Logical volume ---
  LV Name                /dev/VGExaDb/sysback
  VG Name                VGExaDb
  LV UUID                kAKBpc-2I2n-xeJh-8sZy-OPxD-hklZ-ykaBsv

lvdisplay -v /dev/VGExaDb/LVDbSys1 (shows attributes of that logical volume)


ls -ltr /dev/VGExaDb/LVDb* (show the map to /dev/mapper devices)

No comments:

Post a Comment