Monday, August 6, 2012

Failed to read NTFS $Bitmap: Input/output error

  • ERROR:
    Error mounting /dev/sdb2 at /run/media/user/Study: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb2" "/run/media/user/Study"' exited with non-zero exit status 13: ntfs_attr_pread_i: ntfs_pread failed: Input/output error
    Failed to read NTFS $Bitmap: 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.
  • REASON:

    This is due to fragmentation problem of the NTFS partition
  • SOLUTION:
    • Windows - Run command prompt in Administrative mode
      run following command:

      chkdsk /r f:
      (help - command manual )

      (if partition is "F")
    • Linux (fedora/ubuntu) - install "ntfsprogs" package
      Run following command:
      $ ntfsck /dev/sda1    #If your partition is /dev/sda11