0 Members and 1 Guest are viewing this topic.
sudo touch /forcefsck
sudo fsck /dev/sda1
free -m
Would it even permit fsck on a mounted disk?
What are risks of fsck- can it destroy big chunks of data, or trash OS?
/dev/sda1 / ext4 rw,errors=remount-ro 0 1
cat /proc/sys/vm/swappiness
vm.swappiness = 10
1 gb should be fine for Ubuntu.
tune2fs -c199 -C200 /dev/sda1
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 - 1 3 Spin_Up_Time 0x0027 232 231 021 Pre-fail Always - 3375 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 38 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 092 092 000 Old_age Always - 6220 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 36192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 28193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 9194 Temperature_Celsius 0x0022 128 110 000 Old_age Always - 22196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 1 2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0 3 Spin_Up_Time 0x0023 070 068 025 Pre-fail Always - 9224 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 45 7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0 8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 11383 10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 51191 G-Sense_Error_Rate 0x0022 252 252 000 Old_age Always - 0192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0194 Temperature_Celsius 0x0002 064 062 000 Old_age Always - 25 (Min/Max 13/39)195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0200 Multi_Zone_Error_Rate 0x002a 001 001 000 Old_age Always - 309314225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 51
sudo apt-get install iotop
sudo iotop
top
Which is most crucial- % use of processor, memory, cache or swap?