![]() ![]() # fsck /dev/sda2įsck: error 2 while executing fsck.ntfs for /dev/sda2 3. So, this gives the following error message. The following example show the various possible fsck checker commands (for example: fsck.ext2, fsck.ext3, fsck.ext4, etc.) # cd /sbinįsck fsck.cramfs fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev fsck.minix fsck.msdos fsck.nfs fsck.vfatįsck command will give you an error when it doesn’t find a filesystem checker for the filesystem that is being checked.įor example, if you execute fsck over a ntfs partition, you’ll get the following error message. These fsck checker commands are typically located under /sbin. Fsck Command Specific to a Filesystem Typeįsck internally uses the respective filesystem checker command for a filesystem check operation. The following are the possible exit codes for fsck command.Ģ. You can check a specific filesystem (for example: /dev/sda6) as shown below. ![]() Number Start End Size Type File system Flags Filesystem Check on a Disk Partitionįirst, view all the available partitions on your system using parted command as shown below. FILE SYSTEM CHECK EXIT CODE IS 8 DISK UTILITY HOW TOThis article explains 10 practical examples on how to execute fsck command to troubleshoot and fix any filesystem errors. Make sure to execute the fsck on an unmounted file systems to avoid any data corruption issues. ![]() System administrator could also run it manually when there is a problem with the filesystems. Linux fsck utility is used to check and repair Linux filesystems ( ext2, ext3, ext4, etc.).ĭepending on when was the last time a file system was checked, the system runs the fsck during boot time to check whether the filesystem is in consistent state. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |