In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
The editor will show you how to use the Linux fsck command today. The knowledge points in the article are introduced in great detail. Friends who feel helpful can browse the content of the article with the editor, hoping to help more friends who want to solve this problem to find the answer to the problem. Follow the editor to learn more about "how to use the Linux fsck command".
The Linux common command fsck command is used to check and attempt to fix errors in the file system. When an error occurs in the file system, you can use the fsck instruction to try to fix it.
Fsck checks and attempts to fix errors in the file system
Supplementary explanation Syntax fsck (option) (parameter) option-a: automatically fix the file system without asking any questions;-A: check all file systems listed in the file according to the contents of the / etc/fstab configuration file;-N: do not execute instructions, only list the actions that will actually be performed;-P: when used with the "- A" parameter, all file systems are checked at the same time -r: in interactive mode, asking questions when performing the fix, allowing the user to confirm and decide how to handle it;-R: when used with the "- A" parameter, the file system of the / directory is not checked;-s: the check job is executed sequentially rather than at the same time;-t: specify the type of file system to be checked;-T: when the fsck instruction is executed, the header information is not displayed. -V: displays the instruction execution process. Parameter file system: specifies the file system on which you want to view information.
The corruption of the file system of instance linux will cause linux to shut down abnormally. If the system tells you which hard disk has a partition problem, such as / dev/hda2, then use the following command to deal with it:
Use the reboot command to restart the system after fsck-y / dev/hda2 is over. That's fine!
If you don't know what went wrong, you can go straight to:
Fsck enters: y in several subsequent confirmation dialogs
After the end, also use the reboot command to restart the system so that it is good!
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
Thank you for your reading, the above is the whole content of "how to use the Linux fsck command", learn friends to hurry up to operate it. I believe that the editor will certainly bring you better quality articles. Thank you for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.