I have ubuntu 14.04 installed on a 256Gb SSD (Sandisk). The drive is partitioned to 120 GB (with OS) and the rest as a secondary Data partition. The Data partition has started having I/O problems this morning. Both partitions are Ext4 (version 1). I have run badblocks and it found 20. Is is worth formatting the dodgy partition?
Work out the exact drive name if you are not sure from Disks. In my example the assessment says
one bad sector
- Under volumes the device name is /dev/sdb2
- The file system is ext4
- The drive must be unmounted
Run> fsck.ext4 -f -C0 /dev/sdb2 (if you don't want to be prompted all the time add the -y option)
Note: After running this command I can use the drive although I seem to have lost a few files.