[Linux] Hướng dẫn lệnh list disk name trong linux
Hướng dẫn lệnh list disk name trong linux
lshw -class disk
Output
*-disk:0
description: ATA Disk
product: SAMSUNG MZ7KM480
physical id: 0.0.0
bus info: scsi@4:0.0.0
logical name: /dev/sda
version: 0M3Q
serial: S3GTNX0JC18238
size: 447GiB (480GB)
capacity: 447GiB (480GB)
capabilities: 15000rpm partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=000ad9e6
*-disk:1
description: ATA Disk
product: WDC WD10EFRX-68F
vendor: Western Digital
physical id: 0.1.0
bus info: scsi@4:0.1.0
logical name: /dev/sdb
version: 0A82
serial: WD-WCC4J7JT4CJN
size: 931GiB (1TB)
capacity: 931GiB (1TB)
capabilities: 15000rpm partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=92bedb4c
description: ATA Disk
product: SAMSUNG MZ7KM480
physical id: 0.0.0
bus info: scsi@4:0.0.0
logical name: /dev/sda
version: 0M3Q
serial: S3GTNX0JC18238
size: 447GiB (480GB)
capacity: 447GiB (480GB)
capabilities: 15000rpm partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=000ad9e6
*-disk:1
description: ATA Disk
product: WDC WD10EFRX-68F
vendor: Western Digital
physical id: 0.1.0
bus info: scsi@4:0.1.0
logical name: /dev/sdb
version: 0A82
serial: WD-WCC4J7JT4CJN
size: 931GiB (1TB)
capacity: 931GiB (1TB)
capabilities: 15000rpm partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=92bedb4c
Chúc các bạn thành công,
Bình luận
Gửi