You are not logged in.
[root@mirto ~]# fsck /dev/sda4 -f -v
fsck from util-linux 2.21.2
e2fsck 1.42.4 (12-June-2012)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
70095 inodes used (1.78%)
3835 non-contiguous files (5.5%)
45 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 69435/622
14948055 blocks used (94.70%)
0 bad blocks
1 large file
58500 regular files
11558 directories
0 character device files
0 block device files
0 fifos
16113 links
25 symbolic links (25 fast symbolic links)
3 sockets
--------
86199 filessmartctl --all /dev/sda :
[root@mirto lena]# smartctl -a /dev/sda
smartctl 5.42 2011-10-20 r3458 [i686-linux-3.4.4-2-ARCH] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA MK8037GSX
Serial Number: 67P8ABMHA
Firmware Version: DL230M
User Capacity: 80,026,361,856 bytes [80.0 GB]
Sector Size: 512 bytes logical/physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sat Jul 14 19:18:45 2012 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: (0x02) Offline data collection activity
was completed without error.
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: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No 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: ( 46) minutes.
SCT capabilities: (0x0001) SCT Status 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 0x000b 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1071
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 5494
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 9
7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 077 077 000 Old_age Always - 9304
10 Spin_Retry_Count 0x0033 209 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 2893
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 268
193 Load_Cycle_Count 0x0032 060 060 000 Old_age Always - 404340
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 41 (Min/Max 4/66)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 7
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
220 Disk_Shift 0x0002 100 100 000 Old_age Always - 120
222 Loaded_Hours 0x0032 085 085 000 Old_age Always - 6164
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
226 Load-in_Time 0x0026 100 100 000 Old_age Always - 327
240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail 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% 1 -
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.All seems very nice, but what does that mean?
I like the line about 0 bad blocks ![]()
Offline
It means your filesystem is fine, so there's another cause. 0 bad blocks from fsck AFAIK tells about filesystem, not HDD. You should pay attention to those lines:
5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 9
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 7
It means you have 9 HDD bad blocks, which were relocated by HDD firmware. Nothing to worry about if they won't grow. Check from time to time. Also run smartctl /dev/sda4 -t long as I wrote above, it can be more conclusive about those blocks.
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
tells everything should be okay, though.
Anyway, I believe there is other cause of space not being freed than fs or HDD.
Last edited by mkkot (2012-07-14 18:53:11)
Offline
Hmm.., smart scan looks fine. Only thing is that your drive is quite old, about 9304 hours old.
Though it looks fine, i would still suggest you run an extended smart test as mkkot suggested
# smartctl -t longIt'll probably take about half an hour, and will give a clear indication of the status of your drive.
Also,
Try setting the reserved block percentage to something lower
# tune2fs -m 1 /dev/sda4edit: run this command after unmounting the partition.
Last edited by x33a (2012-07-14 19:00:35)
Offline
Try setting the reserved block percentage to something lower
# tune2fs -m 1 /dev/sda4
done. I got 2.8G back. That is really nice to have. Thanx.
But it didn't change the situation - I mean that removing files doesn't free more space.
I did extended smart test, it was supposed to last 46min and it took maybe 2 hours. There is no new info with 'smartctl -a /dev/sda' (except test count).
After further reading about the results, it looks quite not very optimistic.
If you have any ideas, let me know.
Thanx for your kind help
Lena
Offline
One last thing to try would be to backup all your data somewhere else, and reformat the partition again. I know it's a bit of a pain, but i believe this should fix the problem.
Offline
I have a theory and I know its a very old post. But are you using btrfs with timeshift?
Last edited by IsoSpandy (2022-06-16 00:30:39)
Offline
Offline