CentOS system mounts NTFS removable hard disk

Source: Internet
Author: User

Sometimes, in order to migrate large amounts of data quickly, it is possible to temporarily mount NTFS-formatted mobile hard disks on Linux servers, in general, Linux can not recognize the NTFS-formatted mobile hard disk (need to recompile Linux core talent, add NTFS partition), To enable Linux servers to recognize NTFS-enabled mobile hard disks, you must install ntfs-3g (third Generation read/write NTFS Driver) packages.

NTFS-3G Introduction
NTFS-3G is an Open-source project, ntfs-3g is for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems to provide a stable, full-featured, Read and write to NTFS drivers. It provides a secure handling of the NTFS file system under Windows Xp,windows Server 2003,windows 2000,windows vista,windows Server 2008 and the Windows 7 operating system.

NTFS-3G is an open-source software that supports reading and writing NTFS-formatted partitions under Linux. It's very fast and safe at the same time. It supports Windows 2000, XP, 2003, and Vista, and supports all POSIX-compliant disk operations. The purpose of NTFS-3G is to continue to evolve, the hardware platform and operating system users need reliable interoperability and support NTFS-driven, NTFS-3G can provide a trusted, full-featured high-performance solutions. After more than 12 years of development, NTFS-3G has gradually stabilized;

Information about

Official website: http://www.tuxera.com/,
Documentation Manual: http://www.tuxera.com/community/ntfs-3g-manual/
Download Address: http://www.tuxera.com/community/ntfs-3g-download/

Step one: Unpack and install ntfs-3g.

Tar-xvzf ntfs-3g_ntfsprogs-2012.1.15.tgz

CD ntfs-3g_ntfsprogs-2012.1.15

Performing the installation process is as follows:
./configure
Make
Make install
After that, the system prompts for a successful installation, and ntfs-3g can be used to read and write to the NTFS partition.

Step Two: Configure the NTFS-mounted mobile hard disk to get information about the NTFS partition first
sudo fdisk-l | grep NTFS

[root@db-server klb]# sudo fdisk-l | grep NTFS
/DEV/SDC1 * 1 244 1955776+ 7 Hpfs/ntfs Set mount point, Mount is implemented with the following command
Mount-t ntfs-3g

For example, the resulting NTFS partition information is/DEV/SDC1, and the mount point is set under/MNT/USB and can be
Mount-t Ntfs-3g/dev/sdc1/mnt/usb
or use it directly.
NTFS-3G Ntfs-3g/dev/sdc1/mnt/usb

If you want to enable automatic mount, you can add the following format statement inside the/etc/fstab
ntfs-3g Silent,umask=0,locale=zh_cn.utf8 0 0
This enables the display of Chinese file names in NTFS partitions.

The uninstall partition can be implemented with Umount, using the
Umount or Umount.
Author: The Hermit of Xiaoxiang
Source: http://www.cnblogs.com/kerrycode/

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.