1. 程式人生 > >如何查看盤的類型

如何查看盤的類型

targe log 3.0 基本 xxxx pan ips devices 查看

基本信息

查看控制器:

[root@xxxx /root]
#lspci | grep -i contro
00:11.4 SATA controller: Intel Corporation C610/X99 series chipset sSATA Controller [AHCI mode] (rev 05)
03:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)

查看盤使用的哪個控制器:

[root@xxxx /root]
#ll /sys/block/ | grep 03:00.0
lrwxrwxrwx 1 root root 0 Jul 19 05:37 sdaa -> ../devices/pci0000:00/0000:00:03.0/0000:03:00.0/host10/port-10:0/expander-10:0/port-10:0:25/end_device-10:0:25/target10:0:25/10:0:25:0/block/sdaa
lrwxrwxrwx 1 root root 0 Jul 19 05:37 sdab -> ../devices/pci0000:00/0000:00:03.0/0000:03:00.0/host10/port-10:0/expander-10:0/port-10:0:26/end_device-10:0:26/target10:0:26/10:0:26:0/block/sdab
lrwxrwxrwx 1 root root 0 Jul 19 05:37 sdac -> ../devices/pci0000:00/0000:00:03.0/0000:03:00.0/host10/port-10:0/expander-10:0/port-10:0:27/end_device-10:0:27/target10:0:27/10:0:27:0/block/sdac

如何查看盤的類型