public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Strange SMART data behaviour... smartd and PVE have different serial...
@ 2022-12-22 13:43 Marco Gaiarin
  0 siblings, 0 replies; only message in thread
From: Marco Gaiarin @ 2022-12-22 13:43 UTC (permalink / raw)
  To: pve-user


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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-22 13:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 13:43 [PVE-User] Strange SMART data behaviour... smartd and PVE have different serial Marco Gaiarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal