|
Problem Description:
Since the test environment by export dmp too large, but requires imported to the production server as soon as possible, please open up the network firewall and found room for the test network to your production network and 100M 1000M can not play any role, even through networklink efficiency is too low, taking into account under the two devices can not be far away from the physical location of a Gigabit line directly connected, the final choice by moving the hard disk as a transit transmission medium.
solution:
Linux will complain when you mount the NTFS format hard disk unknown filesystem type 'ntfs', then you need to use third-party plug NTFS-3G to load the NTFS-formatted drives. Wherein the NTFS-3G is an open source software that supports read and write NTFS format under Linux, FreeBSD, Mac OS X, NetBSD, Haiku operating system partition. The main steps are as follows:
1. Install gcc compiler environment, etc. (if ready)
2. Download and install NTFS-3G (recommended stable version)
3. Installation Procedure (root user)
tar -xvzf ntfs-3g_ntfsprogs * .tgz
cd ntfs-3g_ntfsprogs *
./configure
make
make install
4. Check the NTFS hard disk partition information (sd * 1 Note that the actual situation)
fdisk -l
---------------------------------
Device Boot Start End Blocks Id System
/ Dev / sdg1 2048 1953525163 976761558 7 HPFS / NTFS / exFAT
4. Mount the partition
mkdir / mnt / ntfs
mount -t ntfs-3g / dev / sdg1 / mnt / ntfs
# Mount partition is completed, this time into the / mnt / ntfs directory, that is, mobile hard disk partition
5. Uninstall partition
umount / dev / sdg1
6. The boot automatically mount removable hard disk, edit / etc / fstab file
# Changes before you make a backup
cp / etc / fstab / etc / fstabbak
# Edit, add at the end the following information to mount the disk to read and write
vi / etc / fstab
---------------------------------
/ Dev / sdg1 / mnt / ntfs ntfs-3g defaults 0 0
# Save and exit
: X
# Restart the machine will automatically mount removable hard disk
7. unmounted umount when there are suggested:
device is busy.
# Workaround: fuser
# Which can display the current program on the disk using a file, mount point, or even a network port, and gives detailed information about the program processes.
fuser -m -v / media / SLES100_001
---------------------------------
USER PID ACCESS COMMAND
/ Media / SLES100_001: root 8153 ..c .. bash
# You can then add a parameter to -k process takes to get rid of!
fuser -m -k / media / SLES100_001
---------------------------------
/ Media / SLES100_001: 8153c |
|
|
|