Proxmox S.M.A.R.T unknown?

killmasta93

Renowned Member
Aug 13, 2017
973
58
68
31
Hi,
I was wondering if someone else has happend this odd issue, as recently added a new Dell SAS disk, i check on the WebGUI it shows unknown but it shows fine running the command though ssh, its the seagate

Code:
NAME HCTL       TYPE VENDOR   MODEL             REV TRAN
sda  2:0:0:0    disk ATA      MM1000EBKAF      HPG3 sas
sdb  2:0:1:0    disk ATA      MM1000EBKAF      HPG3 sas
sdc  2:0:2:0    disk ATA      MM1000EBKAF      HPG3 sas
sdd  2:0:3:0    disk ATA      MM1000EBKAF      HPG2 sas
sde  2:0:4:0    disk ATA      MM1000EBKAF      HPG2 sas
sdf  2:0:5:0    disk SEAGATE  ST91000640SS     0002 sas

1578797465933.png
 
Hi,
could you post the output of the following commands?
Code:
cat /sys/block/sdf/queue/rotational
udevadm info -p /sys/block/sdf --query all
 
Thanks for the reply attaching the following

Code:
root@prometheus2:~# cat /sys/block/sdf/queue/rotational
1
root@prometheus2:~# udevadm info -p /sys/block/sdf --query all
P: /devices/pci0000:00/0000:00:1c.0/0000:03:00.0/host2/port-2:5/end_device-2:5/target2:0:5/2:0:5:0/block/sdf
N: sdf
S: disk/by-id/scsi-35000c50058896577
S: disk/by-id/wwn-0x5000c50058896577
S: disk/by-path/pci-0000:03:00.0-sas-phy7-lun-0
E: DEVLINKS=/dev/disk/by-path/pci-0000:03:00.0-sas-phy7-lun-0 /dev/disk/by-id/wwn-0x5000c50058896577 /dev/disk/by-id/scsi-35000c50058896577
E: DEVNAME=/dev/sdf
E: DEVPATH=/devices/pci0000:00/0000:00:1c.0/0000:03:00.0/host2/port-2:5/end_device-2:5/target2:0:5/2:0:5:0/block/sdf
E: DEVTYPE=disk
E: ID_BUS=scsi
E: ID_MODEL=ST91000640SS
E: ID_MODEL_ENC=ST91000640SS\x20\x20\x20\x20
E: ID_PART_TABLE_TYPE=gpt
E: ID_PART_TABLE_UUID=e959772f-81c6-864e-856c-01fd65d81a7f
E: ID_PATH=pci-0000:03:00.0-sas-phy7-lun-0
E: ID_PATH_TAG=pci-0000_03_00_0-sas-phy7-lun-0
E: ID_REVISION=0002
E: ID_SCSI=1
E: ID_SCSI_SERIAL=9XG6JV5A0000943933MQ
E: ID_SERIAL=35000c50058896577
E: ID_SERIAL_SHORT=5000c50058896577
E: ID_TYPE=disk
E: ID_VENDOR=SEAGATE
E: ID_VENDOR_ENC=SEAGATE\x20
E: ID_WWN=0x5000c50058896577
E: ID_WWN_WITH_EXTENSION=0x5000c50058896577
E: MAJOR=8
E: MINOR=80
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=3388703
 
Seems like the ID_ATA_ROTATION_RATE_RPM parameter is not exposed by your drive or at least udevadm is unable to get it. This is what we use to distinguish between SSDs and HDDs in the GUI. But this should only be a cosmetic issue.
 
Thanks for the reply, so how could i make it work so it can recognize it?

Currently ran crystal disk on proxmox and also does not read the disk which is sdf


1579024412251.png
 
As I said, it should only be a cosmetic issue for PVE or is there something specific you cannot do with the disk (in PVE)?
I don't know about crystal disk, but a wild guess is that it doesn't recognize the disk because some parameters are not exposed properly via udev or the driver.
 
thanks for the reply, so i shouldnt be worried so if the disk would fail it would alert me?
Yes, you still get the values from smartd, otherwise there shouldn't be an OK there. You can also select the disk and click the Show S.M.A.R.T. values-button at the top to make sure.
 
  • Like
Reactions: killmasta93
Hello, this seems to affect on Truenas on Proxmox VE 7.2-3. I have a R730xd with HBA330mini IT, SAS disks 20x1T, 2xSSDs, latest firmware.

I have used
Code:
ln /dev/disk/by-id/ -l
and then
Code:
qm set 100 -scsi1 /dev/disk/by-id/scsi-xxxxxxxxxxx

(thaks to Rober Mizen and The Digital Life Youtube) disks to Truenas one by one. Truenas doesn't like it, it says disks are not unique. SMART is "OK" for all of SAS, type unknown, whereas 2xSSD drives are shown fully fine. Is there any chance to get SASs types correctly through?
 
When passing through individual disks with "qm set 100 -scsi1 /dev/disk/by-id/scsi-xxxxxxxxxxx" all your TrueNAS VM is seeing are virtual disks, not the real disks so SMART isn't working. If you want that TrueNAS is able to directly access the real physical disks, you will have to PCI passthrough the whole HBA330mini IT into the VM with all disks attached to it.
 
When passing through individual disks with "qm set 100 -scsi1 /dev/disk/by-id/scsi-xxxxxxxxxxx" all your TrueNAS VM is seeing are virtual disks, not the real disks so SMART isn't working. If you want that TrueNAS is able to directly access the real physical disks, you will have to PCI passthrough the whole HBA330mini IT into the VM with all disks attached to it.
Thank you for your fast answer.

I thought that when I can see the SAS disks "right" in Proxmox, then I could pass (some of) them on to TrueNAS from Proxmox.

I tested with another Proxmox, same HBA330mini, but with 8x2T and 2x480G SSDs, disks are showing fully ok in disks view and as you said, not possible to pass some of them to Virtual Machine, in this case TrueNAS. TrueNAS says that they are not unique disks, virtualised in Proxmox. So not possible to pass some disks through, as you said. There are some writings to do that "split" per HBA controller, but not recommended style for production use.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!