Re: Care and feeding of RAID?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux