admin管理员组

文章数量:1531657

操作步骤如下

插入移动硬盘
  1. 如果出现错误"unenable read rdb block 0",请直接重启Linux,重启之后请迅速进行以下的挂载操作,不然一会就无法读取了。
挂载移动硬盘
  1. 寻找移动硬盘的名称。一般是最后一个且带有sdb。如果没有读出来,请重启试一下。
fdisk -l
  1. 挂载移动硬盘/dev/sdb1
mount /dev/sdb1 /media

        若挂载时出现以下错误

Failed to mount '/dev/sdb1': Input/output error
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.

        执行以下命令之后再挂载

sudo ntfsfix /dev/sdb1
  1. 传输完成之后,卸载/media。敲完该命令需要等一会。最好传输压缩文件,不然这里要等很久。
umount /dev/sdb1

        如果挂载目录正在操作,出现情况“umount: /media: target is busy”,首先请退出挂载目录,然后执行以下命令

umount -l /dev/sdb1 #延迟卸载,等目录不忙再卸载

        强制卸载有风险,文件读不出来

umount -f /dev/sdb1

本文标签: 移动硬盘Linux