Filesystems Consistency Check: fsck
文件系统一致性检查:fsck
That certainly beats the FSCK process.
这显然好于fsck进程。
Unmount the filesystem and fsck and re-mount it.
卸载文件系统,然后执行 fsck 命令并重新挂载它。
If this happens, the FSCK command can be a lifesaver!
如果发生这种状况,那么fsck命令可以用来救急!
Once fsck is complete, the filesystem is ready for use.
一旦fsck完成这样的工作,文件系统就可以使用了。
For one, ext3 users gain access to a rock-solid FSCK tool.
譬如,ext3用户可以使用一个稳固的fsck工具。
The one solution to both scenarios is running FSCK, as follows.
运行fsck就能够解决这两个场景中出现的问题。
System administration (debugfs, fdisk, FSCK, mount, renice, RPM).
系统管理(debugfs、fdisk、fsck、mount、renice、rpm)。
An AIX command (e.g. FSCK) is taking a long time to complete, or has hung.
一个AIX命令(例如fsck)长时间运行或已经挂起了。
If your filesystems weren't unmounted cleanly, you should FSCK them first.
如果文件系统没有卸装干净的话,应该首先对它们进行fsck。
It's based on the solid ext2 filesystem code and it inherits a great FSCK tool.
它基于稳固的ext2文件系统代码,并继承了一个很好的fsck工具。
That's one of the things done by FSCK, the filesystem consistency checking program.
这是文件系统一致性检查程序fsck所做的事情之一。
In most cases, it's necessary to run FSCK or its helper program on an unmounted file system.
多数情况下,必须在一个已卸载的文件系统上运行fsck或帮助程序。
Internal snapshots are removed if the FSCK command has to modify a JFS2 file system to repair it.
如果fsck命令必须修改JFS2文件系统来修复它,将删除内部快照。
Check the documentation for your file system-specific FSCK helper program to learn about its options.
检查特定文件系统的帮助程序的文档,了解这些选项。
The FSCK command: Learn more about the FSCK command from the Combined IBM Systems Information Center.
fsck命令:从CombinedIBMSystems信息中心了解有关fsck命令的更多信息。
The other aspect of online defragmentation is the reduced time required for a file system check (fsck).
在线碎片整理还可以减少检查文件系统所需的时间(fsck)。
You should check the file system consistency for each file system. You can do this with the FSCK command.
您需要检查每个文件系统的一致性。
So, now you know for whom journaling file systems were created, but how do they obviate the need for FSCK?
那么现在您应该清楚日志文件系统针对的是哪类人群了,但是他们是如何取缔fsck的呢?
And the best strategy for fixing file system issues is the simplest: the file system check command (FSCK).
修复文件系统问题最好的策略也是最简单的:利用文件系统检查命令(fsck)。
man fsck and info fsck provide details, as do several of the Resources included at the end of this article.
manfsck和info fsck ,以及本文最后的参考资料中都提供了详细的资料。
FSCK must be run on unmounted volumes, though it is rarely needed unless the file system was not cleanly unmounted.
fsck必须运行于已缷载的卷上,虽然除非是在文件系统没有缷载完全的时候,否则很少会用到它。
Problems arise from the fact that FSCK must scan a filesystem's entire meta-data in order to ensure filesystem consistency.
问题出自于这样一个事实—fsck必须扫描文件系统全部的元数据,以确保文件系统的一致性。
The FSCK utility, however, is mainly a front-end to file system-specific tools, such as e2fsck (for ext2fs, ext3fs, and ext4fs).
然而,fsck实用工具大部分是一个特定文件系统工具的前端。比如e2fsck(针对ext2fs、ext3fs和ext4fs)。
And unlike the more traditional approach that FSCK takes, this journal replaying process does not take longer on larger filesystems.
并且与fsck所采用的传统方法不同,这个日志重放过程在大型的文件系统上并不需要花更多的时间。
Ext4 marks unused groups of blocks within the inode table to allow the FSCK process to skip them entirely to speed the check process.
ext4将未使用的块组标记到inode表中,并让fsck进程忽略它们以加快检查速度。
In the second scenario, the command FSCK is executed on the corrupted file system from the OS messages console after successful login.
在第二个场景中,成功登录之后通过操作系统消息控制台在损坏的文件系统上运行命令fsck。
In contrast, ReiserFS 'FSCK is in its infancy, and fixing flaky metadata when it does show up can be a difficult and dangerous process.
相反,ReiserFS的fsck还很幼稚,当脆弱的元数据真的出现时,对脆弱元数据的修复过程将是困难和危险的。
In these situations, I unmount file systems and run FSCK -y against them until they come back with no errors before mounting them again.
在这些情况下,我会卸载文件系统并针对它们运行fsck—y,直至不再出现错误,然后再重新载入它们。
Rather than restoring the system or even rebuilding the operating system, you can use FSCK to repair file systems or correct damaged inodes.
您可以使用fsck来修复文件系统或者修正受损的inode,而不是还原系统、或者甚至重新构建操作系统。
应用推荐