The ext4 module exists on the CentOS5.x system, but is not loaded into the content by default. Root@server110.com ~ # Cd/lib/modules/2.6.18-164. el5/kernel/fs/ext4/[root@server110.comext4] # lltotal256-rwxr -- r -- 1rootroot25 ext4 module in CentOS 5. x systems exist, but are not loaded into the kernel by default.
Root@server110.com ~ # Cd/lib/modules/2.6.18-164. el5/kernel/fs/ext4/
[Root@server110.com ext4] # ll
Total 256
-Rwxr -- r -- 1 root 253768 Sep 3 2009 ext4.ko
This is the ext4 module. execute the following command to load it into the kernel.
Modprobe ext4
(Note: ext4, not ext4.ko)
View with lsmod
[Root@server110.com ext4] # lsmod | grep ext4
Ext4 243693 0
Jbd2 58329 1 ext4
Crc16 6209 1 ext4
Loaded successfully.
However, modprobe is only loaded in this operation and will not be automatically loaded at next boot. Therefore, you need to write the LOAD command
/Etc/rc. sysinit file.
Echo "modprobe ext4">/etc/rc. sysinit
Although the ext4 module is loaded to the kernel, there are no commands related to ext4 in the system. you need to install them on your own and execute the following commands.
Yum-y install e4fsprogs
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service