Show smart attributes gives error "Bad Request (400)" after hardware upgrade

Pablo_valdez

New Member
Feb 17, 2025
3
0
1
Hello,
I changed PBS server hardware, moved two RAIDZ1 disks with host system and LSI SAS3008 with 24 HDD RAIDZ2 backup storage to a new motherboard.
Everything works fine except "Show SMART volume" button.

Now it gives error:
"
Bad Request (400)
command "smartctl" "-H" "-A" "-j" "/dev/sde" failed - status code: 4 - no error message
"
for every HDD attached to LSI controller.

When I try "smartctl -H -A -j /dev/sde@ in shell, it gives result in JSON.


For 2 HDDs with host system, attached directly to MoBo, SMART window works fine.

Could you help me with this problem?
 
Hi,
what version of Proxmox Backup Server are you using? Version 3.2.10 contains this fix, which was encountered with disks attached via usb [0].

Also according to the man page for smartctl, exit code 4 indicates:
Code:
Some  SMART or  other  ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).
So maybe check the output with the -b flag as well, see man smartctl.

[0] https://git.proxmox.com/?p=proxmox-backup.git;a=commit;h=4983a3c0bab02badfc8220bc01569c6c872aabb6
 
Chris said: Hi,...

Thanks for reply.

I am using proxmox-backup-server 2.0.4-1.

I did
smartctl -H -A -j -b warn /dev/sda
and among result found this:
Code:
    "messages": [
      {
        "string": "Warning: This result is based on an Attribute check.",
        "severity": "warning"
      }
    ],
    "exit_status": 4

also found this :
Code:
SMART Status not supported: Incomplete response, ATA output registers missing

There is no information about data corruption in exact attribute.

It is quite strange since nor controller settings neither PBS configuration had changed.

So I should update PBS version, should I?
 

Attachments

Last edited: