home_server:home_server_setup:disk_check

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
Next revisionBoth sides next revision
home_server:home_server_setup:disk_check [2019-12-08 Sun wk49 10:15] – [Some other file system tips:] baumkphome_server:home_server_setup:disk_check [2020-07-01 Wed wk27 23:12] – [Some other file system tips:] baumkp
Line 1: Line 1:
 +{{tag>fsck format partition boot corrupt parted}}
 =====fsck - file system check===== =====fsck - file system check=====
  
Line 7: Line 8:
 The root file system can not be unmounted and checked. Two possible options to check the system are: The root file system can not be unmounted and checked. Two possible options to check the system are:
  
-  *Force the Root Filesystem to use fsck during reboot, The Geek Stuff covers this well in, How to Force Check Root Filesystem using fsck During Reboot. A summary of key commands:+  *Force the Root Filesystem to use fsck during reboot, The Geek Stuff covers this well in, [[https://www.thegeekstuff.com/2016/03/forcefsck-on-reboot/ |How to Force Check Root Filesystem using fsck During Reboot]]. A summary of key commands:
   *The Root file system is automatically checked at certain intervals. To check this: ''sudo tune2fs -l /dev/sda1 | grep -i check''.   *The Root file system is automatically checked at certain intervals. To check this: ''sudo tune2fs -l /dev/sda1 | grep -i check''.
   *[[http://www.thegeekstuff.com/2016/03/forcefsck-on-reboot/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheGeekStuff+(The+Geek+Stuff)|To force a recheck at the next reboot]], create the file forcefsck. At the next reboot a fsck will be performed and the forcefsck file removed. Commands:   *[[http://www.thegeekstuff.com/2016/03/forcefsck-on-reboot/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheGeekStuff+(The+Geek+Stuff)|To force a recheck at the next reboot]], create the file forcefsck. At the next reboot a fsck will be performed and the forcefsck file removed. Commands:
Line 23: Line 24:
   *The filesystem boot file is /etc/fstab, ''sudo vim /etc/fstab''. (Be careful with editing this.)   *The filesystem boot file is /etc/fstab, ''sudo vim /etc/fstab''. (Be careful with editing this.)
  
-<home_server:home_server_setup:kvm|Prev ^ home_server:home_server_setup:summary|Start page ^ home_server:home_server_setup:other_services ->+++++Home Server Index|<pagelist&header> 
 +*[[home_server:home_server_setup:summary]] 
 +*[[home_server:home_server_setup:home_it_setup]] 
 +*[[home_server:home_server_setup:Network_setup]] 
 +*[[home_server:home_server_setup:kvm]] 
 +*[[home_server:home_server_setup:vnc_setup]] 
 +*[[home_server:home_server_setup:disk_check]] 
 +*[[home_server:home_server_setup:other_services:index]] 
 +</pagelist>++++ 
 + 
 + 
 +====Find Information on Hard disks==== 
 +The lsblk command has a lot of information returned. 
 + 
 + 
 +---- 
 + 
 +<- home_server:home_server_setup:vnc_setup|Prev ^ home_server:home_server_setup:summary|Start page ^ home_server:home_server_setup:other_services:index|Next -> 
 +  *''lsblk'' by itself give the basic drive partition and mount point information. 
 +  *''lsblk -o NAME,MODEL,SERIAL,WWN,HCTL,MOUNTPOINT'' gives more comprehensive information:  
 +    *WWN is a unique identifier ode list on the drive 
 +    *HCTL lists the drive sata port 
 +  *''lsblk --help'' to list all the options
  
  • /app/www/public/data/pages/home_server/home_server_setup/disk_check.txt
  • Last modified: 2023-04-30 Sun wk17 17:43
  • by 127.0.0.1