Often we need to back up some of the data on the server, and today we are here to share with you how to use the removable hard disk to back up the files on the CentOS.
One, mount the removable hard disk (Mount NTFS format partition)
1. Install ntfs3g tools wget http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2011.4.12.tgz tar zxf ntfs-3g_ Ntfsprogs-2011.4.12.tgz CD ntfs-3g_ntfsprogs-2011.4.12./configure--prefix=/usr/local/ntf3g Make&&make Install
2. Mount (can be mounted using a variety of commands, blue represents the removable hard disk to be mounted, and the green represents a mount to a centos on the letter)
Command one: Ntfs-3g/dev/sdb1/mnt/windows-o Locale=ar_sa. UTF-8, the red part can also be changed to ZH_CN. GBK, it is obvious that the use of some kind of coding to mount, to prevent the occurrence of garbled;
Command two: Mount-t ntfs-3g/dev/sdb1/mnt/windows
Add: How to find the removable hard disk to be mounted. Please use the command fdisk-l to view and cancel the mount: umount/mnt/windows
second, mounted mobile hard disk error solution
1. Fatal:module fuse not found. (This is because the default kernel of the system does not support fuse modules, so update the kernel) modprobe fuse (This command is used to see if the system supports fuse) uname–r (view the kernel version of the system) Yum Install kernel* (update system kernel) SHUTDOWN-R now (restart computer) use the modprobe fuse command to see if the system supports fuse, and if you no longer show fatal:module fuse not found, you can enable Using NTFS3G to move the hard drive to mount the
Third, the file copy (the file copy is very simple) cp-r/web/mnt/windows (copy all files under the CentOS Web directory to/mnt/windows, that is, copy to the mobile hard disk we just mounted)