From: Marco Gaiarin <gaio@lilliput.linux.it>
To: pve-user@lists.proxmox.com
Subject: [PVE-User] Strange SMART data behaviour... smartd and PVE have different serial...
Date: Thu, 22 Dec 2022 14:43:56 +0100 [thread overview]
Message-ID: <Y6RfHMt7+gg6ihoX@sv.lnf.it> (raw)
Look at the photo attached. Srver just installed, four HDD (that SMART and
PVE identify correctly) and two SSD disk that PVE put in state 'UNKNOWN'.
SSD disks are behind an HP controller, put in HBA mode.
But if i try to check the disks using 'smartctl':
root@svpve3:~# smartctl -d cciss,0 -a /dev/sde
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.4.203-1-pve] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Phison Driven SSDs
Device Model: KINGSTON SEDC500M480G
Serial Number: 50026B7282DBBD5D
LU WWN Device Id: 5 0026b7 282dbbd5d
Firmware Version: SCEKJ2.8
User Capacity: 480,103,981,056 bytes [480 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-3 (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Dec 22 14:37:16 2022 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
note that the serial are different. If i add to 'smartd.conf:
/dev/sde -d cciss,0 -a -m root -M exec /usr/share/smartmontools/smartd-runner
/dev/sdf -d cciss,1 -a -m root -M exec /usr/share/smartmontools/smartd-runner
disks get monitored, but state file have the 'smartd' serial, not the 'PVE'
serial.
root@svpve3:~# ls -la /var/lib/smartmontools/
total 106
drwxr-xr-x 3 root root 19 Dec 22 14:40 .
drwxr-xr-x 40 root root 40 Dec 21 14:08 ..
-rw-r--r-- 1 root root 347 Dec 22 14:40 attrlog.KINGSTON_SEDC500M480G-50026B7282DBB86A.ata.csv
-rw-r--r-- 1 root root 351 Dec 22 14:40 attrlog.KINGSTON_SEDC500M480G-50026B7282DBBD5D.ata.csv
-rw-r--r-- 1 root root 16638 Dec 22 14:40 attrlog.ST8000VN004_3CP101-WRQ0WQ44.ata.csv
-rw-r--r-- 1 root root 16665 Dec 22 14:40 attrlog.ST8000VN004_3CP101-WWZ1MBA8.ata.csv
-rw-r--r-- 1 root root 16768 Dec 22 14:40 attrlog.ST8000VN004_3CP101-WWZ1Q7F1.ata.csv
-rw-r--r-- 1 root root 16626 Dec 22 14:40 attrlog.ST8000VN004_3CP101-WWZ1RFL5.ata.csv
drwxr-xr-x 2 root root 3 Dec 19 16:33 drivedb
-rw-r--r-- 1 root root 3206 Dec 22 14:40 smartd.KINGSTON_SEDC500M480G-50026B7282DBB86A.ata.state
-rw-r--r-- 1 root root 3209 Dec 22 14:40 smartd.KINGSTON_SEDC500M480G-50026B7282DBBD5D.ata.state
-rw-r--r-- 1 root root 2529 Dec 22 14:40 smartd.ST8000VN004_3CP101-WRQ0WQ44.ata.state
-rw-r--r-- 1 root root 2530 Dec 22 14:40 smartd.ST8000VN004_3CP101-WRQ0WQ44.ata.state~
-rw-r--r-- 1 root root 2530 Dec 22 14:40 smartd.ST8000VN004_3CP101-WWZ1MBA8.ata.state
-rw-r--r-- 1 root root 2531 Dec 22 14:40 smartd.ST8000VN004_3CP101-WWZ1MBA8.ata.state~
-rw-r--r-- 1 root root 2533 Dec 22 14:40 smartd.ST8000VN004_3CP101-WWZ1Q7F1.ata.state
-rw-r--r-- 1 root root 2533 Dec 22 14:40 smartd.ST8000VN004_3CP101-WWZ1Q7F1.ata.state~
-rw-r--r-- 1 root root 2531 Dec 22 14:40 smartd.ST8000VN004_3CP101-WWZ1RFL5.ata.state
-rw-r--r-- 1 root root 2531 Dec 22 14:40 smartd.ST8000VN004_3CP101-WWZ1RFL5.ata.state~
What i'm missing here? Where PVE get the disk serial?
Thanks.
reply other threads:[~2022-12-22 13:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y6RfHMt7+gg6ihoX@sv.lnf.it \
--to=gaio@lilliput.linux.it \
--cc=pve-user@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox