VMware:新 SCSI 虚拟磁盘上的“SG_IO:错误/丢失感知数据”

VMware:新 SCSI 虚拟磁盘上的“SG_IO:错误/丢失感知数据”

我在 Windows 10 下运行 VMWare Workstation 12.1.1 Pro,并使用虚拟硬件版本 11 的来宾 Linux Mint 17.2。

我当前唯一的磁盘是虚拟 SATA。

当我在 0:0 添加虚拟 SCSI 设备(创建新的 0.4GB 磁盘作为测试)时,出现如下错误。

vmware-tools我创建SCSI磁盘后重新安装。不用找了。我还尝试将虚拟硬件升级到版本12。

我缺少什么?

@ravi@boxy:~$ sudo hdparm -I /dev/sda 

/dev/sda:
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

ATA device, with non-removable media
  Model Number:       ��������@���������p����@�
  Serial Number:      ���=�D���i@���
  Firmware Revision:  ��i�
Standards:
  Used: unknown (minor revision code 0x00d8) 
  Supported: 11 10 
  Likely used: 11
Configuration:
  CHS addressing not supported
  LBA    user addressable sectors:   38024320
  Logical/Physical Sector size:           512 bytes
  device size with M = 1024*1024:       18566 MBytes
  device size with M = 1000*1000:       19468 MBytes (19 GB)
  cache/buffer size  = unknown
Capabilities:
  LBA, IORDY(may be)(cannot be disabled)
  Standby timer values: spec'd by Vendor
  R/W multiple sector transfer: Max = 255 Current = 255
  Recommended acoustic management value: 234, current value: 0
  DMA: not supported
  PIO: unknown
     *    reserved 69[2]
     *    reserved 69[6]
     *    SET MAX SETPASSWORD/UNLOCK DMA commands
Security: 
  Master password revision code = 14080
  10min for SECURITY ERASE UNIT. 119808min for ENHANCED SECURITY ERASE UNIT. 
Logical Unit WWN Device Identifier: 0000000000000000
  NAA     : 0
  IEEE OUI    : 000000
  Unique ID   : 000000000
Integrity word not set (found 0x0000, expected 0x79a5)
@ravi@boxy:~$

答案1

我使用了错误的工具:

hdparm(8)-获取/设置SATA/IDE设备参数

对于 SCSI,请使用:

sdparm(8) - 访问 SCSI 模式页面;读取 VPD 页面;发送简单的 SCSI 命令

lsscsi(8) - 列出 SCSI 设备(或主机)及其属性

相关内容