Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
home_server:home_server_setup:disk_check [2019-11-20 Wed wk47 18:22] – baumkp | home_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 - file system check===== | ||
+ | |||
+ | Use fsck to check and repair a file system. **The file system must be unmounted when being check and repaired to prevent corruption! | ||
+ | ** | ||
+ | ====Checking Root File System==== | ||
+ | |||
+ | 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, [[https:// | ||
+ | *The Root file system is automatically checked at certain intervals. To check this: '' | ||
+ | *[[http:// | ||
+ | | ||
+ | | ||
+ | *Boot the system to a rescue file system. From the rescue file system the main boot drive may then be checked with fsck. (Further details not given.) | ||
+ | |||
+ | |||
+ | ====Some other file system tips:==== | ||
+ | |||
+ | *To check current mounted disks use '' | ||
+ | *To check current disks use '' | ||
+ | *To check current disks use '' | ||
+ | *To check directory size use '' | ||
+ | *The filesystem boot file is /etc/fstab, '' | ||
+ | *To check ext2/3/4 file system information and configuration of a partition '' | ||
+ | |||
+ | ++++Home Server Index|< | ||
+ | *[[home_server: | ||
+ | *[[home_server: | ||
+ | *[[home_server: | ||
+ | *[[home_server: | ||
+ | *[[home_server: | ||
+ | *[[home_server: | ||
+ | *[[home_server: | ||
+ | </ | ||
+ | |||
+ | |||
+ | ====Find Information on Hard disks==== | ||
+ | The ‘’lsblk’’ command has a lot of information returned. | ||
+ | The ‘’tune2fs’’ command is used by the system administrator to change/ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | <- home_server: | ||
+ | *'' | ||
+ | *'' | ||
+ | *WWN is a unique identifier ode list on the drive | ||
+ | *HCTL lists the drive sata port | ||
+ | *'' | ||
- | <- home_server: |