Jump to content
XPEnology Community

SATA disk is seen as SCSI disk by DSM !


bibicu

Recommended Posts

Hi all !

 

First of all, thank you developers for the wonderful work on Xpenology project !

 

Does anyone know why the SATA disks show up as SCSI in DSM virtualized ? This will generate errors in the interface when I check the Health of the disks.

 

I am running DSM 6.2.2, Jun 1.04b, DS918+, in Esxi 6.7 on Asrock J4105-ITX board.

 

I have 3 disks in my VM:

1. the synoboot image (/dev/hda)

2. a virtual disk on SATA1:0

3. a Hitachi hdd on a SATA controller, using PCI Passthrough.

 

synodisk --enum
************ Disk Info ***************
>> Disk id: 1
>> Slot id: -1
>> Disk path: /dev/sda
>> Disk model: Virtual SATA Hard Drive
>> Total capacity: 0.05 GB
>> Tempeture: -1 C
************ Disk Info ***************
>> Disk id: 2
>> Slot id: -1
>> Disk path: /dev/sdb
>> Disk model: Virtual SATA Hard Drive
>> Total capacity: 16.00 GB
>> Tempeture: -1 C
************ Disk Info ***************
>> Disk id: 4
>> Slot id: -1
>> Disk path: /dev/sdd
>> Disk model: HTS545050B9A300
>> Total capacity: 465.76 GB
>> Tempeture: 29 C

 

smartctl --scan
/dev/hda -d ata # /dev/hda, ATA device
/dev/sdb -d scsi # /dev/sdb, SCSI device
/dev/sdd -d scsi # /dev/sdd, SCSI device

 

As you can see the HDD is seen as SCSI.

 

udevadm info --query=property --name /dev/sdd
DEVNAME=/dev/sdd
DEVPATH=/devices/pci0000:00/0000:00:17.0/0000:13:00.0/ata4/host3/target3:0:0/3:0:0:0/block/sdd
DEVTYPE=disk
ID_PART_TABLE_TYPE=gpt
MAJOR=8
MINOR=48
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
PHYSDEVPATH=/devices/pci0000:00/0000:00:17.0/0000:13:00.0/ata4/host3/target3:0:0/3:0:0:0
SUBSYSTEM=block
SYNO_DEV_DISKPORTTYPE=SATA
SYNO_INFO_PLATFORM_NAME=apollolake
SYNO_KERNEL_VERSION=4.4
USEC_INITIALIZED=779574

 

So all disks, even though are on SATA controllers show up as SCSI and smartctl fails for them.

 

If I try to get SMART info, I get an error:

 

smartctl -a /dev/sdd

SMART support is: Unavailable - device lacks SMART capability.

 

But if I add -d ata, it works.

SMART support is: Available - device has SMART capability.

 

Anyone can shed some light how to make the disk be seen as SATA instead of SCSI?

 

Thank you !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...