[SOLVED] Extracting >100GB archive over night resulted in unresponsive system (mouse & kb, screen stuck)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Extracting >100GB archive over night resulted in unresponsive system (mouse & kb, screen stuck)
Hey I tried to extract a >100GB archive on a different hard drive over night by using pv file.tar.gz | tar xzf -
sadly now, turning on my screen I can't move the mouse, the keyboard is dead and the screen / progress bar is stuck in the middle, the time doesn't move. Apparently it got stuck at 03:20 am.
Before I turn my screen off last night, I disabled any energy savings options in the settings.
What are ny options here? I accept that the operation failed and I have to restart the system, the problem is that I am worried about a forceful restart while the hard drive is writing/reading etc...
How can I restart the system without damaging the drive? (or keep the damage as little as possible)
Sometimes, already after Alt+PrtScn+R you'll be able to Ctrl+Alt+F3.
Thanks, I read up on REISUB, REISOU a couple month ago already. It's nice to see things you learn out of interest, pop up from time to time
Sadly Reisob and other key combinations don't do anything at all. My mouse light is turned on / lit though (<- Unresponsive, as a matter of fact, the cursor vanished entirely)
You have to cycle the power. Run smartctl to check the drive. This sounds like failing hardware.
Ed
Thank you very much, I am running chkdsk Letter: /f right now inside Windows 10 as debian won't mount.
I was fearing hardware failure for some time now as the drive has fallen down (from lower than ˝knee height) twice over the span of a year (stupid irrelevant incidents, drive is permanently placed now).
Smart util from WD showed no issues and predicted green/good health. That was a long time ago, I will try smartctl on deb and report back.
Thanks again for helping.
This isn't an out of space issue? Does tar put it somewhere temporarily and that has run out of space?
I don't think so. After I restarted the computer, the drive still had 350GB left (and a new folder with a gigantic amount of extracted files was created, meaning the operation did stop @ 3:00am. It probably was a genuine system freeze.
tuxducky - post the smartctl output using code tags (see the list of BB codes under "Posting Rules").
If the drive is okay, you need to check the rest of the computer. It should not lock up under load.
Ed
Here's the short self-test (I used gsmartcontrol since my debian 11, can't run/find the smartctl command (smartmontools pre-installed).
If you need me to perform a different test just let me know.
Code:
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.0-9-amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: WDC WD60EDAZ-11U78B0
Serial Number: WD-WX82D50DEZVZ
LU WWN Device Id: 5 0014ee 26811a38a
Firmware Version: 80.00A80
User Capacity: 6,001,175,126,016 bytes [6.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Form Factor: 3.5 inches
TRIM Command: Available, deterministic, zeroed
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-3 T13/2161-D revision 5
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Sun Dec 5 17:05:55 2021 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is: Unavailable
APM feature is: Unavailable
Rd look-ahead is: Enabled
Write cache is: Enabled
DSN feature is: Unavailable
ATA Security is: Disabled, NOT FROZEN [SEC1]
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: (41460) 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: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 634) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x3031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
1 Raw_Read_Error_Rate POSR-K 200 200 051 - 0
3 Spin_Up_Time POS--K 248 227 021 - 2575
4 Start_Stop_Count -O--CK 099 099 000 - 1427
5 Reallocated_Sector_Ct PO--CK 200 200 140 - 0
7 Seek_Error_Rate -OSR-K 200 200 000 - 0
9 Power_On_Hours -O--CK 098 098 000 - 2013
10 Spin_Retry_Count -O--CK 100 100 000 - 0
11 Calibration_Retry_Count -O--CK 100 100 000 - 0
12 Power_Cycle_Count -O--CK 099 099 000 - 1415
192 Power-Off_Retract_Count -O--CK 200 200 000 - 5
193 Load_Cycle_Count -O--CK 199 199 000 - 4572
194 Temperature_Celsius -O---K 123 095 000 - 27
196 Reallocated_Event_Count -O--CK 200 200 000 - 0
197 Current_Pending_Sector -O--CK 200 200 000 - 0
198 Offline_Uncorrectable ----CK 100 253 000 - 0
199 UDMA_CRC_Error_Count -O--CK 200 200 000 - 0
200 Multi_Zone_Error_Rate ---R-- 100 253 000 - 0
||||||_ K auto-keep
|||||__ C event count
||||___ R error rate
|||____ S speed/performance
||_____ O updated online
|______ P prefailure warning
General Purpose Log Directory Version 1
SMART Log Directory Version 1 [multi-sector log support]
Address Access R/W Size Description
0x00 GPL,SL R/O 1 Log Directory
0x01 SL R/O 1 Summary SMART error log
0x02 SL R/O 5 Comprehensive SMART error log
0x03 GPL R/O 6 Ext. Comprehensive SMART error log
0x04 GPL R/O 256 Device Statistics log
0x04 SL R/O 8 Device Statistics log
0x06 SL R/O 1 SMART self-test log
0x07 GPL R/O 1 Extended self-test log
0x09 SL R/W 1 Selective self-test log
0x0c GPL R/O 2048 Pending Defects log
0x10 GPL R/O 1 NCQ Command Error log
0x11 GPL R/O 1 SATA Phy Event Counters log
0x24 GPL R/O 294 Current Device Internal Status Data log
0x30 GPL,SL R/O 9 IDENTIFY DEVICE data log
0x80-0x9f GPL,SL R/W 16 Host vendor specific log
0xa0-0xa7 GPL,SL VS 16 Device vendor specific log
0xa8-0xb6 GPL,SL VS 1 Device vendor specific log
0xb7 GPL,SL VS 78 Device vendor specific log
0xb9 GPL,SL VS 4 Device vendor specific log
0xbd GPL,SL VS 1 Device vendor specific log
0xc0 GPL,SL VS 1 Device vendor specific log
0xc1 GPL VS 93 Device vendor specific log
0xe0 GPL,SL R/W 1 SCT Command/Status
0xe1 GPL,SL R/W 1 SCT Data Transfer
SMART Extended Comprehensive Error Log Version: 1 (6 sectors)
No Errors Logged
SMART Extended Self-test Log Version: 1 (1 sectors)
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 2013 -
# 2 Short offline Completed without error 00% 1935 -
# 3 Extended offline Aborted by host 90% 1935 -
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.
SCT Status Version: 3
SCT Version (vendor specific): 258 (0x0102)
Device State: Active (0)
Current Temperature: 27 Celsius
Power Cycle Min/Max Temperature: 21/27 Celsius
Lifetime Min/Max Temperature: 15/56 Celsius
Under/Over Temperature Limit Count: 0/0
Vendor specific:
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SCT Temperature History Version: 2
Temperature Sampling Period: 1 minute
Temperature Logging Interval: 1 minute
Min/Max recommended Temperature: 0/65 Celsius
Min/Max Temperature Limit: -41/85 Celsius
Temperature History Size (Index): 478 (50)
Index Estimated Time Temperature Celsius
51 2021-12-05 09:08 36 *****************
... ..( 24 skipped). .. *****************
76 2021-12-05 09:33 36 *****************
77 2021-12-05 09:34 37 ******************
... ..( 2 skipped). .. ******************
80 2021-12-05 09:37 37 ******************
81 2021-12-05 09:38 ? -
82 2021-12-05 09:39 21 **
83 2021-12-05 09:40 21 **
84 2021-12-05 09:41 21 **
85 2021-12-05 09:42 22 ***
86 2021-12-05 09:43 22 ***
87 2021-12-05 09:44 23 ****
88 2021-12-05 09:45 24 *****
... ..( 2 skipped). .. *****
91 2021-12-05 09:48 24 *****
92 2021-12-05 09:49 25 ******
... ..( 2 skipped). .. ******
95 2021-12-05 09:52 25 ******
96 2021-12-05 09:53 26 *******
... ..( 2 skipped). .. *******
99 2021-12-05 09:56 26 *******
100 2021-12-05 09:57 27 ********
101 2021-12-05 09:58 38 *******************
... ..( 3 skipped). .. *******************
105 2021-12-05 10:02 38 *******************
106 2021-12-05 10:03 37 ******************
... ..( 29 skipped). .. ******************
136 2021-12-05 10:33 37 ******************
137 2021-12-05 10:34 ? -
138 2021-12-05 10:35 37 ******************
139 2021-12-05 10:36 36 *****************
140 2021-12-05 10:37 37 ******************
... ..( 21 skipped). .. ******************
162 2021-12-05 10:59 37 ******************
163 2021-12-05 11:00 38 *******************
... ..( 5 skipped). .. *******************
169 2021-12-05 11:06 38 *******************
170 2021-12-05 11:07 37 ******************
... ..( 16 skipped). .. ******************
187 2021-12-05 11:24 37 ******************
188 2021-12-05 11:25 38 *******************
... ..( 4 skipped). .. *******************
193 2021-12-05 11:30 38 *******************
194 2021-12-05 11:31 37 ******************
... ..( 17 skipped). .. ******************
212 2021-12-05 11:49 37 ******************
213 2021-12-05 11:50 ? -
214 2021-12-05 11:51 35 ****************
... ..( 4 skipped). .. ****************
219 2021-12-05 11:56 35 ****************
220 2021-12-05 11:57 36 *****************
... ..( 9 skipped). .. *****************
230 2021-12-05 12:07 36 *****************
231 2021-12-05 12:08 37 ******************
... ..( 32 skipped). .. ******************
264 2021-12-05 12:41 37 ******************
265 2021-12-05 12:42 36 *****************
266 2021-12-05 12:43 37 ******************
267 2021-12-05 12:44 36 *****************
... ..( 16 skipped). .. *****************
284 2021-12-05 13:01 36 *****************
285 2021-12-05 13:02 ? -
286 2021-12-05 13:03 26 *******
287 2021-12-05 13:04 26 *******
288 2021-12-05 13:05 27 ********
289 2021-12-05 13:06 27 ********
290 2021-12-05 13:07 28 *********
291 2021-12-05 13:08 28 *********
292 2021-12-05 13:09 29 **********
293 2021-12-05 13:10 29 **********
294 2021-12-05 13:11 29 **********
295 2021-12-05 13:12 30 ***********
... ..( 4 skipped). .. ***********
300 2021-12-05 13:17 30 ***********
301 2021-12-05 13:18 31 ************
... ..( 4 skipped). .. ************
306 2021-12-05 13:23 31 ************
307 2021-12-05 13:24 32 *************
... ..( 7 skipped). .. *************
315 2021-12-05 13:32 32 *************
316 2021-12-05 13:33 33 **************
317 2021-12-05 13:34 ? -
318 2021-12-05 13:35 31 ************
319 2021-12-05 13:36 ? -
320 2021-12-05 13:37 28 *********
321 2021-12-05 13:38 28 *********
322 2021-12-05 13:39 29 **********
323 2021-12-05 13:40 29 **********
324 2021-12-05 13:41 29 **********
325 2021-12-05 13:42 30 ***********
326 2021-12-05 13:43 30 ***********
327 2021-12-05 13:44 31 ************
... ..( 5 skipped). .. ************
333 2021-12-05 13:50 31 ************
334 2021-12-05 13:51 32 *************
335 2021-12-05 13:52 32 *************
336 2021-12-05 13:53 31 ************
337 2021-12-05 13:54 32 *************
... ..( 2 skipped). .. *************
340 2021-12-05 13:57 32 *************
341 2021-12-05 13:58 33 **************
... ..( 3 skipped). .. **************
345 2021-12-05 14:02 33 **************
346 2021-12-05 14:03 34 ***************
... ..( 4 skipped). .. ***************
351 2021-12-05 14:08 34 ***************
352 2021-12-05 14:09 35 ****************
... ..( 2 skipped). .. ****************
355 2021-12-05 14:12 35 ****************
356 2021-12-05 14:13 36 *****************
... ..( 5 skipped). .. *****************
362 2021-12-05 14:19 36 *****************
363 2021-12-05 14:20 35 ****************
364 2021-12-05 14:21 35 ****************
365 2021-12-05 14:22 35 ****************
366 2021-12-05 14:23 36 *****************
... ..( 6 skipped). .. *****************
373 2021-12-05 14:30 36 *****************
374 2021-12-05 14:31 37 ******************
... ..( 15 skipped). .. ******************
390 2021-12-05 14:47 37 ******************
391 2021-12-05 14:48 36 *****************
392 2021-12-05 14:49 36 *****************
393 2021-12-05 14:50 37 ******************
394 2021-12-05 14:51 36 *****************
... ..( 15 skipped). .. *****************
410 2021-12-05 15:07 36 *****************
411 2021-12-05 15:08 ? -
412 2021-12-05 15:09 36 *****************
... ..( 4 skipped). .. *****************
417 2021-12-05 15:14 36 *****************
418 2021-12-05 15:15 37 ******************
... ..( 11 skipped). .. ******************
430 2021-12-05 15:27 37 ******************
431 2021-12-05 15:28 36 *****************
432 2021-12-05 15:29 37 ******************
433 2021-12-05 15:30 37 ******************
434 2021-12-05 15:31 36 *****************
... ..( 27 skipped). .. *****************
462 2021-12-05 15:59 36 *****************
463 2021-12-05 16:00 37 ******************
... ..( 12 skipped). .. ******************
476 2021-12-05 16:13 37 ******************
477 2021-12-05 16:14 36 *****************
... ..( 23 skipped). .. *****************
23 2021-12-05 16:38 36 *****************
24 2021-12-05 16:39 ? -
25 2021-12-05 16:40 36 *****************
... ..( 4 skipped). .. *****************
30 2021-12-05 16:45 36 *****************
31 2021-12-05 16:46 37 ******************
... ..( 12 skipped). .. ******************
44 2021-12-05 16:59 37 ******************
45 2021-12-05 17:00 36 *****************
... ..( 4 skipped). .. *****************
50 2021-12-05 17:05 36 *****************
SCT Error Recovery Control command not supported
Device Statistics (GP Log 0x04)
Page Offset Size Value Flags Description
0x01 ===== = = === == General Statistics (rev 1) ==
0x01 0x008 4 1415 --- Lifetime Power-On Resets
0x01 0x010 4 2013 --- Power-on Hours
0x01 0x018 6 43444150530 --- Logical Sectors Written
0x01 0x020 6 130838905 --- Number of Write Commands
0x01 0x028 6 36664621708 --- Logical Sectors Read
0x01 0x030 6 119059433 --- Number of Read Commands
0x01 0x038 6 2951832704 --- Date and Time TimeStamp
0x03 ===== = = === == Rotating Media Statistics (rev 1) ==
0x03 0x008 4 2009 --- Spindle Motor Power-on Hours
0x03 0x010 4 1336 --- Head Flying Hours
0x03 0x018 4 4578 --- Head Load Events
0x03 0x020 4 0 --- Number of Reallocated Logical Sectors
0x03 0x028 4 18 --- Read Recovery Attempts
0x03 0x030 4 0 --- Number of Mechanical Start Failures
0x03 0x038 4 0 --- Number of Realloc. Candidate Logical Sectors
0x03 0x040 4 5 --- Number of High Priority Unload Events
0x04 ===== = = === == General Errors Statistics (rev 1) ==
0x04 0x008 4 0 --- Number of Reported Uncorrectable Errors
0x04 0x010 4 35 --- Resets Between Cmd Acceptance and Completion
0x05 ===== = = === == Temperature Statistics (rev 1) ==
0x05 0x008 1 27 --- Current Temperature
0x05 0x010 1 37 --- Average Short Term Temperature
0x05 0x018 1 40 --- Average Long Term Temperature
0x05 0x020 1 55 --- Highest Temperature
0x05 0x028 1 21 --- Lowest Temperature
0x05 0x030 1 46 --- Highest Average Short Term Temperature
0x05 0x038 1 33 --- Lowest Average Short Term Temperature
0x05 0x040 1 41 --- Highest Average Long Term Temperature
0x05 0x048 1 40 --- Lowest Average Long Term Temperature
0x05 0x050 4 0 --- Time in Over-Temperature
0x05 0x058 1 65 --- Specified Maximum Operating Temperature
0x05 0x060 4 0 --- Time in Under-Temperature
0x05 0x068 1 0 --- Specified Minimum Operating Temperature
0x06 ===== = = === == Transport Statistics (rev 1) ==
0x06 0x008 4 1517 --- Number of Hardware Resets
0x06 0x010 4 122 --- Number of ASR Events
0x06 0x018 4 0 --- Number of Interface CRC Errors
0xff ===== = = === == Vendor Specific Statistics (rev 1) ==
0xff 0x008 7 0 --- Vendor Specific
0xff 0x010 7 0 --- Vendor Specific
0xff 0x018 7 0 --- Vendor Specific
|||_ C monitored condition met
||__ D supports DSN
|___ N normalized value
SATA Phy Event Counters (GP Log 0x11)
ID Size Value Description
0x0001 2 0 Command failed due to ICRC error
0x0002 2 0 R_ERR response for data FIS
0x0003 2 0 R_ERR response for device-to-host data FIS
0x0004 2 0 R_ERR response for host-to-device data FIS
0x0005 2 0 R_ERR response for non-data FIS
0x0006 2 0 R_ERR response for device-to-host non-data FIS
0x0007 2 0 R_ERR response for host-to-device non-data FIS
0x0008 2 0 Device-to-host non-data FIS retries
0x0009 2 0 Transition from drive PhyRdy to drive PhyNRdy
0x000a 2 1 Device-to-host register FISes sent due to a COMRESET
0x000b 2 0 CRC errors within host-to-device FIS
0x000d 2 0 Non-CRC errors within host-to-device FIS
0x000f 2 0 R_ERR response for host-to-device data FIS, CRC
0x0012 2 0 R_ERR response for host-to-device non-data FIS, CRC
0x8000 4 1138 Vendor specific
Will the extended self-test contain any information about my files on the drive etc?
If not, I would be happy to provide an extended self-test for better examination.
Will the extended self-test contain any information about my files on the drive etc?
If not, I would be happy to provide an extended self-test for better examination.
I would say that the drive looks good. I have not tried to run the self-test. Be careful not to destroy your data.
You may want to run the "badblocks" read test (note that it will never report errors since modern drives reallocate bad sectors).
A lot of things can cause a computer to lock up. Check the system logs for anything unusual. Run memtest86 to check the memory. Clean out any dust, especially on the heatsinks.
Ed
Run a system monitoring type of software (System Monitor, htop, etc) while running these tests. If your computer has temperature sensors, add that in the system monitoring software. Watch your swap. Under-voltage is something else to look at, too.
Try decompressing a smaller file (1GB, 10GB, etc) and see what happens. Try running the tar command without the pv command.
Try running Prime95 and see if it locks up your computer.
.... system monitoring software. Watch your swap. Under-voltage is something else to look at, too.
Now that you say Under-Voltage, my RAM requires a voltage of 1.35V, yet my mainboard provides only 1.2V or something. So I had to overclock / use xmp profile 1 to get a working setup.
Could that be the culprit?
Do note, that I've already done lots of heavy tasks for months now on this new setup. Tested Games, machine learning, etc. No issus (runs faster in fact due to higher frequency)
I will try Memtest86 and Prime95 by the end of the day.
Now that you say Under-Voltage, my RAM requires a voltage of 1.35V, yet my mainboard provides only 1.2V or something. So I had to overclock / use xmp profile 1 to get a working setup.
Could that be the culprit?
Do note, that I've already done lots of heavy tasks for months now on this new setup. Tested Games, machine learning, etc. No issus (runs faster in fact due to higher frequency)
I will try Memtest86 and Prime95 by the end of the day.
If you have set any voltages within bios to different than default there is a distinct possibility that it can cause system instability, sometimes in weird or unexpected ways. Maybe consider removing the user settings and allowing the default bios configs to take over then trying the exercise with extracting the file again. It might show if it was your custom settings or not.
On my system (desktop with AsRock B550 Pro mobo and AMD Ryzen 5 3600 CPU) I see about 10 different voltages that can be managed, and some are used for overclocking.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.