dgdg
27 February 2024 22:49
22
There shouldn’t be any issue using the whole disk as a file system - that’s quite often how ZFS / BTRFS are used.
Having very frequent fsck’s happen suggests something is going wrong though - and for a hard drive, that’s normally bad news. It’s worth looking at the SMART data to see if the hard drive thinks anything is wrong. Install smartmontools
, and then post the output of:
sudo smartctl --all /dev/sda
This will let us see if the hard drive looks to be failing.
1 Like
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.16-2-MANJARO] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital AV-GP (AF)
Device Model: WDC WD20EURX-63T0FY0
Serial Number: WD-WCC4M2FH2X7V
LU WWN Device Id: 5 0014ee 2b63f3534
Firmware Version: 80.00A80
User Capacity: 2,000,398,934,016 bytes [2.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Feb 27 22:52:16 2024 GMT
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: (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: (27120) 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: ( 274) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x7035) 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 FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 3
3 Spin_Up_Time 0x0027 175 173 021 Pre-fail Always - 4241
4 Start_Stop_Count 0x0032 050 050 000 Old_age Always - 50679
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 053 053 000 Old_age Always - 34524
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 085 085 000 Old_age Always - 15369
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 179
193 Load_Cycle_Count 0x0032 184 184 000 Old_age Always - 50914
194 Temperature_Celsius 0x0022 111 095 000 Old_age Always - 36
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 001 000 Old_age Always - 1234
200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0
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 Short offline Completed without error 00% 33625 -
# 2 Short offline Completed without error 00% 33610 -
# 3 Short offline Completed without error 00% 33610 -
# 4 Short offline Completed without error 00% 33591 -
# 5 Short offline Completed without error 00% 33564 -
# 6 Short offline Completed without error 00% 33547 -
# 7 Short offline Completed without error 00% 33547 -
# 8 Short offline Completed without error 00% 33547 -
# 9 Short offline Completed without error 00% 33547 -
#10 Short offline Completed without error 00% 33547 -
#11 Short offline Completed without error 00% 33527 -
#12 Short offline Completed without error 00% 33504 -
#13 Short offline Completed without error 00% 33480 -
#14 Short offline Completed without error 00% 33457 -
#15 Short offline Completed without error 00% 33433 -
#16 Short offline Completed without error 00% 33413 -
#17 Short offline Completed without error 00% 33394 -
#18 Short offline Completed without error 00% 33365 -
#19 Short offline Completed without error 00% 33344 -
#20 Short offline Completed without error 00% 33343 -
#21 Short offline Completed without error 00% 33343 -
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.
The above only provides legacy SMART information - try 'smartctl -x' for more
dgdg
27 February 2024 23:39
24
Well, the good news is that none of the imminent failure bits have been flagged. The bad news is that drive has a hair under 4 years of uptime on it, which seems quite a lot.
In this case, I think the most likely problem is that for some reason the drive isn’t dismounting correctly. That said, I can’t think why this would be the case, assuming you haven’t been forcing shutdowns by holding the power button or pulling the plug, of course
Teo
27 February 2024 23:47
25
That is a strong theory. There was a guide somewhere in the forum for mounting external/additional drives with a system.d mount instead of the fstab. You may try that. Maybe systemd will be more flexible and dismount properly. Which will not trigger a check at next boot.
If the drive is used for data storage and does not contain any system files, running fsck
file system check is just a time-sink
I suggest edit /etc/fstab
sudo nano +10:77 /etc/fstab
and change the final number 2 to 0 to disable fsck:
UUID=cc1265a1-3a30-4626-8605-ccf1db077266 /data ext4 defaults 0 0
is it possible when it hasnt made a backup today it makes one when I turn my pc on, hence the 5 min delay?
Data in OP shows fsck causing a 5 minute delay
If you deal with the known issue first then any other delay issue will be easier to spot
Difficulty: ★☆☆☆☆
Disk device recognition
Manjaro uses udev (see Arch Wiki ) to load devices at boot time. The loading of devices is arbitrary and therefore you cannot predict which device will be available at a given path.
But static device names do exist and you can assign specific locations to your device and thus ensure e.g. scripts will work as expected.
What to learn
Overview of system mount units
Structure and Content of a mount unit
Mount at boot (immediate mount)
Mount on demand (m…
ok, ive disabled fsck by changing the 2 to 0. Ill see if that fixes it
Appreciate everyone help, Thank you
1 Like
system
Closed
15 May 2024 20:19
29
This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.