zhchhui 回复于:2003-07-30 08:05:02 |
关于fsck: 大多数系统设置为启动时自动运行fsck,在大的文件系统上运行fsck会花一定的时间,如果系统正常关闭,几乎从不发生错误,因此有一些办法可以不进行检查。如果文件/etc/fastboot存在,就不检查。另外ext2文件系统在超级块中有一个特定的标记告知该文件系统在上次mount后没有正常unmount。如果标记指出unmount正常完成,e2fsck就不检查系统。 linux中当文件系统被mount过多次后,即使标志是干净的,e2fsck强制检查。对用于开发或测试的系统,应该降低这个限制数。 关于linux的碎片整理: ext2文件系统试图使碎片最少,即使不能将一个文件的所有块存在连续扇区中,也尽量靠近,ext2通常有效地安排离文件其他块最近的空闲块,因此很少需要关心碎片问题。不过也有一个windows中比较出名的碎片整理程序O&O Defrag Linux V1.0(简单介绍) Features of O&O Defrag Linux V1.0 Analysis/defragmentation of EXT2 and EXT3 drive partitions, the standard Linux file systems Analysis/defragmentation of individual files Analysis/defragmentation of individual partitions Secure defragmentation with the unique "Security Mode". This enables you to repair an inconsistent file system when O&O Defrag Linux has been abnormally ended (e.g. by a power cut). Various defragmentation methods: Normal defragmentation SPACE - defragmentation The static version of O&O Defrag Linux can be started from a floppy disk (1,44 MB). In this way it is possible to optimize the root partition of the system with the help of a a start floppy or CD in combination with O&O Defrag Linux. Notes for beta testers The second run of the analysis phase in the beta version begins after defragmentation/SPACE defragmentation is completed. This is simply to check that O&O Defrag Linux is running correctly and to deliver statistics that are compiled after, and independently of, the defragmentation process. This significantly lengthens the total duration of defragmentation and should be taken into aclearcase/" target="_blank" >ccount when considering length of time taken. This analysis phase can be stopped at any time and will not be included in the released version. We request that beta testers send us a screenshot of the statistics compiled before and after the (SPACE) defragementation. Known issues The disk space needed for the SPACE defrag method increases proportionally with the number of available clusters and can be several gigabytes on a 4 terabyte server. This disk space issue will be resolved for the next beta version. 下载地址: http://www.oosoft.de/english/products/oodlinux/index.html |
lnx3000 回复于:2003-07-30 08:23:18 |
zhchhui 兄回复得真不错! |
zhchhui 回复于:2003-07-30 09:36:48 |
众人拾材火焰高! |
neosnake 回复于:2003-07-30 10:36:00 |
谢谢zhchhui,又长了一些知识,呵呵。 |