吐槽下_20250215

特别鸣谢

科技空间(Tech_Sky)、微软、淘宝买家、Gemini、等

E5被禁用

过期:2024/12/24

直到:2025/2/21 数据将被全部删除

E5搬家失败

特别鸣谢科技空间(Tech_Sky)

提供了一个正常的OD给我做备份,使用Rclone备份
过了一天,他的服务器死机,他的OD全局挂了

域名挂了

priv.news

需要氪金30美刀才能用,一年

硬盘存储失败

于2月9号左右到了一块16T硬盘(淘宝购买的二手,100小时内,价格1K+)

差不多每次备份20多个小时左右都会掉线,于2025/02/15 22:54左右掉线(第三次还是第四次了)
通过查看日志分析得知,疑似硬盘存在坏道。将情况告知商家,退货退款处理(此处需感谢商家的售后支持及一直都在[我是23点多反馈的情况])。

部分日志如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
2025-02-15 22:48:46 - HD/dev/sdd is online. Temperature: 37 C
2025-02-15 22:51:33 - HD/dev/sdd is online. Temperature: C

root@pve:~/hd_drop_logs# cat 'hd_drop_2025-02-15 22:52:33.log'
2025-02-15 22:52:33 - HD/dev/sdd is offline.
root@pve:~/hd_drop_logs# sudo journalctl --since "2025-02-15 22:00:00" | grep "sdd"
Feb 15 22:00:43 pve sudo[755502]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:01:44 pve sudo[755867]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:02:44 pve sudo[756233]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:03:44 pve sudo[756593]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:04:44 pve sudo[756969]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:05:44 pve sudo[757332]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:06:44 pve sudo[757697]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:07:44 pve sudo[758066]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:08:44 pve sudo[758432]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:09:44 pve sudo[758801]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:10:44 pve sudo[759161]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:11:44 pve sudo[759524]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:12:44 pve sudo[759886]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:13:44 pve sudo[760248]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:14:44 pve sudo[760624]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:15:44 pve sudo[761017]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:16:44 pve sudo[761382]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:17:44 pve sudo[761755]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:18:44 pve sudo[762129]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:19:45 pve sudo[762495]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:20:45 pve sudo[762857]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:21:44 pve smartd[842]: Device: /dev/sdd [SAT], SMART Prefailure Attribute: 8 Seek_Time_Performance changed from 128 to 132
Feb 15 22:21:45 pve sudo[763219]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:22:45 pve sudo[763587]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:23:45 pve sudo[763951]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:24:45 pve sudo[764322]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:25:45 pve sudo[764716]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:26:45 pve sudo[765093]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:27:45 pve sudo[765477]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:28:45 pve sudo[765855]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:29:45 pve sudo[766234]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:30:45 pve sudo[766610]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:31:45 pve sudo[766994]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:32:45 pve sudo[767352]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:33:45 pve sudo[767721]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:34:45 pve sudo[768080]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:35:45 pve sudo[768435]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:36:46 pve sudo[768792]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:37:46 pve sudo[769169]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:38:46 pve sudo[769522]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:39:46 pve sudo[769879]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:40:46 pve sudo[770231]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:41:46 pve sudo[770583]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:42:46 pve sudo[770935]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:43:46 pve sudo[771290]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:44:46 pve sudo[771647]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:45:46 pve sudo[772004]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:46:46 pve sudo[772369]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:47:46 pve sudo[772729]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:48:46 pve sudo[773093]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:49:46 pve sudo[773457]: root : PWD=/root ; USER=root ; COMMAND=/usr/sbin/smartctl -A /dev/sdd
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#29 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#29 CDB: Write(16) 8a 00 00 00 00 04 55 ca 48 00 00 00 04 00 00 00
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#28 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 04 55 ca 44 00 00 00 04 00 00 00
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#15 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#15 CDB: Read(16) 88 00 00 00 00 04 55 5f 50 00 00 00 00 80 00 00
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#3 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 04 55 ca 58 00 00 00 04 00 00 00
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#2 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 04 55 ca 54 00 00 00 04 00 00 00
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 04 55 ca 50 00 00 00 04 00 00 00
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#0 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT
Feb 15 22:50:00 pve kernel: sd 5:0:0:1: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 04 55 ca 4c 00 00 00 04 00 00 00
Feb 15 22:50:48 pve kernel: sd 5:0:0:1: [sdd] tag#4 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD IN
Feb 15 22:50:48 pve kernel: sd 5:0:0:1: [sdd] tag#4 CDB: ATA command pass through(16) 85 08 0e 00 00 00 01 00 00 00 00 00 00 00 ec 00
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=123s
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 04 55 ca 4c 00 00 00 04 00 00 00
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619190272 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#1 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=123s
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 04 55 ca 50 00 00 00 04 00 00 00
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619191296 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#2 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=123s
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 04 55 ca 54 00 00 00 04 00 00 00
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619192320 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327399040)
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#3 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=123s
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 04 55 ca 58 00 00 00 04 00 00 00
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619193344 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#15 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=123s
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#15 CDB: Read(16) 88 00 00 00 00 04 55 5f 50 00 00 00 00 80 00 00
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18612178944 op 0x0:(READ) flags 0x80700 phys_seg 16 prio class 0
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#28 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=123s
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 04 55 ca 44 00 00 00 04 00 00 00
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619188224 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327398528)
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#29 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=123s
Feb 15 22:51:33 pve kernel: sd 5:0:0:1: [sdd] tag#29 CDB: Write(16) 8a 00 00 00 00 04 55 ca 48 00 00 00 04 00 00 00
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18612178944 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619189248 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327398784)
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797760
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797761
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797762
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797763
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797764
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797765
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797766
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797767
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797768
Feb 15 22:51:33 pve kernel: Buffer I/O error on device sdd3, logical block 2195797769
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619194368 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327399296)
Feb 15 22:51:33 pve kernel: I/O error, dev sdd, sector 18619195392 op 0x1:(WRITE) flags 0x4000 phys_seg 128 prio class 0
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327399552)
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327399808)
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327400064)
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327400320)
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327400576)
Feb 15 22:51:33 pve kernel: EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327400832)
Feb 15 22:51:33 pve kernel: Buffer I/O error on dev sdd3, logical block 1887129603, lost sync page write
Feb 15 22:51:33 pve kernel: Aborting journal on device sdd3-8.
Feb 15 22:51:33 pve kernel: Buffer I/O error on dev sdd3, logical block 1886945280, lost sync page write
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3) in ext4_reserve_inode_write:5771: Journal has aborted
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3): ext4_convert_unwritten_extents:4875: inode #393087908: comm kworker/u16:4: mark_inode_dirty error
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3) in ext4_convert_unwritten_io_end_vec:4914: Journal has aborted
Feb 15 22:51:33 pve kernel: EXT4-fs (sdd3): failed to convert unwritten extents to written extents -- potential data loss! (inode 393087908, error -30)
Feb 15 22:51:33 pve kernel: JBD2: I/O error when updating journal superblock for sdd3-8.
Feb 15 22:51:33 pve kernel: Buffer I/O error on dev sdd3, logical block 0, lost sync page write
Feb 15 22:51:33 pve kernel: EXT4-fs (sdd3): I/O error while writing superblock
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3) in ext4_reserve_inode_write:5771: Journal has aborted
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3): mpage_map_and_submit_extent:2304: inode #393087908: comm kworker/u16:2: mark_inode_dirty error
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3): mpage_map_and_submit_extent:2306: comm kworker/u16:2: Failed to mark inode 393087908 dirty
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3) in ext4_do_writepages:2720: Journal has aborted
Feb 15 22:51:33 pve kernel: Buffer I/O error on dev sdd3, logical block 0, lost sync page write
Feb 15 22:51:33 pve kernel: EXT4-fs (sdd3): I/O error while writing superblock
Feb 15 22:51:33 pve kernel: EXT4-fs error (device sdd3): ext4_journal_check_start:84: comm kworker/u16:2: Detected aborted journal
Feb 15 22:51:33 pve kernel: Buffer I/O error on dev sdd3, logical block 0, lost sync page write
Feb 15 22:51:33 pve kernel: EXT4-fs (sdd3): I/O error while writing superblock
Feb 15 22:51:33 pve kernel: EXT4-fs (sdd3): Remounting filesystem read-only
Feb 15 22:51:33 pve kernel: EXT4-fs (sdd3): ext4_do_writepages: jbd2_start: 1024 pages, ino 393087909; err -30
Feb 15 22:51:35 pve kernel: sd 5:0:0:1: [sdd] Synchronizing SCSI cache
Feb 15 22:51:36 pve kernel: sd 5:0:0:1: [sdd] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
Feb 15 22:51:44 pve smartd[842]: Device: /dev/sdd [SAT], removed ATA device: No such device
Feb 15 22:51:45 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:51:55 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:52:05 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:52:15 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:52:25 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:52:35 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:52:45 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:52:56 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:53:06 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:53:16 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:53:26 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:53:36 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:53:46 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:53:56 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:54:06 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:54:17 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:54:27 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:54:37 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:54:47 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:54:57 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:55:07 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:55:17 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:55:27 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:55:37 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:55:47 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 22:56:00 pve kernel: EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block
Feb 15 23:12:32 pve sudo[779732]: root : TTY=pts/1 ; PWD=/root ; USER=root ; COMMAND=/usr/bin/fuser -m /dev/sdd
root@pve:~/hd_drop_logs#

GPT分析硬盘掉线日志

好的,我分析了你提供的系统日志,发现了一些非常重要的信息,可以确认硬盘掉线的原因是 硬盘存在坏道,导致文件系统错误

关键信息:

  1. sd 5:0:0:1: [sdd] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK cmd_age=123s 等类似信息: 这些信息表明硬盘在执行读写操作时失败。

  2. I/O error, dev sdd, sector 18619190272 op 0x1:(WRITE) flags 0x0 phys_seg 128 prio class 0 等类似信息: 这些信息明确指出硬盘在特定扇区发生了 I/O 错误,无法完成读写操作。

  3. EXT4-fs warning (device sdd3): ext4_end_bio:343: I/O error 10 writing to inode 393087908 starting block 2327399040) 等类似信息: 这些信息表明 EXT4 文件系统在写入 inode 或数据块时遇到了 I/O 错误。

  4. Buffer I/O error on device sdd3, logical block 2195797760 等类似信息: 这些信息表明在读取或写入特定逻辑块时发生了缓冲区 I/O 错误。

  5. EXT4-fs error (device sdd3) in ext4_reserve_inode_write:5771: Journal has aborted 等类似信息: 这些信息表明 EXT4 文件系统的日志已经中止,这意味着文件系统已经损坏。

  6. EXT4-fs (sdd3): Remounting filesystem read-only 由于文件系统损坏,系统将 sdd3 分区重新挂载为只读模式,以防止进一步的数据损坏。

  7. sd 5:0:0:1: [sdd] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK 同步缓存失败,表明数据可能已经丢失。

  8. EXT4-fs warning (device sdd3): htree_dirblock_to_tree:1083: inode #2: lblock 0: comm smbd: error -5 reading directory block 无法读取目录块,表明文件系统结构已经损坏。

结论:

根据这些信息,可以确认 sdd 硬盘存在 坏道,导致 I/O 错误文件系统损坏。 当系统尝试写入数据到坏道所在的区域时,就会发生 I/O 错误,最终导致文件系统崩溃和硬盘掉线。

解决方案:

  1. 备份数据:

    • 立即停止使用 sdd 硬盘,防止进一步的数据损坏。
    • 尝试将 sdd 硬盘上的重要数据备份到其他存储设备。
    • 由于文件系统已经损坏,备份过程可能会遇到困难。 可以尝试使用 ddrescue 等工具进行扇区级别的备份。
  2. 检查硬盘 SMART 信息:

    • 运行 sudo smartctl -a /dev/sdd 命令,查看硬盘的 SMART 信息,确认是否存在硬件故障。
    • 重点关注 Reallocated_Sector_CtCurrent_Pending_SectorOffline_Uncorrectable 属性。 如果这些属性的值很高,表明硬盘存在大量的坏道。
  3. 尝试修复文件系统:

    • 卸载 sdd3 分区:

      1
      sudo umount /dev/sdd3
    • 运行 fsck 命令修复文件系统:

      1
      sudo fsck -y /dev/sdd3

      警告: 修复文件系统可能会导致数据丢失。

  4. 坏道扫描和修复:

    • 可以使用 badblocks 命令扫描硬盘上的坏道:

      1
      sudo badblocks -v -s /dev/sdd
    • 如果发现坏道,可以使用 e2fsck 命令尝试修复:

      1
      sudo e2fsck -cc -k /dev/sdd3

      警告: 修复坏道可能会导致数据丢失。

  5. 更换硬盘:

    • 如果硬盘存在大量的坏道,并且无法修复,建议更换硬盘。

重要提示:

  • 硬盘出现坏道通常是硬件故障的征兆。 即使修复了文件系统和坏道,硬盘仍然可能在不久的将来再次出现问题。
  • 定期备份数据是防止数据丢失的最佳方法。

针对你的情况,我的建议是:

  1. 立即停止使用 sdd 硬盘,并尝试备份数据。
  2. 运行 sudo smartctl -a /dev/sdd 命令,查看硬盘的 SMART 信息。
  3. 如果 SMART 信息显示硬盘存在大量的坏道,建议更换硬盘。
  4. 如果 SMART 信息没有显示明显的硬件故障,可以尝试修复文件系统和坏道,但请注意数据丢失的风险。

请尽快按照以上步骤操作,并提供 sudo smartctl -a /dev/sdd 命令的输出结果,以便我进一步分析。

硬盘的S.M.A.R.T.值

ID 属性 标准化 阈值 最差 标记 失败
1 Raw_Read_Error_Rate 0 100 1 100 PO-R– -
2 Throughput_Performance 100 135 54 135 P-S— -
3 Spin_Up_Time 208 (Average 338) 83 1 83 POS— -
4 Start_Stop_Count 116 100 0 100 -O–C- -
5 Reallocated_Sector_Ct 0 100 1 100 PO–CK -
7 Seek_Error_Rate 0 100 1 100 PO-R– -
8 Seek_Time_Performance 17 132 20 132 P-S— -
9 Power_On_Hours 247 100 0 100 -O–C- -
10 Spin_Retry_Count 0 100 1 100 PO–C- -
12 Power_Cycle_Count 14 100 0 100 -O–CK -
22 Helium_Level 100 100 25 100 PO—K -
184 End-to-End_Error 0 100 97 100 PO–CK -
188 Command_Timeout 223341707272 100 0 100 -O–CK -
192 Power-Off_Retract_Count 120 100 0 100 -O–CK -
193 Load_Cycle_Count 120 100 0 100 -O–C- -
194 Temperature_Celsius 32 (Min/Max 10/42) 63 0 63 -O—- -
196 Reallocated_Event_Count 0 100 0 100 -O–CK -
197 Current_Pending_Sector 0 100 0 100 -O—K -
198 Offline_Uncorrectable 0 100 0 100 —R– -
199 UDMA_CRC_Error_Count 0 100 0 100 -O-R– -
241 Total_LBAs_Written 16473545176 100 0 100 -O–C- -
242 Total_LBAs_Read 3622192007 100 0 100 -O–C- -

从SMART值来看,大部分参数都显示正常,数值为100,阈值为0,表示硬盘目前状况良好。但是,有几个参数需要注意:

  • Throughput_Performance (ID 2): 值为100,标准化值为135,阈值为54。虽然当前值看起来不错,但标准化值高于100可能表示性能略有下降,但仍在可接受范围内。
  • Seek_Time_Performance (ID 8): 值为17,标准化值为132,阈值为20。这个值明显低于标准化值,可能表示寻道时间性能较低。虽然没有超过阈值,但值得关注。
  • Temperature_Celsius (ID 194): 当前温度为32摄氏度,最小/最大值为10/42。这个温度在正常范围内,但需要注意保持硬盘散热良好,避免长时间高温运行。

总体建议:

  1. 密切关注Seek_Time_Performance: 这是一个潜在的问题指标。定期检查SMART值,观察该参数是否持续下降。
  2. 保持硬盘散热: 确保机箱通风良好,避免硬盘过热。
  3. 定期备份数据: 无论SMART值如何,定期备份重要数据都是明智之举,以防硬盘出现意外故障。
  4. 考虑进行硬盘检测: 可以使用专业的硬盘检测工具(例如 CrystalDiskInfo、HD Tune)进行更全面的检测,以评估硬盘的健康状况。

总结:

虽然SMART值大部分正常,但Seek_Time_Performance和Throughput_Performance这两个参数值得关注。通过定期检查和维护,可以更好地了解硬盘的健康状况,并及时采取措施。

您是否希望我提供一些硬盘检测工具的名称或更详细的维护建议?

您好,Command_Timeout (ID 188) 的值是 223341707272,标准化值是 100,阈值是 0。

这个值 非常高,通常 Command Timeout 应该是一个相对较小的数值。如此高的数值可能意味着:

  1. 计数方式特殊: 某些硬盘厂商可能使用不同的计数方式,导致该数值异常大,但并不代表实际问题。
  2. 潜在问题: 极高的 Command Timeout 值可能指示硬盘在处理命令时遇到了严重的延迟或错误。这可能是由于硬盘内部故障、连接问题或其他系统问题引起的。

建议:

  1. 检查硬盘连接: 确保硬盘数据线和电源线连接稳固。尝试更换数据线,看看是否能解决问题。
  2. 检查驱动程序: 确保硬盘驱动程序是最新的。
  3. 运行硬盘检测: 使用专业的硬盘检测工具(例如 CrystalDiskInfo、HD Tune)进行全面检测,查看是否有其他错误或警告。
  4. 检查系统日志: 查看系统事件日志,看是否有与硬盘相关的错误或警告信息。
  5. 考虑更换硬盘: 如果经过以上检查仍然无法解决问题,并且您担心数据安全,建议考虑更换硬盘。

重要提示:

Command Timeout 是一个重要的指标,极高的数值通常不正常。请务必认真对待,并尽快采取措施进行检查和修复,以避免数据丢失或其他潜在问题。

您是否希望我提供更详细的步骤或工具使用说明?

编写的简易硬盘检测脚本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash

# 硬盘设备名称
HD_DEVICE="/dev/sdd"
# 数据保存文件
LOG_FILE="hd_status.log"
# 掉线事件日志目录
DROP_LOG_DIR="hd_drop_logs"

# 检查日志目录是否存在,如果不存在则创建
mkdir -p "${DROP_LOG_DIR}"

while true; do
# 检查硬盘是否在线
if [ -b "${HD_DEVICE}" ]; then
# 获取硬盘温度
TEMP=$(sudo smartctl -A ${HD_DEVICE} | grep Temperature | awk '{print $10}')
# 获取当前时间
CURRENT_TIME=$(date "+%Y-%m-%d %H:%M:%S")
# 写入日志文件
echo "${CURRENT_TIME} - HD${HD_DEVICE} is online. Temperature: ${TEMP} C" >> "${LOG_FILE}"
else
# 硬盘掉线,记录到掉线日志文件
CURRENT_TIME=$(date "+%Y-%m-%d %H:%M:%S")
DROP_LOG_FILE="${DROP_LOG_DIR}/hd_drop_${CURRENT_TIME}.log"
echo "${CURRENT_TIME} - HD${HD_DEVICE} is offline." > "${DROP_LOG_FILE}"
fi
# 等待1分钟
sleep 60
done