[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <20090918211100.GG2537@webber.adilger.int>
Date: Fri, 18 Sep 2009 15:11:00 -0600
From: Andreas Dilger <adilger@....com>
To: Francesco Pretto <ceztkoml@...il.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: Does ext4 perform online update of the bad blocks inode?
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists