answersLogoWhite

0

What is FSCK disk?

Updated: 11/9/2022
User Avatar

Wiki User

15y ago

Best Answer

Usually pronounced Fisk Disk, FSCK is a linux/unix software command used for file system checking. fsck [options] [filesystem] ... System administration command. Call the filesystem checker for the appropriate system type to check and repair unmounted filesystems. If a filesystem is consistent, the number of files, number of blocks used, and number of blocks free are reported. If a filesystem is inconsistent, fsck prompts before each correction is attempted. fsck's exit code can be interpreted as the sum of all conditions that apply: 1Errors were found and corrected. 2 Reboot suggested 4Errors were found but not corrected 8 fsckencountered an operational error 16 fsck was called incorrectly 128 A shared library error was detected -- Pass all subsequent options to filesystem-specific checker. All options that fsck doesn't recognize will also be passed -s Serial mode. Check one filesystem at a time -t fstype. Specify the filesystem type. Do not check filesystems of any other type -A Check all filesystems listed in /etc/fstab. The root filesystem is checked first -C Display completion (progress) bar -N Suppress normal execution; just display what would be done -PMeaningful only with -A: check root filesystem in parallel with other systems. This option is potentially dangerous -RMeaningful only with -A: check all filesystems listed in /etc/fstab except the root filesystem -T Suppress printing of title -V Verbose mode

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is FSCK disk?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you check the Linux file system for errors?

fsck /dev/(device) or fsck (mountpoint) to check one disk fsck -A to check all disks


What is the linux program that finds and repair disk error?

fsck


When was Fsck - album - created?

Fsck - album - was created in 1997.


What must you do to run the fsck command on a filesystem?

fsck /dev/sda1


What does fsck mean in Linux?

fsck (means "file system check").


How do you check a disk for errors in Ubuntu?

The same as in pretty much any other Linux or Unix distribution.NOTE: If you wish to repair a file system, it is recommended that you dismount it first (umm, strongly recommended, in fact).Switch user to root and issue the fsck command (dismounting the file system first if disk repairs are intended) passing the pathname of the device to be checked (and optionally repaired) with the fsck command.Most implementations of fsck include command line interface switches that permit interactive repair or automatic repair of file systems, depending on the user's knowledge levels or personal preferences. If you aren't familiar with the particulars of file system repairs on the file system to be checked, it is recommended that fsck be allowed to make it's repairs automatically.Lastly, if the file system was dismounted before fsck was run, remount file system on desired mount point and use as desired.


What must you do to successfully run the fsck command on a filesystem?

You need root privileges, and it's often best not to use fsck on a live (mounted.) filesystem. Also you'll need to know the device file and, in some cases, the filesystem of the partition you're working on. The command is thusly: # fsck /dev/sdXY In most cases the fsck command will figure out what the filesystem is and run the appropriate filesystem checker.


What tool do you use to repair a corrupt volume in Unix?

fsck is the typical command for this.


Where is fsck located in Ubuntu 7.04 Feisty Fawn?

It should be located in /sbin.


Fsck meet dot com with an s?

no idea. i think it is a link to a pay site


What is the name of the store on the Simpson's?

Kwik-E-Mart.Seriously, have you watched TV since 1989? How the fsck would you not know that?


What is the effect of the -a option on the fsck command?

from man fsck : Automatically repair the filesystem without any questions (use this option with caution). Note that e2fsck(8) supports -a for backward compatibility only. This option is mapped to e2fsck's -p option which is safe to use, unlike the -a option that some filesystem checkers support.