Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to mount Input/output error #1463

Open
LogWell opened this issue Jan 13, 2025 · 0 comments
Open

Failed to mount Input/output error #1463

LogWell opened this issue Jan 13, 2025 · 0 comments
Labels

Comments

@LogWell
Copy link

LogWell commented Jan 13, 2025

中文
我在ubuntu系统中挂载了一个机械硬盘,里面有备份的数据src,然后用vercrypt创建了一个加密盘dst,用代码将src复制到dst,隔了几个小时后我发现机器卡死(可能是硬件故障),强制重启后出现如下错误,请问该如何解决?
注:我的电脑只安装了ubuntu系统

English
I mounted a HDD in the Ubuntu system. There is backed up data src in it. Then I created an encrypted disk dst with Veracrypt. I used code to copy src to dst. After a few hours, I found that the machine was frozen (possibly due to hardware failure). After a forced restart, the following error occurred. How can I solve this problem?
Note: Only the Ubuntu system is installed on my computer.

import subprocess


def rsync_sync(path_src, path_dst):

    rsync_command = [
        "rsync",
        "-av",
        "--delete",
        "--exclude=TempDY/*",
        path_src + '/',
        path_dst,
    ]

    try:
        subprocess.run(rsync_command, check=True)
        print("Sync completed successfully.")
    except subprocess.CalledProcessError as e:
        print(f"Sync failed: {e}")


if __name__ == "__main__":
    path_src = '[...]/backup/archive-20241222'
    path_dst = '/media/veracrypt1/archive-20241222'
    rsync_sync(path_src, path_dst)

image

image

VeraCrypt_001

$MFTMirr does not match $MFT (record 0).
Failed to mount '/dev/mapper/veracrypt1': 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.
@LogWell LogWell added the bug label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant