Mount NTFS mobile hard drive to CentOS

Source: Internet
Author: User
Sometimes, in order to quickly migrate big data during migration of large data volumes, it is possible to temporarily mount a mobile hard disk in NTFS format on a Linux server. generally, linux does not recognize NTFS-format mobile hard disks (Linux core needs to be recompiled to Mount NTFS partitions). at this time, in order to allow Linux servers to recognize NTFS mobile hard disks, NTFS-3G (ThirdGenerationRead/WriteNTFSDriv

Sometimes, in order to quickly migrate big data during migration of large data volumes, it is possible to temporarily mount a mobile hard disk in NTFS format on a Linux server. generally, linux does not recognize NTFS-format mobile hard disks (Linux core needs to be recompiled to Mount NTFS partitions). at this time, in order to allow Linux servers to recognize NTFS mobile hard disks, the package of the NTFS-3G (Third Generation Read/Write NTFS Driver) must be installed.

About NTFS-3G
NTFS-3G is an open source project, NTFS-3G is a stable and fully functional for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems, read and write the NTFS driver. It provides the NTFS file system for secure processing of Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008, and Windows 7 operating systems.

NTFS-3g is an open source software that supports reading and writing NTFS format partitions under Linux. It is fast and secure. It supports Windows 2000, XP, 2003, and Vista, and supports all POSIX-compliant disk operations. NTFS-3G is designed for continuous development, users of various hardware platforms and operating systems need reliable intercommunication and support ntfs driver, NTFS-3G provides a trusted, functional, high-performance solution. After more than 12 years of development, NTFS-3G has gradually stabilized;

Introduction

Http://www.tuxera.com /,
Documentation: http://www.tuxera.com/community/ntfs-3g-manual/
: Http://www.tuxera.com/community/ntfs-3g-download/


Step 1: unzip the installation NTFS-3G.

Tar-xvzf ntfs-3g_ntfsprogs-2012.1.15.tgz

Cd ntfs-3g_ntfsprogs-2012.1.15

The installation process is as follows:
./Configure
Make
Make install
After the system will prompt that the installation is successful, the following can be used to achieve the NTFS partition read and write the NTFS-3G.

Step 2: Configure and mount a mobile hard drive in NTFS format


1. obtain the NTFS partition information first.
Sudo fdisk-l | grep NTFS

[Root @ DB-Server klb] # sudo fdisk-l | grep NTFS
/Dev/sdc1*1 244 1955776 + 7 HPFS/NTFS

2. set the mount point and run the following command to mount
Mount-t NTFS-3G

For example, if the NTFS partition information is/dev/sdc1 and the Mount point is set to/mnt/usb, you can use
Mount-t NTFS-3G/dev/sdc1/mnt/usb
Or directly use
NTFS-3G NTFS-3G/dev/sdc1/mnt/usb

3. to enable automatic mounting upon startup, add the following format statement in/etc/fstab:
   NTFS-3G silent, umask = 0, locale = zh_CN.utf8 0 0
In this way, the Chinese file name in the NTFS partition can be displayed.

4. you can use umount to detach a partition.
Umount Or umount

Author: Xiaoxiang hidden 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.