gene_x 0 like s 29 view s
Tags: workstation
jhuang@WS-2290C:/dev$ sudo mount /dev/sdg1 /media/jhuang/Elements $MFTMirr does not match $MFT (record 3). Failed to mount '/dev/sdg1': 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.
The error indicates an issue with the NTFS file system on /dev/sdg1. Specifically, it points to a corruption in the $MFT (Master File Table) or a potential hardware issue. This is a common problem when NTFS file systems are not properly shut down or there are issues during file system operations. Solutions to try:
Run chkdsk on Windows
Since the error specifically mentions running chkdsk /f on Windows, you can try the following:
Unmount the drive if it's currently mounted:
sudo umount /dev/sdg1
Use a Windows machine (or dual-boot with Windows) to check the NTFS file system.
Once you connect the drive to a Windows machine, open a Command Prompt as Administrator and run:
chkdsk /f X:
Replace X: with the actual drive letter corresponding to your NTFS partition.
After chkdsk finishes, restart Windows twice as suggested in the error message to ensure the system fully clears any issues.
Reconnect the drive to your Linux machine and try mounting it again:
sudo mount /dev/sdg1 /media/jhuang/Elements
Check for Hardware Issues
If chkdsk does not resolve the issue, there could be a problem with the hardware itself:
Use ntfsfix on Linux
If you do not have access to a Windows machine, you can try using ntfsfix, which is a tool available on Linux that can sometimes resolve minor NTFS inconsistencies. It's not as powerful as chkdsk but might help in some cases.
Install ntfs-3g (if not already installed):
sudo apt-get install ntfs-3g
Run ntfsfix:
sudo ntfsfix /dev/sdg1
Try mounting the partition again:
sudo mount /dev/sdg1 /media/jhuang/Elements
Check for RAID/FakeRAID Configuration
If you are using RAID or FakeRAID (software RAID) on the device, this can cause issues with mounting the NTFS partition. The error message mentions the possibility of a FakeRAID, so you may need to use dmraid or ensure that the RAID is properly set up.
Check RAID status:
sudo dmraid -s
If a RAID setup is detected, you might need to activate the RAID configuration and mount the device using /dev/mapper/, not directly via /dev/sdg1.
If you are unsure, refer to the documentation of your RAID setup for how to correctly mount the device.
Backup Data (if possible)
If the partition is still inaccessible after these steps, you may want to try data recovery tools like TestDisk or PhotoRec (both of which can handle NTFS partitions) to recover any important files before you attempt to format the drive.
Summary:
点赞本文的读者
还没有人对此文章表态
没有评论
© 2023 XGenes.com Impressum