jaypipes / ghw

Go HardWare discovery/inspection library
Apache License 2.0
1.64k stars 181 forks source link

DriveType is wrong #241

Open Flipped-OvO opened 3 years ago

Flipped-OvO commented 3 years ago

\.\PHYSICALDRIVE0 SSD (8TB) IDE [@unknown] vendor=(标准磁盘驱动器) model=HGST HUH728080ALE604 serial=2EG1KNMP \.\PHYSICALDRIVE3 SSD (8TB) IDE [@unknown] vendor=(标准磁盘驱动器) model=HGST HUH728080ALE604 serial=2EGEU24R \.\PHYSICALDRIVE4 SSD (466GB) SCSI [@unknown] vendor=(标准磁盘驱动器) model=Samsung SSD 970 EVO 500GB serial=0025_3855_0141_90D6. \.\PHYSICALDRIVE6 SSD (932GB) SCSI [@unknown] vendor=(标准磁盘驱动器) model=WDS100T3X0C-00SJG0 serial=E823_8FA6_BF53_0001_001B_444A_4693_9E4A. \.\PHYSICALDRIVE1 SSD (8TB) IDE [@unknown] vendor=(标准磁盘驱动器) model=HGST HUH728080ALE604 serial=2EGEZ3PR \.\PHYSICALDRIVE2 SSD (8TB) IDE [@unknown] vendor=(标准磁盘驱动器) model=HGST HUH728080ALE604 serial=2EG1N56R \.\PHYSICALDRIVE5 SSD (954GB) SCSI [@unknown] vendor=(标准磁盘驱动器) model=SAMSUNG MZVLB1T0HBLR-00A00 serial=0025_3889_0101_5ABF.

Obviously, I can't have 8T SSD

jaypipes commented 3 years ago

Hi @Flipped-OvO, can you give me some more information about your known setup? Would you mind pasting the output of this command please?

sudo lsblk -O --json | python -mjson.tool