Error Mounting NTFS Partition In Fedora

Error mounting /dev/sdb2 at …..(Number after sdb represents partition number)
Failed to mount ‘/dev/sdb2’: Input/output error NTFS is either inconsistent, or there is a hardware fault, or it’s a SoftRAID/FakeRAID hardware.

Solution from terminal.

[root@localhost ~]# ntfsfix /dev/sdb2 (sudo ntfsfix /dev/sdb2 if not using root account)
Mounting volume… $MFTMirr does not match $MFT (record 0).
Attempting to correct errors…
Processing $MFT and $MFTMirr…
Reading $MFT… OK
Reading $MFTMirr… OK
Comparing $MFTMirr to $MFT… FAILED
Correcting differences in $MFTMirr record 0…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/sdb2 was processed successfully.

Partition should be mountable from now on.