Gordon Henderson wrote:
On Tue, 5 Sep 2006, Steve Cousins wrote:
[snip]
and my weekly badblocks script looks like:
#!/bin/csh
echo "`uname -n`: Badblocks test starting at [`date`]"
foreach disk ( a c )
foreach partition ( 1 2 3 5 6 )
echo -n "hd$disk${partition}: "
badblocks -c 128 /dev/hd$disk$partition
end
echo ""
end
echo "`uname -n`: Badblocks test ending at [`date`]"
[snip]
Maybe I'm missing something, but are these partitions mounted? Here's what I
get when I do this on a mounted partition:
[root@paul ~]# badblocks -nsv /dev/md0
/dev/md0 is mounted; it's not safe to run badblocks!
If you are running RAID, is it safe to run badblocks on the underlying partition?
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html