How to mount a CentOS mirrored file in an NTFS partition file under CentOS

Source: Internet
Author: User
Tags centos

Mount NTFS partitions under CentOS presumably everyone is familiar with it, this is the use of our ntfs-3g

Installation Method 1 Yum install fuse ntfs-3g-y

Note: Fuse for small core, ntfs-3g is my need,-Y to agree to install, no-y words also have no effect, only when installed he will prompt you to agree, and installation of the path.

Installation Method 2.

ntfs-3g download page: http://www.tuxera.com/community/ntfs-3g-download/

Installation steps:

wget http://tuxera.com/opensource/ntfs-3g-2010.8.8.tgz

Tar zxvf ntfs-3g-2010.8.8.tgz

CD ntfs-3g-2010.8.8

./configure

Make

Make install

Choose one of the two.

3. Create mount points such as Mkdir/mnt/winc

4. Mount an NTFS partition fdisk-l view the partitions that need to be mounted [dg@localhost ~]$ sudo fdisk-l

[sudo] password for DG:

disk/dev/sda:500.1 GB, 500107862016 bytes

255 heads, Sectors/track, 60801 cylinders

Units = Cylinders of 16065 * 8225280 bytes

Sector size (logical/physical): bytes/4096 bytes

I/O size (minimum/optimal): 4096 bytes/4096 bytes

Disk identifier:0x2aec8857 Device Boot Start end Blocks Id System

/DEV/SDA1 * 1 1722 13824000 unknown/dev/sda2 1722 17198 124312576 7 HP Fs/ntfs/dev/sda3 17198 31964 118612992 7 hpfs/ntfs/dev/sda4 31965 60802 23163392       0 F W95 Ext ' d (LBA)/dev/sda5 31965 45111 105596928 7 Hpfs/ntfs/dev/sda6 45111 55554 83887072+ 7 Hpfs/ntfs

Partition 6 does not start on physical sector boundary./dev/sda7 55554 60802 42148832+ Linux

Partition 7 does not start on physical sector boundary.

Like I'm going to mount/dev/sda3.

Mount-t Ntfs-3g/dev/sda3/mnt/winc with an order.

If you want to mount automatically, modify the configuration file Fstab,

Command Vim/etc/fstab

That's what happens when I'm in. I modified the/dev/sda3. Save the exit on the line

#/etc/fstab

# Created by Anaconda on Mon Aug 27 00:40:07 2012

#

# Accessible filesystems, by reference, are maintained under '/dev/disk '

# to the man pages Fstab (5), Findfs (8), mount (8) and/or Blkid (8) for more info

#

UUID=C5CEF94D-8C10-418A-90AC-BEB1D9ACAEBE/EXT4 Defaults 1 1

TMPFS/DEV/SHM TMPFS Defaults 0 0

Devpts/dev/pts devpts gid=5,mode=620 0 0

Sysfs/sys Sysfs Defaults 0 0

PROC/PROC proc Defaults 0 0

/dev/sda3/mnt/winc ntfs-3g Defaults 0 0

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.