Today I encountered a strange problem with fedora-15. When I plugged-in USB disk to my laptop, the USB disk failed to auto-mount and showed error “Unable to mount device, Input/Output Error”. I tried to mount manually in terminal using:
#sudo mount -t vfat --rw /dev/sdb1 /media
It showed me no error and mount the USB disk also, but when I was trying to copy any directory or file in mounted USB disk, it showed error that the disk is read-only. I searched some forums and websites and found a solution that since the disk was formatted with FAT partition so I should format the disk in Windows first then try to mount the disk again in fedora 15. Although I didn’t have any Windows machine, but anyhow I managed a Windows system to format the USB disk. But I was still facing the same problem.
I tried to list the device using fdisk utility and it showed me nothing mischievous.
#sudo fdisk -l /dev/sdb Disk /dev/sdb: 2034 MB, 2034236416 bytes 63 heads, 62 sectors/track, 1017 cylinders, total 3973118 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0000f124 Device Boot Start End Blocks Id System /dev/sdb1 * 62 3972401 1986170 b W95 FAT32
Then I found a wired solution on a website. According to that solution, I should umount the disk improperly( without ejecting or Safely remove). Then I should re-insert the disk. I tried that solution also and magic happened. It worked perfectly for me.