Ubuntu 磁盘挂载错误
2024-08-31 09:36:47
一、错误
报错原因:
在删除或者复制移动时,磁盘或者u盘等外接硬件设备,忽然掉落(断掉,接口松动),在次挂载磁盘时就会出现错误
错误日志:
$MFTMirr does not match $MFT (record ).
Failed to mount '/dev/sdc1': 输入/输出错误
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
二、解决方法
简单解决:
linux ~ # ntfsfix /dev/sdc1
Mounting volume... $MFTMirr does not match $MFT (record ).
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... FAILED
Correcting differences in $MFTMirr record ...OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/sdc1 was processed successfully.
重新插入磁盘:
linux ~ # df -hT
文件系统 类型 容量 已用 可用 已用% 挂载点
udev devtmpfs .9G .9G % /dev
tmpfs tmpfs 383M 9.4M 374M % /run
/dev/sda1 ext4 459G 70G 366G % /
tmpfs tmpfs .9G 21M .9G % /dev/shm
tmpfs tmpfs 5.0M .0K 5.0M % /run/lock
tmpfs tmpfs .9G .9G % /sys/fs/cgroup
/dev/sdb1 ext4 .3G 213M .6G % /boot
cgmfs tmpfs 100K 100K % /run/cgmanager/fs
tmpfs tmpfs 383M 383M % /run/user/
tmpfs tmpfs 383M 16K 383M % /run/user/
/dev/sdc1 fuseblk 932G 161G 772G % /media/linux/Seagate Backup Plus Drive
重新挂载之后就ok了
最新文章
- RESTful API URI 设计: 查询(Query)和标识(Identify)
- 如何使用查尔斯代理抓取https请求
- replace和replaceAll
- Maven-搭建普通maven项目
- OFM管理
- Linq查询操作之投影操作
- poj 1179 Polygon
- SQL 2005 日志损坏的恢复方法
- ubuntu开机自启动脚本编写
- VIM技巧(2)-删除匹配行
- SAE 上传根目录不存在!请尝试手动创建:./Uploads/Picture/
- Log4Qt 使用(一)
- iOS 在下面 AOP 程序
- Bootstrap入门(九)组件3:按钮组
- Java基本类型和引用类型
- Vue(三十一)轮播组件
- Linux安装Tomcat-Nginx-FastDFS-Redis-Solr-集群——【第九集-补充-之安装mariadb】
- Python网络编程之Socket的简单实现
- git库上传
- PHP SMTP邮件发送(可加附件)