NHỮNG CÂU HỎI THƯỜNG GẶP VỀ LINUX - Trang 67

Những câu hỏi thường gặp về Linux

H:

Warning: obsolete routing request made

Đ:

This is nothing to worry about. The message means that your version route is a little out of date,

compared to the kernel. You can make the message go away bởi getting a new version of route from the
same place as the kernel source code. (“Làm thế nào để nâng cấp/biên dịch lại hạt nhân”)

H:

EXT2-fs: warning: mounting unchecked file system

Đ:

You need to run e2fsck (or

fsck -t ext2

if you have the fsck front end program) with the -a

option to get it to clear the “

dirty

” flag, và then cleanly unmount the partition during each shutdown.

The easiest way to do this is to get the latest fsck, umount, và shutdown commands, available in Rik
Faith’s [util-linux] package (“FTP của Linux ở đâu?”) You have to make sure that your [/etc/rc*/] scripts
use them correctly.

NB: Don’t try to check a file system that’s mounted read/write. This includes the root partition if you
don’t see

VFS: mounted root ... read-only

at boot time. You must arrange to mount the root file system read/only to start with, check it if
necessary, và then remount it read/write. Almost all những bản phân phối do this. If your’s doesn’t, read
the documentation that comes with [util-linux] to find out how to do this.

Note that you need to specify the -n option to mount so it won’t try to update [/etc/mtab], since the root
file system is still read-only, và this will otherwise cause it to fail.

H:

EXT2-fs warning: maximal count reached

Đ:

This message is issued bởi the kernel when it mounts a file system that’s marked as clean, but whose

"number of mounts since check" counter has reached the predefined value. The solution is to get the
latest version of the ext2fs utilities ([e2fsprogs-0.5b.tar.gz] tại the time of writing) from the usual sites.
(“FTP của Linux ở đâu?”)

The maximal number of mounts value can be examined và changed using the tune2fs program from this
package.

H:

EXT2-fs warning: checktime reached

(Cảnh báo EXT2-fs: đã đến lúc phải kiểm tra)

Đ:

Kernels from 1.0 onwards support checking a file system based on the elapsed time since the last

check as well as bởi the number of mounts. Get the latest version of the ext2fs utilities. (“EXT2-fs
warning: maximal count reached

”)

H: df

kêu rằng, “

Cannot read table of mounted file systems

(Không thể đọc bảng hệ thống

tập tin đã gắn kết).”

Đ:

There is probably something wrong with your [/etc/mtab] or [/etc/fstab] files. If you have a

reasonably new version of mount, [/etc/mtab] should be emptied or deleted tại boot time (in
[/etc/rc.local] or [/etc/rc.d/*]), using something like

$ rm -f /etc/mtab*

66

Liên Kết Chia Sẽ

** Đây là liên kết chia sẻ bới cộng đồng người dùng, chúng tôi không chịu trách nhiệm gì về nội dung của các thông tin này. Nếu có liên kết nào không phù hợp xin hãy báo cho admin.