Informações de hardware do HD no Linux
Por esses dias eu e meu colega de trabalho (Pantufa) precisamos verificar qual a marca do HD que estava instalado em um servidor linux e descobrimos um comando muito bacana do Linux para verificar as informações de hardware do HD:
lshw -class disk
O retorno desse comando aqui no nosso servidor foi esse:
*-disk
description: ATA Disk
product: SAMSUNG SP1613N
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: VB10
serial: S0CVJ1LP400804
size: 149GiB (160GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=d5f09eed
*-disk:0
description: ATA Disk
product: SAMSUNG HD161GJ
physical id: 0
bus info: scsi@2:0.0.0
logical name: /dev/sdb
version: 1AC0
serial: S1ZWJ50Z162199
size: 149GiB (160GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=000100b1
*-disk:1
description: ATA Disk
product: ST3500418AS
vendor: Seagate
physical id: 1
bus info: scsi@2:0.1.0
logical name: /dev/sdc
version: CC37
serial: 9VM3WBGV
size: 465GiB (500GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=7d9f1751
*-disk:2
description: ATA Disk
product: SAMSUNG HD103SI
physical id: 2
bus info: scsi@3:0.0.0
logical name: /dev/sdd
version: 1AG0
serial: S23ZJ50Z210368
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=ec9c08a9
*-disk:3
description: ATA Disk
product: ST31000528AS
vendor: Seagate
physical id: 3
bus info: scsi@3:0.1.0
logical name: /dev/sde
version: CC35
serial: 9VP165DK
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=000b2038
Boa André Guilherme! Salvou minha vida.