服务器做的硬件raid网上查了很久没有看到不关机可以明确看到raid的命令。

具体实践如下:

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

上面可以看到可用磁盘大小约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:~#

可以根据以上命令出现的磁盘型号去百度下具体容量信息:

ST600MM0208     希捷600G * 2

HUS726020AL5210  日立2tb * 3

综上可以看到总磁盘容量在7T以上

但实际只用了4T多,肯定是做了raid

Logo

更多推荐