리눅스 하드웨어 정보 리눅스

다음과 같이 dmidecode 명령을 이용하여 하드웨어의 많은 정보를 확인할 수 있다.

# 장비 모델 확인
# /usr/sbin/dmidecode | grep Name

Product Name: PowerEdge R910
Product Name: 0JRJM9

# 장비 시리얼 번호 확인
/usr/sbin/dmidecode | grep Serial
        Serial services are supported (int 14h)
        Serial Number: 2GP6YBX
        Serial Number: ..CN1374022800NA.
        Serial Number: 2GP6YBX
        Serial Number: Not Specified
        Serial Number: Not Specified
        Serial Number: Not Specified
        Serial Number: Not Specified
        Port Type: Serial Port 16550A Compatible
        Serial Number: 340682E0
        Serial Number: 34024CB3
        Serial Number:         
        Serial Number:   

# 디스크 사이즈 및 개수 확인
# dmesg |grep SCSI
  Type:   Direct-Access                      ANSI SCSI revision: 06
  Type:   Enclosure                          ANSI SCSI revision: 05
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 3513778176 512-byte hdwr sectors (1799054 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 3513778176 512-byte hdwr sectors (1799054 MB)
SCSI device sda: drive cache: write back

# 레이드 정보 확인
# cat /proc/mdstat
Personalities : 
unused devices: <none>

# 디스크 파티션 확인
# fdisk -l

Disk /dev/sda: 1799.0 GB, 1799054426112 bytes
255 heads, 63 sectors/track, 218722 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          25      200781   83  Linux
/dev/sda2          197816      210563   102398310   83  Linux
/dev/sda3          210564      218722    65537167+   5  Extended
/dev/sda4          210564      218722    65537136   82  Linux swap / Solaris

++++++++++++++++++++++++++++++++++
HP장비 확인

# hpacucli ctrl all show config
Smart Array P420i in Slot 0 (Embedded)    (sn: XXXXXXXXXXXXXXXX)
   array A (SATA, Unused Space: 0  MB)
      logicaldrive 1 (5.5 TB, RAID 1+0, OK)
      physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SATA, 3 TB, OK)
      physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SATA, 3 TB, OK)
      physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SATA, 3 TB, OK)
      physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SATA, 3 TB, OK)
   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 500143802798BBBB)

# hpacucli ctrl all show config
Smart Array P420i in Slot 0 (Embedded)    (sn: XXXXXXXXXXXXXXXX)
   array A (SATA, Unused Space: 0  MB)
      logicaldrive 1 (2.7 TB, RAID 0, OK)
      physicaldrive 2I:1:1 (port 2I:box 1:bay 1, SATA, 3 TB, OK)
   array B (SATA, Unused Space: 0  MB)
      logicaldrive 2 (2.7 TB, RAID 0, OK)
      physicaldrive 2I:1:2 (port 2I:box 1:bay 2, SATA, 3 TB, OK)
   array C (SATA, Unused Space: 0  MB)
      logicaldrive 3 (2.7 TB, RAID 0, OK)
      physicaldrive 2I:1:3 (port 2I:box 1:bay 3, SATA, 3 TB, OK)
   array D (SATA, Unused Space: 0  MB)
      logicaldrive 4 (2.7 TB, RAID 0, OK)
      physicaldrive 2I:1:4 (port 2I:box 1:bay 4, SATA, 3 TB, OK)
   SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 50014380302BBBBB)




덧글

댓글 입력 영역