linux view raid information

The server did a hardware raid check on the Internet for a long time and didn't see that you can clearly see the raid command without shutting down.

The specific practice is as follows:

root@ubuntu:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             63G     0   63G   0% /dev
tmpfs            13G   82M   13G   1% /run
/dev/sda3       491G  190G  276G  41% /
tmpfs            63G     0   63G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            63G     0   63G   0% /sys/fs/cgroup
/dev/sdb        3.6T  1.1T  2.4T  31% /iflytek
/dev/sda1       180M   56M  111M  34% /boot
tmpfs            13G     0   13G   0% /run/user/0

/As can be seen above, the available disk size is about 4T +;

root@ubuntu:~# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: PM8060-  Model: R1               Rev: V1.0
  Type:   Direct-Access                    ANSI  SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: PM8060-  Model: R2               Rev: V1.0
  Type:   Direct-Access                    ANSI  SCSI revision: 02
Host: scsi0 Channel: 01 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST600MM0208      Rev: N001
  Type:   Direct-Access                    ANSI  SCSI revision: 06
Host: scsi0 Channel: 01 Id: 01 Lun: 00
  Vendor: SEAGATE  Model: ST600MM0208      Rev: N001
  Type:   Direct-Access                    ANSI  SCSI revision: 06
Host: scsi0 Channel: 01 Id: 02 Lun: 00
  Vendor: HGST     Model: HUS726020AL5210  Rev: A907
  Type:   Direct-Access                    ANSI  SCSI revision: 06
Host: scsi0 Channel: 01 Id: 03 Lun: 00
  Vendor: HGST     Model: HUS726020AL5210  Rev: A907
  Type:   Direct-Access                    ANSI  SCSI revision: 06
Host: scsi0 Channel: 01 Id: 04 Lun: 00
  Vendor: HGST     Model: HUS726020AL5210  Rev: A907
  Type:   Direct-Access                    ANSI  SCSI revision: 06
Host: scsi0 Channel: 03 Id: 00 Lun: 00
  Vendor: ADAPTEC  Model: Virtual SGPIO    Rev:    1
  Type:   Enclosure                        ANSI  SCSI revision: 05
root@ubuntu:~# 

You can go to Baidu for specific capacity information according to the disk model shown in the above command:

ST600MM0208 Seagate 600G * 2
HUS726020AL5210 Hitachi 2tb * 3

To sum up, we can see that the total disk capacity is more than 7T
But it only used more than 4T in practice. It must have been raid

Keywords: Ubuntu

Added by monkey_05_06 on Thu, 02 Apr 2020 05:36:29 +0300