Vmware

VMware:新 SCSI 虛擬磁碟上的“SG_IO:錯誤/缺失的感知數據”

  • August 27, 2016

我在 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:~$

我使用了錯誤的工具:

hdparm(8) - 獲取/設置 SATA/IDE 設備參數

對於 SCSI,使用:

sdparm(8) - 訪問 SCSI 模式頁面;閱讀 VPD 頁面;發送簡單的 SCSI 命令

lsscsi(8) - 列出 SCSI 設備(或主機)及其屬性

引用自:https://unix.stackexchange.com/questions/305444