Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

best practices using LVM and e2fsck



Edward Ned Harvey wrote:
> ...I'm not aware of anything like a scrub in linux.
> What are you talking about?  Resilver?  Fsck?

Debian mdadm packages include a /usr/share/mdadm/checkarray script that
runs from cron monthly. It does (typically):

for array in $arrays; do
    echo "check" > /sys/block/$array/md/sync_action
done

Quoting md(4):

  md/sync_action
    This can be used to monitor and control the resync/recovery process
    of MD. In particular, writing "check" here will cause the array to
    read all data block and check that they are consistent (e.g.  par-
    ity is correct, or all mirror replicas are the same).  Any
    discrepancies found are NOT corrected.

 -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org