On Sep 18, 2009 20:26 +0000, Francesco Pretto wrote: > Does ext4 update the bad blocks inode when a read/write failure is > detected in a mounted filesystem? If not, is safe a daily/weekly > "fsck.ext4 -n -c device" on a mounted filesystem? Would be safe even > on a raid volume? This isn't even safe on an UNMOUNTED filesystem, since "badblocks" by default does destructive testing of the block device. Since most disks will internally relocate bad blocks on writes, it is very unlikely that "badblocks" will ever find a problem on a new disk. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html