The attached program can be used as follows: python badblock.py <device> <lba>
For example, where smartctl reports an "LBA_of_first_error" of 12345678: python badblock.py /dev/sda 12345678 This should report one of the following things if successful: Bad block corresponds to file: <filename> Bad block does not correspond to any file. Adding --fix to the end of the command line zeros the affected block. Use this at your own risk! ** Attachment added: "Python program used to identify and "fix" bad blocks on partitions using ext2/3 filesystems." http://launchpadlibrarian.net/37393019/badblock.py ** Changed in: linux (Ubuntu) Status: New => Invalid -- Persistent SATA errors possibly indicating disk fault disappeared with new kernel https://bugs.launchpad.net/bugs/493819 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
