debian_common

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
debian_common [2024/04/18 08:58] – JΓΊne Parkdebian_common [2025/09/12 03:51] (current) – [Test and check HDD status] JΓΊne Park
Line 191: Line 191:
 alias backup_nginx='sudo rsync -avh --progress /etc/nginx/ /home/user/storage/Nginx.Config//nginx_config_`date +"%Y%m%d"`/' alias backup_nginx='sudo rsync -avh --progress /etc/nginx/ /home/user/storage/Nginx.Config//nginx_config_`date +"%Y%m%d"`/'
 </code>  </code> 
 +
 +----
 +
 +==== Test and check HDD status ==== 
 +
 +<code bash> 
 +sudo smartctl -t long /dev/sdX 
 +</code> 
 +
 +It takes 2 hours or more for 1T HDD. 
 +
 +<code bash> 
 +sudo smartctl -a /dev/sdX
 +</code> 
 +
 +=== Interpreting the Results === 
 +
 +''**Reallocated_Sector_Count**'': This attribute shows the number of bad sectors that the drive has remapped to its reserve pool. A rising count is a serious warning sign of a failing drive. 
 +
 +''**Current_Pending_Sector_Count**'': A non-zero value here indicates sectors that are unstable and couldn't be read properly, potentially leading to data loss or drive failure. A rising count is a strong indicator that the drive is close to failing. 
  
 ---- ----
  • debian_common.1713430736
  • Last modified: 2024/04/18 08:58
  • by JΓΊne Park