lsscsi:看看硬盘的型号,一般都是ssd字样。
[6:0:0:0] disk ATA INTEL SSDSC2KB48 0100 /dev/sda
[7:0:0:0] disk ATA INTEL SSDSC2KB48 0100 /dev/sdb
[8:0:0:0] disk ATA INTEL SSDSC2KB48 0100 /dev/sdc
[9:0:0:0] disk ATA HGST HUS722T2TAL WA09 /dev/sdd
lsblk:看看硬盘挂载的情况。
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 447.1G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
└─sda2 8:2 0 447G 0 part
└─centos00-home 253:4 0 894.1G 0 lvm /home
sdb 8:16 0 447.1G 0 disk
└─sdb1 8:17 0 447.1G 0 part
└─centos00-home 253:4 0 894.1G 0 lvm /home
sdc 8:32 0 447.1G 0 disk
sdd 8:48 0 1.8T 0 disk
├─sdd1 8:49 0 48.8G 0 part /boot
└─sdd2 8:50 0 1.8T 0 part
├─centos-root 253:0 0 100G 0 lvm /
├─centos-swap 253:1 0 31.3G 0 lvm [SWAP]
├─centos-var 253:2 0 18.6G 0 lvm /var
└─centos-home1 253:3 0 1.6T 0 lvm /home1