redhat 7.4 挂载ntfs格式的u盘并且使用
公司内网,需要导出大文件,网络限制,所以只能通过移动硬盘下载
redhat使用存储分区都得先挂载才能使用,默认不支持ntfs格式,需要下载相关工具:ntfs-3g
在以下链接处下载即可,根据自己的版本以及架构自行选择下载(我自己的是x86_64架构)
https://developer.aliyun.com/packageSearch?word=ntfs-3g
包名如下
ntfs-3g.x86_64
ntfs-3g-devel.x86_64
[root@localhost ~]# mkdir /mnt/ukey
[root@localhost ~]# mount -t ntfs-3g /dev/sdc1 /mnt/ukey
我安装过程中好巧不巧的遇到一个问题,如下
linux下FTP的工具和使用以及rpmReadSignature failed错误
安装rpm文件时提示rpmReadSignature failed 错误
现象:
[root@localhost augusite]# rpm -ivh ntfs-3g-2017.3.23-11.el7.x86_64.rpm
error: ntfs-3g-2017.3.23-11.el7.x86_64.rpm: rpmReadSignature failed: region trailer: BAD, tag 15872 type 2047 offset 28672 count 4096
error: ntfs-3g-2017.3.23-11.el7.x86_64.rpm cannot be installed
[root@localhost augusite]# rpm -ivh ntfs-3g-2017.3.23-11.el7.x86_64.rpm
error: ntfs-3g-2017.3.23-11.el7.x86_64.rpm: rpmReadSignature failed: region trailer: BAD, tag 15872 type 2047 offset 28672 count 4096
error: ntfs-3g-2017.3.23-11.el7.x86_64.rpm cannot be installed
[root@localhost augusite]# rpm -ivh ntfs-3g-devel-2017.3.23-11.el7.x86_64.rpm
error: ntfs-3g-devel-2017.3.23-11.el7.x86_64.rpm: rpmReadSignature failed: region trailer: BAD, tag 15872 type 2047 offset 28672 count 4096
error: ntfs-3g-devel-2017.3.23-11.el7.x86_64.rpm cannot be installed
error: ntfs-3g-devel-2017.3.23-11.el7.x86_64.rpm: rpmReadSignature failed: region trailer: BAD, tag 15872 type 2047 offset 28672 count 4096
error: ntfs-3g-devel-2017.3.23-11.el7.x86_64.rpm cannot be installed
【解决方法】
1、检查下载使用的安装包、压缩包是否完整,否则从正规的镜像战点重新下载;
2、一般新手可能是由于用ftp上载到Linux上时没有用binary模式造成的。需要在ftp>binary转变为二进制方式传输。
1、检查下载使用的安装包、压缩包是否完整,否则从正规的镜像战点重新下载;
2、一般新手可能是由于用ftp上载到Linux上时没有用binary模式造成的。需要在ftp>binary转变为二进制方式传输。
刚好我碰到的就是第二个原因造成的,需要重传rpm包
操作如下:ftp ftpserver_ip 输入用户名密码登录之后 ftp> binary(切换成binary模式) 200 Switching to Binary mode. ftp> hash(打开哈希,也就是显示过程) Hash mark printing on (1024 bytes/hash mark). ftp> get ntfs-3g-2017.3.23-11.el7.x86_64.rpm
重新安装没有报错
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· 字符编码:从基础到乱码解决
· Open-Sora 2.0 重磅开源!