1. First check the system kernel version [root @ localhost ~] # Uname-rp2.6.18-128.el5i686 2. Download package for kernel version to http://rpm.pbone.net search download, or to http://www.linux-ntfs.org download my kernel is 2.6.18-128. el5 download kernel-module-ntfs-2.6.18-128.el5i686 3,
I. first check the system kernel version
[Root @ localhost ~] # Uname-rp
2.6.18-128. el5 i686
2. Download a software package suitable for the kernel version
Go to http://rpm.pbone.net to search for download, or go to http://www.linux-ntfs.org to download
My kernel is 2.6.18-128. el5 download kernel-module-ntfs-2.6.18-128.el5 i686
3. Install the Rpm package
[Root @ localhost ~] # Rpm-ivh kernel-module-ntfs-2.6.18-128.el5-2.1.27-0.rr.10.11.i686.rpm
4. Load the ntfs module into the kernel
[Root @ localhost ~] # Modprobe ntfs
Check whether ntfs is correctly loaded
[Root @ localhost ~] # Dmesg | grep NTFS
NTFS driver 2.1.27 [Flags: R/w module].
If the above information appears, it should be correctly loaded.
5. view the ntfs partition on the hard disk by Mount
[Root @ localhost ~] # Mount-t ntfs/dev/sdb5/media/tools/
View:
[Root @ chinarhcx ~] # Df-h
File System capacity used available % mount point
/Dev/mapper/vg_chinarhcx-lv_root
4.9G 764 M 3.9G 17%/
/Dev/mapper/vg_chinarhcx-lv_home
9.7G 151 M 9.1G 2%/home
/Dev/mapper/vg_chinarhcx-lv_usr
4.9G 2.8G 1.9G 61%/usr
/Dev/mapper/vg_chinarhcx-lv_web
9.7G 151 M 9.1G 2%/web
/Dev/mapper/vg_chinarhcx-lv_data
20G 173 M 19G 1%/home/data
/Dev/sda3 99 M 13 M 82 M 14%/boot
Tmpfs 2.0G 0 2.0G 0%/dev/shm
/Dev/sdb5 50G 25G 25G 50%/media/tools
In this way, you can use files in the NTFS partition format under RHEL5.
Supplement: For linux that does not find a suitable kernel version, such as RHEL5.4 or later, the following method is used:
1. Download ntfs-3g
Http://www.tuxera.com/community/ntfs-3g-download/
2. Compile and install
Tar-xvzf ntfs-3g-*** .tar.gz
Cd ntfs-3g -***
./Configure
Make
Make install
3. Mount NTFS partitions
Mount-t ntfs-3g/dev/sdb5/mnt
Now NTFS supports read/write.