Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:disk_check [2020-07-01 Wed wk27 23:12] – [Some other file system tips:] baumkphome_server:home_server_setup:disk_check [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
-{{tag>fsck format partition boot corrupt parted}}+{{tag>linux fsck format partition boot corrupt parted}}
 =====fsck - file system check===== =====fsck - file system check=====
  
Line 23: Line 23:
   *To check directory size use ''sudo du %%--%%max-depth=1 %%--%%all -h''   *To check directory size use ''sudo du %%--%%max-depth=1 %%--%%all -h''
   *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.)
 +  *To check ext2/3/4 file system information and configuration of a partition ''sudo tune2fs -l /dev/sdX''
  
 ++++Home Server Index|<pagelist&header> ++++Home Server Index|<pagelist&header>
Line 36: Line 37:
  
 ====Find Information on Hard disks==== ====Find Information on Hard disks====
-The lsblk command has a lot of information returned.+The ‘’lsblk’’ command has a lot of information returned
 +The ‘’tune2fs’’ command is used by the system administrator to change/modify tunable parameters on ext2, ext3 and ext4 type filesystems.  The command to display filesystem information is ‘’tune2fs -l /dev/sda2’’.  The ‘’df’’ command lists current mounted disks.