惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Darknet – Hacking Tools, Hacker News & Cyber Security
V
Vulnerabilities – Threatpost
Cloudbric
Cloudbric
G
GRAHAM CLULEY
S
Securelist
Schneier on Security
Schneier on Security
Help Net Security
Help Net Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
Spread Privacy
Spread Privacy
P
Privacy International News Feed
C
Cyber Attacks, Cyber Crime and Cyber Security
Cisco Talos Blog
Cisco Talos Blog
T
Tailwind CSS Blog
博客园_首页
有赞技术团队
有赞技术团队
Simon Willison's Weblog
Simon Willison's Weblog
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Latest news
Latest news
T
Tor Project blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Attack and Defense Labs
Attack and Defense Labs
www.infosecurity-magazine.com
www.infosecurity-magazine.com
O
OpenAI News
J
Java Code Geeks
T
Tenable Blog
K
Kaspersky official blog
AWS News Blog
AWS News Blog
S
Security @ Cisco Blogs
The GitHub Blog
The GitHub Blog
T
Threatpost
月光博客
月光博客
H
Heimdal Security Blog
Security Latest
Security Latest
The Hacker News
The Hacker News
Y
Y Combinator Blog
A
Arctic Wolf
Apple Machine Learning Research
Apple Machine Learning Research
C
Cisco Blogs
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
C
CERT Recently Published Vulnerability Notes
D
Docker
Google Online Security Blog
Google Online Security Blog
D
DataBreaches.Net
V
Visual Studio Blog
H
Help Net Security

博客园 - [曾恩]

IIS7根据PID查找对应的站点 CentOS 6.4 i386 版本安装 FastDFS、使用Nginx作为文件访问WEB服务器 Mysql导出表结构、表数据 编译器错误消息: CS0016: 未能写入输出文件“c:/Windows/Microsoft.NET/Framework/v4.0.50727/Temporary ASP.NET Files/root .... 拒绝访问。 LVS + KEEPALIVED + WINDOWS SERVER 2008 R2 ------高可用负载均衡 windows中IIS7配置PHP(FastCGI模式-PHP在IIS下运行最高效最稳定的模式) 因为数据库正在使用,所以无法获得对数据库的独占访问权 SQL 2005 / SQL 2008 bit(位)、byte(字节)、字符、英文字母、中文 HTML常用字符串替换 获取包含中文字符串的长度、截取包含中文的字符串 设置winform中webBrower控件所使用的IE版本 C#中的类修饰符 partial 在windows下安装环回适配器(Microsoft Loopback Adapter) Linux(CentOS)安装分区方案 Linux(CentOS)日常操作命令 Linux(CentOS)目录操作命令、文件操作命令、压缩解压缩命令 windows server 2003 运行 asp.net MVC MySql命令行下导出、导入数据 SQL中的循环、for循环、游标
Linux(CentOS)挂载移动硬盘,实现文件拷贝、备份
[曾恩] · 2011-09-01 · via 博客园 - [曾恩]

常常我们需要备份服务器上的某些数据,今天在这里跟大家分享一下如何使用移动硬盘备份CentOS上的文件。

一、挂载移动硬盘(挂载NTFS格式分区)

 1. 安装ntfs3g工具

  • 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.  挂载(可以使用多种命令进行挂载,蓝色代表要挂载的移动硬盘,绿色代表挂载到CentOS上某个盘符)

    命令一:ntfs-3g /dev/sdb1 /mnt/windows -o locale=ar_SA.UTF-8,红色部分也可改为zh_CN.GBK,很明显,使用某种编码进行挂载,防止出现乱码;

    命令二:mount -t ntfs-3g /dev/sdb1 /mnt/windows

    补充:如何找到要挂载的移动硬盘?请使用命令 fdisk -l 进行查看,取消挂载:umount /mnt/windows


二、挂载移动硬盘错误解决办法

 1. FATAL: Module fuse not found.(这是由于系统默认的内核并不支持FUSE模块,所以要更新内核)

  • modprobe fuse(此命令是用来查看系统是否支持FUSE)
  • uname –r(查看系统的内核版本)
  • yum install kernel*(更新系统内核)
  • shutdown -r now(重启计算机)
  • 使用modprobe fuse命令查看系统是否支持FUSE,若不再显示FATAL: Module fuse not found,表示您可以使用ntfs3g进行移动硬盘挂载了

三、文件拷贝(文件拷贝就很简单了)

  • cp -r /web /mnt/windows (将CentOS中web目录下所有文件拷贝到/mnt/windows下,即拷贝到我们刚刚挂载的移动硬盘上)