[SOLVED] SMART error and Understanding

YaseenKamala

Member
Feb 2, 2021
158
4
23
Paris
Hello dears,

It is about 3 weeks I have installed a Proxmox Server with two ZFS Pools the OS is on mirror 0 with two SSDs and I have a DATAPool of 4 SAS 1.8 TB on Raidz1-0 and I have got twice the bellow error message and when I check the status of the Disks it says PASSED or OK as you can see in the attached photo.

Device: /dev/sdf [SAT], 1 Currently unreadable (pending) sectors
Device info:
CT250MX500SSD1, S/N:1801E109C658, WWN:5-00a075-1e109c658, FW:M3CR010, 250 GB


Could you pleas tell why we get this error while in the S.M.A.R.T section it says PASSED or OK?

Any help would be really appreciated. :)

Best regards,
Yaseen KAMLA
 

Attachments

  • Disks-Forum.png
    Disks-Forum.png
    22.5 KB · Views: 70
Hi Yaseen,

there are a view things. First the SMART Health Assessment PASSED says passed until something clearly fails.
Then there is a firmware bug in the MX500 so that one of the SMART attributes has bogus values. Newer version of smartctl explicity say so.
See: https://www.smartmontools.org/ticket/1227

Edit:
You can edit /etc/smartd.conf to ignore the smart attribute 197:
/dev/disk/by-id/ata-CT500MX500SSD1_<id> -I 197
 
Last edited:
  • Like
Reactions: YaseenKamala
Hello @0xd149e38e thank you so much for your help,

I went through the page a bit quick I'll try to re read it tomorrow and just to let you know the disks are Crucial as well, but do you think it is a good idea to Ignore it?

Thank you very much again :)
 
I have exactly the same issue with my MX500, and since it is an SSD there are no sectors.
So I think it is save to ignore 197.
You seem to use it in a zfs mirror. If zfs does not show errors, it is save to ignore.
 
  • Like
Reactions: YaseenKamala
@0xd149e38e so when you said I can edit edit /etc/smartd.conf, You mean I have to add a new line into the file right? because all the file content is commented out. and I don't see any line of code about the alerted disk within the file to un comment it.

Thank you very much.
 
Yes. pve only ships with a default smartd.conf. You can edit it to you liking.
It is best to have a look at the files and the examples that are commented out.

By default it scans for all drives and enables smart monitoring.
I modified my one to appy the setting to inividual drives:
Code:
DEFAULT -a -I 194 -W 0,45 -R 5! -n idle,6,q -m root
/dev/disk/by-id/ata-CT500MX500SSD1_xxxxxx -I 197 -R 1 -R 171 -R 172 -R 180 -R 184 -R 187 -R 196 -R 206 -R 210 -s (S/../.././10|L/../../5/16)
But this is my version, yours will be differnt. So I'd suggest you research the options, and modify it to your needs.

It is save to modify, since it is only used for monitoring and reporting.
 
Last edited:
  • Like
Reactions: YaseenKamala
Yes. pve only ships with a default smartd.conf. You can edit it to you liking.
It is best to have a look at the files and the examples that are commented out.

By default it scans for all drives and enables smart monitoring.
I modified my one to appy the setting to inividual drives:
Code:
DEFAULT -a -I 194 -W 0,45 -R 5! -n idle,6,q -m root
/dev/disk/by-id/ata-CT500MX500SSD1_xxxxxx -I 197 -R 1 -R 171 -R 172 -R 180 -R 184 -R 187 -R 196 -R 206 -R 210 -s (S/../.././10|L/../../5/16)
But this is my version, yours will be differnt. So I'd suggest you research the options, and modify it to your needs.

It is save to modify, since it is only used for monitoring and reporting.
I really appreciate your kind help thank you so much. for sure I'll look into all the options for future uses and for now I have activated -I 197 and will see if I the error message is Ignore it or not.

It was pleasure to you know thank you so much again, I wish a wonderful day...
 
Hello @0xd149e38e Hope you are doing well and sorry to bother you!

Could you please help me because the alert of SMART error came back after almost 2 weeks and the state of disk is OK.

Do you see any error in the line that I have added into smartd.conf file?

Code:
/dev/disk/by-id/ata-CT250MX500SSD1_wwn-0x31402ec0112c6c3a -I 197


Please find below the information about sdf disk:

Code:
lrwxrwxrwx 1 root root 9 Mar 8 18:36 scsi-331402ec0112c6c3a -> ../../sdf
lrwxrwxrwx 1 root root 10 Mar 8 18:36 scsi-331402ec0112c6c3a-part1 -> ../../sdf 1
lrwxrwxrwx 1 root root 10 Mar 8 18:36 scsi-331402ec0112c6c3a-part2 -> ../../sdf 2
lrwxrwxrwx 1 root root 10 Mar 8 18:36 scsi-331402ec0112c6c3a-part3 -> ../../sdf 3

lrwxrwxrwx 1 root root 9 Mar 8 18:36 wwn-0x31402ec0112c6c3a -> ../../sdf
lrwxrwxrwx 1 root root 10 Mar 8 18:36 wwn-0x31402ec0112c6c3a-part1 -> ../../sdf 1
lrwxrwxrwx 1 root root 10 Mar 8 18:36 wwn-0x31402ec0112c6c3a-part2 -> ../../sdf 2
lrwxrwxrwx 1 root root 10 Mar 8 18:36 wwn-0x31402ec0112c6c3a-part3 -> ../../sdf 3

Here are the information of the email:

Device: /dev/sdf [SAT], 1 Currently unreadable (pending) sectors

Device info:
CT250MX500SSD1, S/N:1801E109C658, WWN:5-00a075-1e109c658, FW:M3CR010, 250 GB


When I look at the information I can't see the ID that I got alert about!

Do you think I should use this as ID "WWN:5-00a075-1e109c658"?

Thanking you in advance for any help



 
Last edited:
For the drive id just use the path as is

e.g.
Code:
# my hdd

ll /dev/disk/by-id
lrwxrwxrwx 1 root root  9 Mar 28 10:50 ata-ST4000VN008-2DR166_ZDH4WC1M -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 28 10:50 ata-ST4000VN008-2DR166_ZDH4WC1M-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Mar 28 10:50 wwn-0x5000c500b29cf1a8 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 28 10:50 wwn-0x5000c500b29cf1a8-part1 -> ../../sda1

USE:
/dev/disk/by-id/ata-ST4000VN008-2DR166_ZDH4WC1M
OR
/dev/disk/by-id/wwn-0x5000c500b29cf1a8

I chose the one which is more human readable.

In you case it might be:

Code:
/dev/disk/by-id/ata-CT250MX500SSD1_<serial number>
OR
/dev/disk/by-id/wwn-0x31402ec0112c6c3a
 

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!