Proxmox HDD error

ringetz

New Member
Jul 12, 2024
2
0
1
Hi,

I have problem with one of HDD. When I try to wipe disk, proxmox throw this error.

And my question is the problem in HDD like bad sectors or similar, or the problem is because this disk used inside VM (TrueNAS Core)
It has been connected to VM by passthrough DISK BY ID (/dev/disk/by-id/{disk-id}).

Disk and setup worked for about 4-5 months without any issues until now.

Now I detach disks from TrueNAS because S.M.A.R.T not working on TrueNAS. I tried to Wipe Disk and this one out of two show this error.

Thanks.

wiping block device /dev/sda
/dev/sda: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sda: calling ioctl to re-read partition table: Success
dd: fdatasync failed for '/dev/sda': Input/output error
dd: fsync failed for '/dev/sda': No such device
200+0 records in
200+0 records out
TASK ERROR: error wiping '/dev/sda': 209715200 bytes (210 MB, 200 MiB) copied, 10.1502 s, 20.7 MB/s

There are results from smartctl.

smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.8.4-3-pve] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family: Seagate IronWolf Pro
Device Model: ST4000NE001-2MA101
Serial Number: WS24ZCS9
LU WWN Device Id: 5 000c50 0f67bbc18
Firmware Version: EN01
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database 7.3/5319
ATA Version is: ACS-4 (minor revision not indicated)
SATA Version is: SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Jul 12 09:10:24 2024 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 567) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 371) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x50bd) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 079 064 044 Pre-fail Always - 71837491
3 Spin_Up_Time 0x0003 092 092 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 15
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 076 060 045 Pre-fail Always - 42552081
9 Power_On_Hours 0x0032 096 096 000 Old_age Always - 3630
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 15
18 Head_Health 0x000b 100 100 050 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 057 049 040 Old_age Always - 43 (Min/Max 29/49)
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 5
193 Load_Cycle_Count 0x0032 096 096 000 Old_age Always - 9586
194 Temperature_Celsius 0x0022 043 050 000 Old_age Always - 43 (0 23 0 0 0)
195 Hardware_ECC_Recovered 0x001a 079 064 000 Old_age Always - 71837491
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 199 000 Old_age Always - 228
240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 2058h+13m+04.417s
241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 3420277496
242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 10117824169

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 3617 -

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
 
Check your sata kabel first:
1) are the real sata III kabel?
2) do the habe a lock at the ends?
3) fit the connector correct on the sata III Port? I have some Crucial MX500 with more tolerance the i want.
4) route the cable straight, no bending no locks no some chassis parts. This is like a Radio (high) Frequency cable, remember.
5) if it don't work, change all sata III cable verse new and labeled once.
 
Last edited:
Thank you. I will buy new sata cabel today for both drives.
I will probably have routing problem because it is SFF case. Machine is HP EliteDesk.
 

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!