知识库

个人知识管理

用户工具

站点工具


linux:如何查看linux下的磁盘序列号

如何查看linux下的磁盘序列号

操作说明

使用如下命令查看磁盘序列号

sudo lshw -class disk 

输出样例

*-disk                    
       description: ATA Disk
       product: ST2000LM015-2E81
       vendor: Seagate
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/sda
       version: SDM1
       serial: WDZCNVZ1
       size: 1863GiB (2TB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 signature=afd262fd
  *-disk
       description: ATA Disk
       product: Lenovo SSD SL700
       physical id: 0.0.0
       bus info: scsi@1:0.0.0
       logical name: /dev/sdb
       version: 91.2
       serial: LSL7012818322F03212
       size: 119GiB (128GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=6d3083e9

参考引用

linux/如何查看linux下的磁盘序列号.txt · 最后更改: 2019/09/11 00:49 (外部编辑)